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

Disassembly:
push 0x64
mov eax, 0x50a5b4
call fcn.004d6c98
mov esi, ecx
cmp byte [esi + 0x110], 0
jne 0x4868a5
mov eax, dword [esi + 0x24]
xor edi, edi
cmp eax, edi
jne 0x4865d4
cmp byte [esi + 0x48], 0
jne 0x48655e
push 0x54a858
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.004d6828
cmp dword [esi + 0x38], edi
jne 0x486549
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x40], 0x5258f8
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x48], 0x6f10701
mov dword [ebp - 0x44], edi
call fcn.0047511a
push ebx
lea ecx, [esi + 0x58]
push ebx
call fcn.00470637
push edi
lea ecx, [esi + 0x80]
call fcn.00470683
push edi
lea ecx, [esi + 0x94]
call fcn.00470683
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0046b33c
jmp 0x48683d
cmp eax, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
jle 0x486665
cmp dword [esi + 0x38], 0
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + ecx*4]
mov ebx, dword [eax + 0x24]
mov edi, dword [eax + 0x20]
jne 0x486648
mov eax, dword [esi + 0x24]
push dword [ebp - 0x14]
dec eax
cmp ecx, eax
jge 0x486615
mov eax, dword [ebp - 0x18]
add eax, ebx
push eax
lea ecx, [esi + 0x6c]
call fcn.00470637
jmp 0x486622
push 0
lea ecx, [esi + 0x94]
call fcn.0047f86a
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
cmp edi, eax
jbe 0x486648
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, eax
push ecx
lea ecx, [esi + 0x94]
call fcn.00470683
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jb 0x48662c
add dword [ebp - 0x18], ebx
add dword [ebp - 0x14], edi
push edi
push ebx
lea ecx, [esi + 0x58]
call fcn.00470637
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi + 0x24]
jl 0x4865e5
xor edi, edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x4866d9
mov dword [ebp - 0x10], edi
jle 0x4866b2
mov dword [ebp - 0x1c], edi
mov edi, dword [esi + 0x3c]
add edi, dword [ebp - 0x1c]
lea ecx, [esi + 0x58]
push dword [edi]
call fcn.00485cd4
push dword [edi + 8]
mov ebx, eax
add ebx, dword [edi + 4]
lea ecx, [esi + 0x58]
call fcn.00485cec
add eax, dword [edi + 0xc]
lea ecx, [esi + 0x6c]
push eax
push ebx
call fcn.00470637
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x10
cmp eax, dword [esi + 0x38]
jl 0x486674
xor edi, edi
xor ebx, ebx
cmp dword [ebp - 0x14], edi
jle 0x4866d9
push ebx
lea ecx, [esi + 0x58]
call fcn.00485cad
cmp eax, 0xffffffff
jne 0x4866d3
push ebx
lea ecx, [esi + 0x94]
call fcn.00470683
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x4866b9
xor ebx, ebx
cmp dword [ebp - 0x18], edi
jle 0x486700
push ebx
lea ecx, [esi + 0x58]
call fcn.00470704
cmp eax, 0xffffffff
jne 0x4866fa
push ebx
lea ecx, [esi + 0x80]
call fcn.00470683
inc ebx
cmp ebx, dword [ebp - 0x18]
jl 0x4866e0
cmp dword [esi + 0x88], edi
je 0x486549
mov eax, dword [esi + 0x8c]
mov eax, dword [eax]
lea ebx, [esi + 0x58]
jmp 0x48671f
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + eax*8]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, ebx
call fcn.0048517f
push dword [ebp - 0x1c]
mov ecx, ebx
call fcn.00485cec
push eax
mov ecx, ebx
mov dword [ebp - 0x10], eax
call fcn.00485cad
cmp eax, edi
jge 0x486719
mov eax, dword [esi + 0x9c]
xor ecx, ecx
cmp eax, edi
jle 0x48678a
mov eax, dword [esi + 0xa0]
mov edx, dword [ebp - 0x10]
cmp dword [eax], edx
je 0x48676f
inc ecx
add eax, 4
cmp ecx, dword [esi + 0x9c]
jl 0x48675a
jmp 0x48678a
push 1
lea ebx, [esi + 0x94]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 4]
push dword [ebp - 0x10]
mov ecx, ebx
push edi
call fcn.0047f86a
cmp byte [esi + 0x48], 0
je 0x48683d
mov edi, dword [esi + 0x9c]
xor ebx, ebx
mov dword [ebp - 0x1c], edi
test edi, edi
jle 0x4867bf
mov ecx, dword [esi + 0xa0]
push dword [ecx + ebx*4]
mov eax, dword [ebp - 0x18]
add eax, ebx
push eax
lea ecx, [esi + 0x6c]
call fcn.00470637
inc ebx
cmp ebx, edi
jl 0x4867a3
lea ecx, [esi + 0x94]
call fcn.004703dd
xor ebx, ebx
test edi, edi
jle 0x48683b
xor edi, edi
inc edi
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x68], 0x5258f8
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x70], 0x6f10701
call fcn.0047511a
xor eax, eax
inc eax
push eax
push eax
lea ecx, [esi + 0x58]
call fcn.00470637
mov eax, dword [ebp - 0x14]
add eax, ebx
push eax
lea ecx, [esi + 0x94]
call fcn.00470683
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.0046b33c
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0x4867d3
xor edi, edi
mov ebx, dword [esi + 0x24]
dec ebx
cmp ebx, edi
jl 0x48685e
mov eax, dword [esi + 0x28]
mov eax, dword [eax + ebx*4]
push dword [eax + 4]
lea ecx, [esi + 0xfc]
push dword [eax]
call fcn.00470637
dec ebx
jns 0x486845
push 0xa8
call fcn.00469def
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 2
cmp ecx, edi
je 0x486884
lea eax, [esi + 0x58]
push eax
call fcn.00487987
jmp 0x486886
xor eax, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xa8]
push ecx
mov ecx, eax
mov dword [esi + 0xf8], eax
call fcn.00487781
mov byte [esi + 0x110], 1
xor eax, eax
call fcn.004d6d70
ret