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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi + 8]
mov dword [ebp - 8], eax
test al, 0x40
je 0x516ffb
mov eax, dword [ebp + 8]
cmp eax, dword [ebx]
jb 0x516fda
push eax
mov ecx, ebx
call fcn.00473ee0
mov esi, dword [edi + 0x40]
mov edi, dword [edi + 0x44]
push eax
push 9
call fcn.00470d50
add esp, 8
mov dword [eax], esi
lea esi, [eax + 8]
mov dword [eax + 4], edi
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
jmp 0x516ffe
mov esi, dword [ebp + 8]
test al, al
jns 0x51702e
cmp esi, dword [ebx]
jb 0x517010
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov edi, dword [edi + 0x48]
push esi
push 0x10
call fcn.00470d50
push eax
mov eax, edi
cdq
push edx
push eax
call fcn.00470ec0
mov esi, eax
add esp, 0x14
mov eax, dword [ebp - 8]
test eax, 0x100
je 0x517060
cmp esi, dword [ebx]
jb 0x517043
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov edi, dword [ebp - 4]
push esi
push 0x18
mov edi, dword [edi + 0x4c]
call fcn.00470d50
push eax
push edi
call fcn.00470d50
mov esi, eax
add esp, 0x10
mov eax, dword [ebp - 8]
test eax, 0x2000000
je 0x51709a
cmp esi, dword [ebx]
jb 0x517075
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0x51
mov edi, dword [eax + 0x98]
mov ebx, dword [eax + 0x9c]
call fcn.00470d50
add esp, 8
mov dword [eax], edi
lea esi, [eax + 8]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 8]
test eax, 0x4000000
je 0x5170d7
mov ebx, dword [ebp + 0xc]
cmp esi, dword [ebx]
jb 0x5170b2
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0x59
mov edi, dword [eax + 0xa0]
mov ebx, dword [eax + 0xa4]
call fcn.00470d50
add esp, 8
mov dword [eax], edi
lea esi, [eax + 8]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
test al, 1
je 0x5170f7
mov eax, dword [edi + 0x28]
mov ecx, ebx
push esi
and eax, 0xfffffffe
push eax
push 0xc
call fcn.004c94f0
mov esi, eax
mov eax, dword [ebp - 8]
test eax, 0x8000000
je 0x51712d
cmp esi, dword [ebx]
jb 0x51710c
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov edi, dword [edi + 0xa8]
push esi
push 0x68
call fcn.00470d50
push eax
mov eax, edi
cdq
push edx
push eax
call fcn.00470ec0
mov esi, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
test al, 2
je 0x517147
mov eax, dword [edi + 0x2c]
mov ecx, ebx
push esi
and eax, 0xfffffffe
push eax
push 0xe
call fcn.004c94f0
mov esi, eax
cmp dword [edi + 0xbc], 0xf
jne 0x517185
cmp esi, dword [ebx]
jb 0x51716b
push esi
mov ecx, ebx
call fcn.00473ee0
cmp dword [edi + 0xbc], 0xf
mov esi, eax
je 0x51716b
xor edi, edi
jmp 0x517171
mov edi, dword [edi + 0xb8]
push esi
push 0x78
call fcn.00470d50
push eax
push edi
call fcn.00470d50
add esp, 0x10
mov esi, eax
mov edi, dword [ebp - 8]
test edi, 0x200
je 0x5171be
cmp esi, dword [ebx]
jb 0x51719e
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov edi, dword [ebp - 4]
push esi
push 0x80
mov edi, dword [edi + 0x50]
call fcn.00470d50
push eax
push edi
call fcn.00470d50
mov edi, dword [ebp - 8]
add esp, 0x10
mov esi, eax
test edi, 0x10000000
je 0x5171fb
cmp esi, dword [ebx]
jb 0x5171d4
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0x88
mov edi, dword [eax + 0xac]
call fcn.00470d50
push eax
mov eax, edi
cdq
push edx
push eax
call fcn.00470ec0
mov edi, dword [ebp - 8]
add esp, 0x14
mov esi, eax
test edi, 0x20000000
je 0x51723b
cmp esi, dword [ebx]
jb 0x517211
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0x90
mov ebx, dword [eax + 0xb0]
mov edi, dword [eax + 0xb4]
call fcn.00470d50
push eax
push edi
push ebx
call fcn.00470ec0
mov edi, dword [ebp - 8]
add esp, 0x14
mov esi, eax
mov ebx, dword [ebp + 0xc]
test edi, 0x400
je 0x517274
cmp esi, dword [ebx]
jb 0x517254
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0x98
mov edi, dword [eax + 0x54]
call fcn.00470d50
push eax
push edi
call fcn.00470d50
mov edi, dword [ebp - 8]
add esp, 0x10
mov esi, eax
test edi, 0x1000
je 0x5172aa
cmp esi, dword [ebx]
jb 0x51728a
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0xa0
mov edi, dword [eax + 0x60]
call fcn.00470d50
push eax
push edi
call fcn.00470d50
mov edi, dword [ebp - 8]
add esp, 0x10
mov esi, eax
test edi, 0x800
je 0x5172e4
cmp esi, dword [ebx]
jb 0x5172c0
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0xa8
mov ebx, dword [eax + 0x58]
mov edi, dword [eax + 0x5c]
call fcn.00470d50
push eax
push edi
push ebx
call fcn.00470ec0
mov edi, dword [ebp - 8]
add esp, 0x14
mov esi, eax
mov ebx, dword [ebp + 0xc]
test edi, 0x2000
je 0x51731d
cmp esi, dword [ebx]
jb 0x5172fd
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0xb0
mov edi, dword [eax + 0x64]
call fcn.00470d50
push eax
push edi
call fcn.00470d50
mov edi, dword [ebp - 8]
add esp, 0x10
mov esi, eax
test edi, 0x8000
je 0x517357
cmp esi, dword [ebx]
jb 0x517333
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0xb8
mov bl, byte [eax + 0x6c]
call fcn.00470d50
push eax
xor eax, eax
test bl, bl
setne al
push eax
call fcn.00470d50
add esp, 0x10
mov esi, eax
mov ebx, dword [ebp + 0xc]
test edi, 0x4000
je 0x517394
cmp esi, dword [ebx]
jb 0x517370
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0xc0
mov edi, dword [eax + 0x68]
call fcn.00470d50
push eax
mov eax, edi
cdq
push edx
push eax
call fcn.00470ec0
mov edi, dword [ebp - 8]
add esp, 0x14
mov esi, eax
test edi, 0x20000
je 0x5173ca
cmp esi, dword [ebx]
jb 0x5173aa
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0xc8
mov edi, dword [eax + 0x70]
call fcn.00470d50
push eax
push edi
call fcn.00470d50
mov edi, dword [ebp - 8]
add esp, 0x10
mov esi, eax
test edi, 0x10000
je 0x517404
cmp esi, dword [ebx]
jb 0x5173e0
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0xd0
mov bl, byte [eax + 0x6d]
call fcn.00470d50
push eax
xor eax, eax
test bl, bl
setne al
push eax
call fcn.00470d50
add esp, 0x10
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 0x10
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.00454230
mov ebx, dword [ebp + 0xc]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], eax
test ecx, ecx
jle 0x517467
cmp esi, dword [ebx]
jb 0x517436
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
push eax
call fcn.0046f2d0
push esi
push 0xd8
mov edi, dword [eax]
call fcn.00470d50
push eax
push edi
call fcn.00470d50
mov esi, eax
add esp, 0x10
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 0x10]
jl 0x517425
mov edi, dword [ebp - 8]
test edi, 0x40000
je 0x51749a
cmp esi, dword [ebx]
jb 0x51747d
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0xe0
mov edi, dword [eax + 0x74]
call fcn.00470d50
push eax
push edi
call fcn.00470d50
add esp, 0x10
mov esi, eax
mov edi, dword [ebp - 4]
cmp dword [edi + 0xbc], 0x1d
jne 0x5174bc
mov eax, dword [edi + 0xb8]
mov ecx, ebx
push esi
and eax, 0xfffffffe
push eax
push 0x1d
call fcn.004c94f0
mov esi, eax
mov eax, dword [ebp - 8]
test eax, 0x80000
je 0x5174f4
cmp esi, dword [ebx]
jb 0x5174d4
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov edi, dword [edi + 0x78]
push esi
push 0xf8
call fcn.00470d50
push eax
push edi
call fcn.00470d50
mov edi, dword [ebp - 4]
mov esi, eax
mov eax, dword [ebp - 8]
add esp, 0x10
test eax, 0x100000
je 0x517526
cmp esi, dword [ebx]
jb 0x517509
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov edi, dword [edi + 0x7c]
push esi
push 0x100
call fcn.00470d50
push eax
push edi
call fcn.00470d50
mov esi, eax
add esp, 0x10
mov eax, dword [ebp - 8]
test eax, 0x1000000
je 0x517562
cmp esi, dword [ebx]
jb 0x51753b
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0x108
mov edi, dword [eax + 0x90]
call fcn.00470d50
push eax
mov eax, edi
cdq
push edx
push eax
call fcn.00470ec0
mov esi, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
test al, 4
je 0x51757f
mov eax, dword [edi + 0x30]
mov ecx, ebx
push esi
and eax, 0xfffffffe
push eax
push 0x22
call fcn.004c94f0
mov esi, eax
mov eax, dword [ebp - 8]
test eax, 0x400000
je 0x5175b4
cmp esi, dword [ebx]
jb 0x517594
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov edi, dword [edi + 0x88]
push esi
push 0x118
call fcn.00470d50
push eax
push edi
call fcn.00470d50
mov esi, eax
add esp, 0x10
mov eax, dword [ebp - 8]
test eax, 0x200000
je 0x5175f3
cmp esi, dword [ebx]
jb 0x5175c9
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0x120
mov ebx, dword [eax + 0x80]
mov edi, dword [eax + 0x84]
call fcn.00470d50
push eax
push edi
push ebx
call fcn.00470ec0
mov esi, eax
add esp, 0x14
mov eax, dword [ebp - 8]
test al, 0x20
je 0x5176b6
mov ebx, dword [ebp + 0xc]
cmp esi, dword [ebx]
jb 0x51760c
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0x12a
mov edi, dword [eax + 0x3c]
mov dword [ebp + 8], edi
call fcn.00470d50
mov ecx, dword [edi + 0xc]
push eax
push ecx
call fcn.00470d50
mov esi, eax
add esp, 0x10
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
test al, 1
je 0x51766b
cmp esi, dword [ebx]
jb 0x517647
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov ebx, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
push esi
push 8
call fcn.00470d50
push eax
push edi
push ebx
call fcn.00470ec0
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov edi, dword [ebp + 8]
add esp, 0x14
mov eax, dword [ebp - 0x10]
test al, 2
je 0x517694
cmp esi, dword [ebx]
jb 0x51767d
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov edi, dword [edi + 0x18]
push esi
push 0x10
call fcn.00470d50
push eax
push edi
call fcn.00470d50
add esp, 0x10
mov esi, eax
mov eax, dword [ebp + 8]
test byte [eax + 4], 1
je 0x5176b3
mov eax, dword [eax + 4]
and eax, 0xfffffffc
push ebx
add eax, 4
push esi
push eax
call fcn.00590020
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
test eax, 0x800000
je 0x5176f5
cmp esi, dword [ebx]
jb 0x5176ce
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp - 4]
push esi
push 0x130
mov edi, dword [eax + 0x8c]
call fcn.00470d50
push eax
mov eax, edi
cdq
push edx
push eax
call fcn.00470ec0
mov esi, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
test al, 8
je 0x517712
mov eax, dword [edi + 0x34]
mov ecx, ebx
push esi
and eax, 0xfffffffe
push eax
push 0x27
call fcn.004c94f0
mov esi, eax
mov eax, dword [ebp - 8]
test al, 0x10
je 0x517729
mov eax, dword [edi + 0x38]
mov ecx, ebx
push esi
and eax, 0xfffffffe
push eax
push 0x28
call fcn.004c94f0
mov esi, eax
lea eax, [edi + 0x1c]
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.00454230
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp + 0xc], eax
test ecx, ecx
jle 0x51778a
cmp esi, dword [ebx]
jb 0x517755
push esi
mov ecx, ebx
call fcn.00473ee0
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
call fcn.0046f2d0
push esi
push 0x148
mov edi, dword [eax]
call fcn.00470d50
push eax
mov eax, edi
cdq
push edx
push eax
call fcn.00470ec0
mov esi, eax
add esp, 0x14
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x10]
jl 0x517744
mov edi, dword [ebp - 4]
test byte [edi + 4], 1
je 0x5177ad
mov eax, dword [edi + 4]
and eax, 0xfffffffc
push ebx
add eax, 4
push esi
push eax
call fcn.00590020
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8