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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
add esp, 0xffffff48
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0xa0], 0x26e6047e
mov dword [esi + 0x9c], eax
mov dword [esi + 0x98], ecx
call fcn.00502230
mov ecx, eax
sub ecx, 0x8a15b970
call fcn.00502240
mov dword [esi + 0x90], ecx
jg 0x501c2c
jmp 0x501c10
mov eax, dword [esi + 0x94]
sub eax, 0x86561e87
mov dword [esi + 0x8c], eax
je 0x5021e2
jmp 0x501ee5
mov eax, dword [esi + 0x94]
sub eax, 0xa04264b4
call fcn.00502250
jg 0x501c63
jmp 0x501c47
call fcn.00502260
add eax, 0x75ea468f
mov dword [esi + 0x84], eax
je 0x502150
jmp 0x501ee5
mov eax, dword [esi + 0x94]
add eax, 0x5d4ddd2d
call fcn.00502270
jg 0x501c99
jmp 0x501c7f
mov eax, dword [esi + 0x94]
add eax, 0x5fbd9b4b
mov dword [esi + 0x7c], eax
je 0x50218f
jmp 0x501ee5
mov eax, dword [esi + 0x94]
sub eax, 0xaa050ecf
mov dword [esi + 0x78], eax
jg 0x501cca
jmp 0x501cb2
call fcn.00502280
sub eax, 0xa2b222d4
mov dword [esi + 0x74], eax
je 0x502088
jmp 0x501ee5
call fcn.00502290
sub eax, 0xbf3ce7a3
call fcn.005022a0
jg 0x501cff
jmp 0x501ce4
mov eax, dword [esi + 0x94]
sub eax, 0xaa050ed0
call fcn.005022b0
je 0x5020fe
jmp 0x501ee5
mov eax, dword [esi + 0x94]
sub eax, 0xe3c982df
call fcn.005022c0
jg 0x501d33
jmp 0x501d1a
mov eax, dword [esi + 0x94]
sub eax, 0xbf3ce7a4
mov dword [esi + 0x64], eax
je 0x501fb1
jmp 0x501ee5
mov eax, dword [esi + 0x94]
sub eax, 0xf62a2671
mov dword [esi + 0x60], eax
jg 0x501d67
jmp 0x501d4c
mov eax, dword [esi + 0x94]
sub eax, 0xe3c982e0
call fcn.005022d0
je 0x502007
jmp 0x501ee5
mov eax, dword [esi + 0x94]
add eax, 0xd919fb83
mov dword [esi + 0x58], eax
jg 0x501d9a
jmp 0x501d81
mov eax, dword [esi + 0x94]
sub eax, 0xf62a2672
mov dword [esi + 0x54], eax
je 0x5020e4
jmp 0x501ee5
call fcn.005022e0
sub eax, 0x2d53b851
mov dword [esi + 0x50], eax
jg 0x501dcb
jmp 0x501db2
mov eax, dword [esi + 0x94]
sub eax, 0x26e6047e
mov dword [esi + 0x4c], eax
je 0x501eea
jmp 0x501ee5
mov eax, dword [esi + 0x94]
sub eax, 0x3bd529da
call fcn.005022f0
jg 0x501dff
jmp 0x501de6
mov eax, dword [esi + 0x94]
sub eax, 0x2d53b852
mov dword [esi + 0x44], eax
je 0x501fc1
jmp 0x501ee5
mov eax, dword [esi + 0x94]
sub eax, 0x4e9630f7
mov dword [esi + 0x40], eax
jg 0x501e31
jmp 0x501e18
mov eax, dword [esi + 0x94]
sub eax, 0x3bd529db
mov dword [esi + 0x3c], eax
je 0x501efc
jmp 0x501ee5
mov eax, dword [esi + 0x94]
sub eax, 0x5d6c9b7f
mov dword [esi + 0x38], eax
jg 0x501e64
jmp 0x501e4a
mov eax, dword [esi + 0x94]
add eax, 0xb169cf08
mov dword [esi + 0x34], eax
je 0x502016
jmp 0x501ee5
mov eax, dword [esi + 0x94]
sub eax, 0x651fd1ac
mov dword [esi + 0x30], eax
jg 0x501e97
jmp 0x501e7d
mov eax, dword [esi + 0x94]
add eax, 0xa2936480
mov dword [esi + 0x2c], eax
je 0x502146
jmp 0x501ee5
mov eax, dword [esi + 0x94]
add eax, 0x9ae02e53
mov dword [esi + 0x28], eax
je 0x502078
jmp 0x501eb1
mov eax, dword [esi + 0x94]
add eax, 0x8841a397
mov dword [esi + 0x24], eax
je 0x5020ee
jmp 0x501ecb
mov eax, dword [esi + 0x94]
add eax, 0x86bddeec
mov dword [esi + 0x20], eax
je 0x501f90
jmp 0x501ee5
jmp 0x502221
mov eax, 0x57cf5c
mov eax, dword [eax]
mov dword [esi + 0xa0], eax
jmp 0x502221
mov eax, 0x79422114
mov ecx, 4
mov dword [esi + 0x1c], eax
mov eax, 0x447cd8
mov eax, ecx
call fcn.00502300
call fcn.004487b0
mov eax, esp
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0x18]
call fcn.004487b0
mov eax, esp
call fcn.00502310
mov dword [esi + 0x14], eax
mov eax, ecx
call fcn.004487b0
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov dword [esi + 0xa8], eax
call fcn.00502320
call fcn.00502330
mov dword [eax], ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x98]
mov dword [eax], edx
mov edi, dword [eax]
call fcn.00502340
call fcn.00502350
mov edi, dword [edi]
cmp dword [edi + 0x14], 8
setb bl
and bl, 1
mov byte [esi + 0xb3], bl
call fcn.00502360
mov dword [esi + 0xa0], edi
jmp 0x502221
mov eax, 0x4e9630f8
mov ecx, 0xbf3ce7a4
mov dl, byte [esi + 0xb3]
test dl, 1
cmovne eax, ecx
mov dword [esi + 0xa0], eax
jmp 0x502221
mov eax, 0x2d53b852
mov dword [esi + 0xa0], eax
jmp 0x502221
mov eax, dword [esi + 0xa4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 1
mov ecx, dword [esi + 0xa4]
mov ecx, dword [ecx]
mov edx, dword [esi + 0xac]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00419260
add esp, 0xc
mov ecx, 0xe3c982e0
call fcn.00502370
mov dword [esi + 0x10], eax
jmp 0x502221
mov dword [esi + 0xa0], 0x651fd1ad
jmp 0x502221
call fcn.00502380
mov ecx, dword [esi + 0xa8]
sub esp, 4
mov edx, esp
call fcn.00502390
mov ecx, eax
call fcn.004806e0
mov eax, dword [esi + 0xa4]
call fcn.005023a0
call fcn.005023b0
mov edx, dword [esi + 0xa8]
sub esp, 8
mov edi, esp
mov dword [edi + 4], eax
mov dword [edi], ecx
mov ecx, edx
call fcn.00480880
mov eax, dword [esi + 0xa4]
call fcn.005023c0
call fcn.005023d0
mov dword [esi + 0xa0], 0x651fd1ad
jmp 0x502221
mov eax, 0xa2b222d4
mov dword [esi + 0xa0], eax
jmp 0x502221
mov eax, dword [esi + 0xa4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
call fcn.005023e0
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0xa4]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 0xac]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0xa4]
call fcn.005023f0
sub esp, 8
mov eax, 0x1000
mov eax, esp
call fcn.00502400
mov dword [eax], 0
call fcn.0047fc70
mov eax, 0xf62a2672
mov dword [esi + 0xa0], eax
jmp 0x502221
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, 0xaa050ed0
mov dword [esi + 0xa0], eax
jmp 0x502221
mov eax, dword [esi + 0xa4]
mov eax, dword [eax]
call fcn.00502410
add eax, 1
call fcn.00502420
mov ecx, dword [ecx]
call fcn.00502430
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00419260
add esp, 0xc
mov ecx, 0x57d034
mov ecx, dword [ecx]
call fcn.00502440
mov dword [esi + 0xc], eax
jmp 0x502221
call fcn.00502450
jmp 0x502221
mov eax, 4
mov dword [esi + 8], eax
call fcn.004487b0
mov eax, esp
call fcn.00502460
call fcn.00502470
mov eax, ecx
call fcn.004487b0
mov eax, esp
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x9c]
mov dword [ecx], edx
mov edi, dword [esi + 0x98]
mov dword [eax], edi
call fcn.00502480
jmp 0x502221
mov eax, dword [esi + 0xa4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
call fcn.00502490
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0xa4]
call fcn.005024a0
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 0xac]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax]
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0
mov dword [eax], 0
call fcn.0047fc70
call fcn.005024b0
jmp 0x502221
call fcn.005024c0
call fcn.005024d0
mov eax, dword [eax + 0x10]
add eax, 1
mov ecx, dword [esi + 0xa4]
mov ecx, dword [ecx]
call fcn.005024e0
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00419260
add esp, 0xc
call fcn.005024f0
call fcn.00502500
jmp 0x501bed