Function at 0x533d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x1184
call fcn.0076ede0
mov eax, dword [0x83a6f0]
push ebx
push ebp
push esi
push edi
mov edi, dword [0x798c04]
cmp eax, edi
mov esi, ecx
push 0x20
sete byte [esp + 0x2f]
call fcn.0076d5a7
mov edi, eax
xor ebp, ebp
add esp, 4
cmp edi, ebp
je 0x533d77
mov ebx, dword [0x83a6f4]
mov ebp, dword [0x83a6f0]
push ebx
push ebp
mov ecx, edi
call fcn.0049e970
imul ebp, ebx
shl ebp, 1
push ebp
push 0
lea ecx, [edi + 0x14]
mov dword [edi + 0xc], 0
mov dword [edi], vtable.XSurface.0
mov dword [edi + 0x10], 2
call fcn.00438140
mov dword [edi], vtable.BSurface.0
xor ebp, ebp
jmp 0x533d79
xor edi, edi
cmp edi, ebp
mov dword [esi + 0x5c], edi
je 0x534bfd
mov dx, word [0xa9e342]
mov cl, byte [0x83b2d4]
xor eax, eax
mov dword [esp + 0x64], ebp
mov al, dh
mov dword [esp + 0x68], ebp
shr eax, cl
mov ecx, dword [0x83b2d0]
shl eax, cl
xor ecx, ecx
mov cl, dl
mov edx, ecx
mov cl, byte [0x83b2dc]
shr edx, cl
mov ecx, dword [0x83b2d8]
shl edx, cl
xor ecx, ecx
mov cl, byte [0xa9e341]
or eax, edx
mov edx, ecx
mov cl, byte [0x83b2cc]
shr edx, cl
mov ecx, dword [0x83b2c8]
shl edx, cl
mov ecx, dword [0x83a6f0]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x64]
or eax, edx
mov edx, dword [0x83a6f4]
mov dword [esp + 0x30], eax
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x74], edx
mov edx, dword [edi]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x10]
cmp dword [0xa255a8], ebp
jne 0x534293
mov al, byte [esp + 0x2b]
test al, al
je 0x533e27
mov edx, dword [0xa255a0]
lea ebx, [edx + 0x23e0]
jmp 0x533e32
mov eax, dword [0xa255a0]
lea ebx, [eax + 0x2420]
cmp byte [ebx], 0
je 0x534bfd
mov dword [esi + 0x38], ebp
mov ecx, dword [0xa255a0]
add ecx, 0x2390
cmp byte [ecx], 0
je 0x533e63
push 0x239
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
call fcn.006eea10
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebp
mov edx, dword [0xa255a0]
mov al, byte [edx + 0x23af]
lea ecx, [edx + 0x23af]
test al, al
je 0x533e90
push 0x23d
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
call fcn.006eea10
mov dword [esi + 0x3c], eax
mov ecx, 0xa5e520
call fcn.006168e0
mov edx, dword [0x83a6f4]
mov ecx, dword [0x83a6f0]
mov edi, eax
push edi
call fcn.006e7390
mov edx, dword [0x83a6f4]
mov ecx, dword [0x83a6f0]
push edi
mov ebp, eax
call fcn.006e73b0
lea edx, [esi + 0x4c]
mov ecx, ebp
mov edi, eax
call fcn.00494f00
lea edx, [esi + 0x4e]
mov ecx, edi
mov dword [esi + 0x40], eax
call fcn.00494f00
lea edx, [esi + 0x4d]
mov ecx, ebx
mov dword [esi + 0x48], eax
call fcn.00494f00
mov dword [esi + 0x44], eax
call fcn.006e73e0
mov ebp, eax
call fcn.006e7400
mov ebx, eax
call fcn.006e7420
mov ecx, dword [esi + 0xc]
lea edi, [esi + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0x533f4a
xor edx, edx
xor ecx, ecx
push edx
push ecx
push edx
push edx
push 0x3e8
push edx
push edx
push edx
lea edx, [esp + 0x84]
push 0x400
lea ecx, [esp + 0x44]
push edx
push ecx
mov ecx, dword [esi + 0x5c]
push 0
push eax
mov edx, ebp
call fcn.0049ea80
jmp 0x533f5d
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x5c]
push eax
lea eax, [esp + 0x68]
mov edx, dword [ecx]
push edi
push eax
call dword [edx + 0x10]
mov ecx, dword [esi + 0x1c]
xor eax, eax
mov dword [esp + 0x24], ecx
xor ecx, ecx
push ecx
push eax
push ecx
push ecx
push 0x3e8
push ecx
push ecx
push ecx
lea edx, [esp + 0x84]
push 0x400
lea eax, [esp + 0x44]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
mov edx, ebx
push ecx
mov ecx, dword [esi + 0x5c]
call fcn.0049ea80
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x2c]
test eax, eax
mov dword [esp + 0x24], edx
je 0x533fd6
xor edx, edx
xor ecx, ecx
push edx
push ecx
push edx
push edx
push 0x3e8
push edx
push edx
push edx
lea ecx, [esp + 0x84]
push 0x400
lea edx, [esp + 0x44]
push ecx
mov ecx, dword [esi + 0x5c]
push edx
mov edx, dword [esp + 0x44]
push 0
push eax
call fcn.0049ea80
jmp 0x533fec
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x5c]
push edx
lea edx, [esi + 0x28]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x6c]
push edx
call dword [eax + 0x10]
mov ecx, dword [esi + 0xc]
mov eax, dword [edi]
add ecx, 0xa
add eax, 0xa
mov dword [esp + 0x24], ecx
mov ecx, 0xa5e520
mov dword [esp + 0x20], eax
call fcn.006168f0
mov edi, eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x534033
push 0x19
push 0
lea edx, [esp + 0x28]
push edi
push edx
mov edx, dword [esi + 0x5c]
lea ecx, [esp + 0x74]
push ecx
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004977d0
add esp, 0x20
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x534bfd
mov cl, byte [esp + 0x2b]
test cl, cl
mov ecx, dword [0xa255a0]
je 0x534063
mov edx, dword [ecx + 0x23d0]
mov ebx, dword [esi + 0x18]
add edx, ebx
mov dword [esp + 0x20], edx
mov ecx, dword [ecx + 0x23d4]
jmp 0x534078
mov edx, dword [ecx + 0x23d8]
mov ebx, dword [esi + 0x18]
add edx, ebx
mov dword [esp + 0x20], edx
mov ecx, dword [ecx + 0x23dc]
mov edx, dword [esi + 0x1c]
push eax
add ecx, edx
lea edx, [esp + 0x198]
push edx
mov dword [esp + 0x2c], ecx
call fcn.0076ec19
add esp, 8
lea eax, [esp + 0x2c]
lea ecx, [edi + 0x308]
push eax
call fcn.004fe400
mov cx, word [eax]
push 0x190
mov word [esp + 0x14], cx
mov cl, byte [0x83b2d4]
mov dl, byte [eax + 2]
mov byte [esp + 0x16], dl
mov edi, dword [esp + 0x16]
mov eax, dword [esp + 0x15]
and edi, 0xff
shr edi, cl
mov ecx, dword [0x83b2d0]
mov edx, dword [esp + 0x14]
and eax, 0xff
and edx, 0xff
shl edi, cl
mov cl, byte [0x83b2dc]
shr eax, cl
mov ecx, dword [0x83b2d8]
shl eax, cl
mov cl, byte [0x83b2cc]
shr edx, cl
mov ecx, dword [0x83b2c8]
or edi, eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], eax
shl edx, cl
lea eax, [esp + 0x58]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, dword [0x836d10]
or edi, edx
lea edx, [esp + 0x1a0]
push edx
call fcn.00431370
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
mov edx, dword [esi + 0x5c]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], edx
push 0x190
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x19c]
push ecx
mov ecx, dword [0x836d10]
push edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
call fcn.00431370
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov edx, ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], edx
mov edx, ebx
mov dword [esp + 0x48], edx
mov edx, 0xfffffffc
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], eax
call fcn.006e6a90
mov edx, dword [esp + 0x10]
push 0x9f
push 0
lea ecx, [esp + 0x4c]
call fcn.005f66f0
mov ecx, dword [esp + 0x3c]
mov eax, dword [0x836d10]
mov edx, dword [esp + 0x40]
add ecx, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], ecx
mov cx, word [0x83b2d0]
mov eax, edi
shr ax, cl
mov ecx, dword [0x83b2d4]
add edx, ebx
mov dword [esp + 0x50], edx
mov edx, edi
mov esi, dword [esi + 0x5c]
mov dword [esp + 0x44], ebp
shl al, cl
mov cx, word [0x83b2d8]
mov dword [esp + 0x48], ebx
shr dx, cl
mov ecx, dword [0x83b2dc]
push eax
mov eax, edi
shl dl, cl
mov cx, word [0x83b2c8]
shr ax, cl
mov ecx, dword [0x83b2cc]
push edx
shl al, cl
lea ecx, [esp + 0x34]
push eax
call fcn.00432c30
mov cx, word [eax]
push 0
mov word [esp + 0x1c], cx
push 0
mov dl, byte [eax + 2]
push 0
mov byte [esp + 0x26], dl
mov eax, dword [esp + 0x26]
mov ecx, dword [esp + 0x25]
mov edx, dword [esp + 0x24]
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
and edx, 0xff
shl eax, 8
push 0xc
or eax, edx
push 0
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x5c]
push eax
push ecx
lea edx, [esp + 0x1b4]
mov ecx, esi
call fcn.005f5bb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1184
ret
mov edx, dword [0xa27d8c]
mov ecx, dword [edx]
call fcn.00664d30
mov ecx, dword [0x798c04]
mov edi, eax
mov eax, dword [0x83a6f0]
mov dword [esp + 0x30], edi
cmp eax, ecx
mov eax, dword [0x7c9fdc]
je 0x5342bf
mov eax, dword [0x7c9fe0]
cmp edi, ebp
jne 0x5342d5
mov ecx, dword [str.ls_sustates.shp]
push eax
lea edx, [esp + 0x78]
push ecx
push edx
jmp 0x534364
cmp edi, 1
jne 0x5342e8
push eax
mov eax, dword [str.ls_skorea.shp]
lea ecx, [esp + 0x78]
push eax
push ecx
jmp 0x534364
cmp edi, 2
jne 0x5342f6
mov edx, dword [str.ls_sfrance.shp]
push eax
jmp 0x53435e
cmp edi, 3
jne 0x53430a
mov ecx, dword [str.ls_sgermany.shp]
push eax
lea edx, [esp + 0x78]
push ecx
push edx
jmp 0x534364
cmp edi, 4
jne 0x53431d
push eax
mov eax, dword [str.ls_sukingdom.shp]
lea ecx, [esp + 0x78]
push eax
push ecx
jmp 0x534364
cmp edi, 5
jne 0x53432b
mov edx, dword [str.ls_slibya.shp]
push eax
jmp 0x53435e
cmp edi, 6
jne 0x53433f
mov ecx, dword [str.ls_siraq.shp]
push eax
lea edx, [esp + 0x78]
push ecx
push edx
jmp 0x534364
cmp edi, 7
jne 0x534352
push eax
mov eax, dword [str.ls_scuba.shp]
lea ecx, [esp + 0x78]
push eax
push ecx
jmp 0x534364
cmp edi, 8
jne 0x53436c
mov edx, dword [str.ls_srussia.shp]
push eax
lea eax, [esp + 0x78]
push edx
push eax
call fcn.0076d684
add esp, 0xc
lea edx, [esi + 0x4d]
lea ecx, [esp + 0x74]
call fcn.00494f00
mov dword [esi + 0x44], eax
call fcn.006e7540
lea edx, [esi + 0x18]
lea ecx, [esp + 0x5c]
mov ebp, eax
call fcn.006e6a70
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov edx, dword [eax + 4]
xor eax, eax
push ecx
push eax
push ecx
push ecx
push 0x3e8
push ecx
push ecx
push ecx
lea eax, [esp + 0x84]
push 0x400
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x44]
push eax
push ecx
mov ecx, dword [esi + 0x5c]
push 0
push edx
mov edx, ebp
call fcn.0049ea80
mov ecx, 0xa5e520
call fcn.00616920
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [eax + 0x308]
call fcn.004fe400
mov dx, word [eax]
mov cl, byte [0x83b2d4]
mov word [esp + 0x10], dx
mov al, byte [eax + 2]
mov byte [esp + 0x12], al
mov ebp, dword [esp + 0x12]
mov edx, dword [esp + 0x11]
and ebp, 0xff
shr ebp, cl
mov ecx, dword [0x83b2d0]
mov eax, dword [esp + 0x10]
and edx, 0xff
and eax, 0xff
shl ebp, cl
mov cl, byte [0x83b2dc]
shr edx, cl
mov ecx, dword [0x83b2d8]
shl edx, cl
mov cl, byte [0x83b2cc]
shr eax, cl
mov ecx, dword [0x83b2c8]
or ebp, edx
shl eax, cl
or ebp, eax
test edi, edi
jne 0x534468
push 0x91
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:Americans
call fcn.006eea10
mov ebx, eax
jmp 0x53456b
cmp edi, 1
jne 0x53448a
push 0x93
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:Alliance
call fcn.006eea10
mov ebx, eax
jmp 0x53456b
cmp edi, 2
jne 0x5344ac
push 0x95
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:French
call fcn.006eea10
mov ebx, eax
jmp 0x53456b
cmp edi, 3
jne 0x5344ce
push 0x97
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:Germans
call fcn.006eea10
mov ebx, eax
jmp 0x53456b
cmp edi, 4
jne 0x5344ed
push 0x99
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:British
call fcn.006eea10
mov ebx, eax
jmp 0x53456b
cmp edi, 5
jne 0x53450c
push 0x9b
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:Africans
call fcn.006eea10
mov ebx, eax
jmp 0x53456b
cmp edi, 6
jne 0x53452b
push 0x9d
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:Arabs
call fcn.006eea10
mov ebx, eax
jmp 0x53456b
cmp edi, 7
jne 0x53454a
push 0x9f
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:Confederation
call fcn.006eea10
mov ebx, eax
jmp 0x53456b
cmp edi, 8
jne 0x534569
push 0xa1
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:Russians
call fcn.006eea10
mov ebx, eax
jmp 0x53456b
xor ebx, ebx
mov eax, dword [0x83a6f0]
mov ecx, dword [0x798c04]
cmp eax, ecx
jne 0x534586
mov ecx, 0x181
mov edi, 0x1b4
jmp 0x534590
mov ecx, 0x215
mov edi, 0x221
mov edx, dword [0x798c08]
cmp eax, edx
jl 0x5345b7
sub eax, edx
cdq
sub eax, edx
mov edx, dword [0x798c14]
sar eax, 1
add ecx, eax
mov eax, dword [0x83a6f4]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov eax, 0xc8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov eax, 0x14
lea edx, [esp + 0x34]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], eax
call fcn.006e6a70
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], edx
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x5c]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], eax
push ecx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [0x836d10]
push ebx
mov dword [esp + 0x3c], edx
call fcn.00431370
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], eax
sub edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ecx
add edi, eax
mov edx, 0xfffffffc
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edi
call fcn.006e6a90
mov edx, dword [esp + 0x2c]
push 0x9f
push 0
lea ecx, [esp + 0x4c]
call fcn.005f66f0
mov eax, dword [0x836d10]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
add eax, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
add eax, ecx
mov cx, word [0x83b2d0]
mov edx, ebp
mov dword [esp + 0x50], eax
shr dx, cl
mov ecx, dword [0x83b2d4]
mov eax, ebp
mov edi, dword [esi + 0x5c]
shl dl, cl
mov cx, word [0x83b2d8]
shr ax, cl
mov ecx, dword [0x83b2dc]
push edx
mov edx, ebp
shl al, cl
mov cx, word [0x83b2c8]
shr dx, cl
mov ecx, dword [0x83b2cc]
push eax
shl dl, cl
push edx
lea ecx, [esp + 0x38]
call fcn.00432c30
mov cx, word [eax]
push 0
mov word [esp + 0x1c], cx
push 0
mov dl, byte [eax + 2]
push 0
mov byte [esp + 0x26], dl
mov eax, dword [esp + 0x26]
mov ecx, dword [esp + 0x25]
mov edx, dword [esp + 0x24]
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
and edx, 0xff
shl eax, 8
push 0xc
or eax, edx
push 2
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov edx, ebx
mov ecx, edi
call fcn.005f5bb0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x53475d
push 0xcf
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:Para
call fcn.006eea10
jmp 0x534854
mov eax, dword [esp + 0x30]
cmp eax, 1
jne 0x534781
push 0xd1
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:BEAGLE
call fcn.006eea10
jmp 0x534854
cmp eax, 2
jne 0x5347a1
push 0xd3
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:GTGCAN
call fcn.006eea10
jmp 0x534854
cmp eax, 3
jne 0x5347c1
push 0xd5
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:TNKD
call fcn.006eea10
jmp 0x534854
cmp eax, 4
jne 0x5347de
push 0xd7
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:SNIPE
call fcn.006eea10
jmp 0x534854
cmp eax, 5
jne 0x5347fb
push 0xd9
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:DTRUCK
call fcn.006eea10
jmp 0x534854
cmp eax, 6
jne 0x534818
push 0xdb
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:DESO
call fcn.006eea10
jmp 0x534854
cmp eax, 7
jne 0x534835
push 0xdd
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:TERROR
call fcn.006eea10
jmp 0x534854
cmp eax, 8
jne 0x534852
push 0xdf
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.Name:TTNK
call fcn.006eea10
jmp 0x534854
xor eax, eax
lea edx, [esp + 0x94]
push eax
push edx
call fcn.0076ec19
add esp, 8
cmp word [esp + 0x94], 0
lea ecx, [esp + 0x94]
je 0x5348a1
mov ax, word [ecx]
cmp ax, 0x61
jb 0x534886
cmp ax, 0x7a
jbe 0x534892
cmp ax, 0xe0
jb 0x534898
cmp ax, 0xfe
ja 0x534898
add eax, 0xffffffe0
mov word [ecx], ax
add ecx, 2
cmp word [ecx], 0
jne 0x534877
mov eax, dword [0x83a6f0]
mov ecx, dword [0x798c04]
cmp eax, ecx
jne 0x5348bc
mov edi, 0x10
mov ebx, 0x48
jmp 0x5348c6
mov edi, 0x14
mov ebx, 0x5a
mov edx, dword [0x798c08]
mov ecx, 0xc8
cmp eax, edx
mov dword [esp + 0x50], 0x14
jl 0x5348fa
sub eax, edx
cdq
sub eax, edx
mov edx, dword [0x798c14]
sar eax, 1
add edi, eax
mov eax, dword [0x83a6f4]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add ebx, eax
mov eax, dword [esp + 0x50]
xor edx, edx
mov dword [esp + 0x40], eax
mov ax, word [0xa9e342]
mov dword [esp + 0x3c], ecx
mov cl, byte [0x83b2d4]
mov dl, ah
mov dword [esp + 0x34], edi
shr edx, cl
mov ecx, dword [0x83b2d0]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
add edi, 0xc8
add ebx, 0x14
shl edx, cl
xor ecx, ecx
mov dword [esp + 0x4c], edi
mov cl, al
mov dword [esp + 0x50], ebx
mov eax, ecx
mov cl, byte [0x83b2dc]
shr eax, cl
mov ecx, dword [0x83b2d8]
shl eax, cl
xor ecx, ecx
mov cl, byte [0xa9e341]
or edx, eax
mov eax, ecx
mov cl, byte [0x83b2cc]
shr eax, cl
mov ecx, dword [0x83b2c8]
shl eax, cl
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x2c]
or edx, eax
mov eax, dword [0x836d10]
mov dword [esp + 0x10], eax
call fcn.00534f60
mov cx, word [eax]
push 0
mov word [esp + 0x58], cx
push 0
mov dl, byte [eax + 2]
push 0
mov byte [esp + 0x62], dl
mov eax, dword [esp + 0x62]
mov ecx, dword [esp + 0x61]
mov edx, dword [esp + 0x60]
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
and edx, 0xff
shl eax, 8
push 0xc
or eax, edx
push 0
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xb4]
call fcn.005f5bb0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x534a0e
push 0x100
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.LoadBrief:USA
call fcn.006eea10
mov edi, eax
jmp 0x534b11
cmp eax, 1
jne 0x534a30
push 0x102
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.LoadBrief:Korea
call fcn.006eea10
mov edi, eax
jmp 0x534b11
cmp eax, 2
jne 0x534a52
push 0x104
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.LoadBrief:French
call fcn.006eea10
mov edi, eax
jmp 0x534b11
cmp eax, 3
jne 0x534a74
push 0x106
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.LoadBrief:Germans
call fcn.006eea10
mov edi, eax
jmp 0x534b11
cmp eax, 4
jne 0x534a93
push pe_nt_image_headers32
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.LoadBrief:British
call fcn.006eea10
mov edi, eax
jmp 0x534b11
cmp eax, 5
jne 0x534ab2
push 0x10a
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.LoadBrief:Lybia
call fcn.006eea10
mov edi, eax
jmp 0x534b11
cmp eax, 6
jne 0x534ad1
push 0x10c
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.LoadBrief:Iraq
call fcn.006eea10
mov edi, eax
jmp 0x534b11
cmp eax, 7
jne 0x534af0
push 0x10e
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.LoadBrief:Cuba
call fcn.006eea10
mov edi, eax
jmp 0x534b11
cmp eax, 8
jne 0x534b0f
push 0x110
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.LoadBrief:Russia
call fcn.006eea10
mov edi, eax
jmp 0x534b11
xor edi, edi
lea ecx, [esp + 0x44]
call fcn.00534c10
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x5c]
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
call fcn.006e6a70
mov ecx, dword [eax]
push 1
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0
push ecx
push edx
mov edx, dword [esi + 0x5c]
push eax
mov ecx, edi
call fcn.00534d00
mov edx, dword [esi + 0x5c]
push 0
lea ecx, [esp + 0x38]
push ebp
push ecx
mov ecx, edi
call fcn.00534dc0
push 0x2ca
push str.C:RA2LdPrgMgr.cpp
xor edx, edx
mov ecx, str.GUI:LoadingEx
call fcn.006eea10
lea ecx, [esp + 0x44]
mov edi, eax
call fcn.00534c90
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x5c]
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
call fcn.006e6a70
mov ecx, dword [eax]
push 0
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0
push ecx
push edx
mov edx, dword [esi + 0x5c]
push eax
mov ecx, edi
call fcn.00534d00
mov edx, dword [esi + 0x5c]
push 0
lea ecx, [esp + 0x38]
push ebp
push ecx
mov ecx, edi
call fcn.00534dc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1184
ret