Function at 0x51f540
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x51ff74
call fcn.00512a50
call fcn.00512590
mov eax, dword [esi + 0x70]
lea edi, [esi + 0x70]
test eax, eax
jne 0x51f583
push 0
lea eax, [esi + 0x74]
push 0
push eax
push 0xa257d8
push 0
push 0
push str..BigMap_testmap.wsa
call fcn.005a5e90
add esp, 0x1c
mov dword [edi], eax
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x51f5b0
lea ecx, [esi + 0x80]
push 0
lea edx, [esi + 0x7c]
push ecx
push edx
push 0xa257d8
push 0
push 0
push str..BitmapsInterfaceWSAPlayermapMark.wsa
call fcn.005a5e90
add esp, 0x1c
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x51f5e1
push 0
lea eax, [esi + 0x88]
push 0
push eax
push 0xa257d8
push 0
push 0
push str..Bitmaps_teamlan.WSA
call fcn.005a5e90
add esp, 0x1c
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x14]
cmp eax, 0x967
ja 0x51fa77
je 0x51fa5f
cmp eax, 0x7de
ja 0x51f862
je 0x51f85b
cmp eax, 0x546
ja 0x51f72b
je 0x51f713
add eax, 0xfffffbb4
cmp eax, 0xd1
ja case.0x51fe5d.11012
xor ecx, ecx
mov cl, byte [eax + 0x51ffb0]
jmp dword [ecx*4 + 0x51ff7c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 5
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x12
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x45
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x46
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x47
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x48
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x49
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x4a
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x4f
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x50
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x51
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x6a
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x52
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
cmp eax, 0x7d8
ja 0x51f7df
je 0x51f7d8
cmp eax, 0x580
ja 0x51f798
je 0x51f791
sub eax, 0x54f
je 0x51f779
sub eax, 0x29
je 0x51f761
sub eax, 7
jne case.0x51fe5d.11012
push 0x4c
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x53
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x4b
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x4d
jmp 0x51fe2f
sub eax, 0x7d4
je 0x51f7c0
sub eax, 3
jne case.0x51fe5d.11012
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x6e
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x6b
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x6f
jmp 0x51fe2f
add eax, 0xfffff827
cmp eax, 4
ja case.0x51fe5d.11012
jmp dword [eax*4 + 0x520084]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x70
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x71
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x72
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x73
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x74
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x75
jmp 0x51fe2f
cmp eax, 0x8d3
ja 0x51f975
je 0x51f95d
add eax, 0xfffff821
cmp eax, 0xf3
ja case.0x51fe5d.11012
xor ecx, ecx
mov cl, byte [eax + 0x5200cc]
jmp dword [ecx*4 + 0x520098]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 6
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 7
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 8
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x13
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x29
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x2a
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x32
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x33
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x34
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x35
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x76
jmp 0x51fe2f
push 0x79
jmp 0x51fdff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x2b
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
add eax, 0xfffff72c
cmp eax, 0x8c
ja case.0x51fe5d.11012
xor ecx, ecx
mov cl, byte [eax + 0x5201f4]
jmp dword [ecx*4 + 0x5201c0]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 9
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0xa
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xb
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x16
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x17
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x18
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x19
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x2c
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x2d
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x6d
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x77
jmp 0x51fe2f
push 0x78
jmp 0x51fdff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x2e
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
cmp eax, 0xc2a
ja 0x51fcdb
je 0x51fcc3
cmp eax, 0xbc1
ja 0x51fbca
je 0x51fbc3
cmp eax, 0xbbb
ja 0x51fb47
je 0x51fb40
cmp eax, 0x96d
ja 0x51fb02
je 0x51fafb
sub eax, 0x968
je 0x51fae3
dec eax
je 0x51facb
dec eax
jne case.0x51fe5d.11012
push 0x31
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x30
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x2f
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x6c
jmp 0x51fe2f
sub eax, 0xbb9
je 0x51fb28
dec eax
jne case.0x51fe5d.11012
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x55
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x54
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x56
jmp 0x51fe2f
add eax, 0xfffff444
cmp eax, 4
ja case.0x51fe5d.11012
jmp dword [eax*4 + 0x520284]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x57
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x58
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x59
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x5a
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x5b
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x5c
jmp 0x51fe2f
add eax, 0xfffff43e
cmp eax, 0x5a
ja case.0x51fe5d.11012
xor ecx, ecx
mov cl, byte [eax + 0x5202cc]
jmp dword [ecx*4 + 0x520298]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x14
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x5d
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x5f
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x60
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x61
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x62
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x63
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x64
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x65
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x66
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x67
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x68
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0xc
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
cmp eax, 0x270f
ja 0x51fe45
je 0x51fe2d
cmp eax, 0xe1a
ja 0x51fda0
je 0x51fd99
cmp eax, 0xd16
ja 0x51fd59
je 0x51fd52
sub eax, 0xc80
je 0x51fd3a
sub eax, 0x32
je 0x51fd22
sub eax, 0x32
jne case.0x51fe5d.11012
push 0xf
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xe
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0xd
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x10
jmp 0x51fe2f
sub eax, 0xd48
je 0x51fd81
sub eax, 0x64
jne case.0x51fe5d.11012
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x44
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x11
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x36
jmp 0x51fe2f
cmp eax, 0x1004
ja 0x51fded
je 0x51fde9
sub eax, 0xe22
je 0x51fdd1
sub eax, 8
jne case.0x51fe5d.11012
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x38
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x37
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x15
jmp 0x51fe2f
sub eax, 0x1068
je 0x51fe15
sub eax, 0x32
jne case.0x51fe5d.11012
push 0x7a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x4e
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x7b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
add eax, 0xffffd508
cmp eax, 0xc9
ja case.0x51fe5d.11012
xor ecx, ecx
mov cl, byte [eax + 0x52035c]
jmp dword [ecx*4 + 0x520328]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x39
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x3a
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x3b
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x3c
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x3d
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x3e
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x3f
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x40
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0x41
push edx
push eax
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
push 0x42
jmp 0x51fe2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x43
push eax
push ecx
mov ecx, esi
call fcn.00520430
pop edi
pop esi
ret 0xc
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x51ff74
mov eax, dword [edi]
mov dword [esi + 0x1c], 0
test eax, eax
je 0x51ff62
push 0
add esi, 0x74
push 0
push esi
push edi
call fcn.005a6840
add esp, 0x10
mov eax, dword [0xd0af88]
test eax, eax
je 0x51ff74
push eax
call fcn.004e6ba0
add esp, 4
pop edi
pop esi
ret 0xc