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

Disassembly:
push 0xffffffffffffffff
push 0x4ca9db
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x522d80]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x1c], ebp
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 8]
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], edx
cmp eax, edx
je 0x4607fc
cmp eax, 4
jl 0x4607fc
push 4
push ecx
lea eax, [ebp + 0x20]
push eax
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x46081d
cmp eax, 8
jl 0x46081d
add ecx, 4
push 4
push ecx
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
xor ebx, ebx
cmp dword [esp + 0x18], ebx
mov esi, 8
jle 0x460866
add ebp, 0x3c
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x46084f
lea edx, [esi + 4]
cmp eax, edx
jl 0x46084f
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.00498c80
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
add esi, 4
call dword [0x4cf788]
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x46082d
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x460888
lea edx, [esi + 4]
cmp eax, edx
jl 0x460888
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x20]
push eax
call fcn.00498c80
add esp, 0xc
xor ebx, ebx
add esi, 4
cmp dword [esp + 0x18], ebx
jle 0x4608d4
lea ebp, [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x4608b5
cmp eax, ebp
jl 0x4608b5
add ecx, esi
push 4
push ecx
lea ecx, [esp + 0x1c]
push ecx
call fcn.00498c80
add esp, 0xc
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
add ecx, 0x6c
add esi, 4
add ebp, 4
call dword [0x4cf788]
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x460896
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x4608f6
lea edx, [esi + 4]
cmp eax, edx
jl 0x4608f6
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x20]
push eax
call fcn.00498c80
add esp, 0xc
xor ebx, ebx
add esi, 4
cmp dword [esp + 0x18], ebx
jle 0x46094b
mov ecx, dword [esp + 0x1c]
add ecx, 0x54
mov dword [esp + 0x4c], ecx
lea ebp, [esi + 4]
nop
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x46092f
cmp eax, ebp
jl 0x46092f
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00498c80
add esp, 0xc
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push eax
add esi, 4
add ebp, 4
call dword [0x4cf788]
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x460910
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x46096d
lea edx, [esi + 4]
cmp eax, edx
jl 0x46096d
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.00498c80
add esp, 0xc
add esi, 4
cmp dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
jle 0x460f20
push 0x114
call fcn.00485f87
add esp, 4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], 0
test eax, eax
je 0x4609af
mov ecx, eax
call fcn.0045f860
mov ebx, eax
mov dword [esp + 0x4c], eax
jmp 0x4609b5
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov ecx, ebx
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x30], ebx
call fcn.0045f440
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x108], ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x4609f3
lea edx, [esi + 4]
cmp eax, edx
jl 0x4609f3
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 4]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460a17
lea edx, [esi + 4]
cmp eax, edx
jl 0x460a17
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0xc]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460a3b
lea edx, [esi + 4]
cmp eax, edx
jl 0x460a3b
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 8]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460a5f
lea edx, [esi + 4]
cmp eax, edx
jl 0x460a5f
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0x14]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460a83
lea edx, [esi + 4]
cmp eax, edx
jl 0x460a83
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00498c80
add esp, 0xc
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebx + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x2c]
add ecx, 0x90
add esi, 4
call fcn.0045ea70
mov eax, dword [edi + 8]
test eax, eax
je 0x460ad3
lea edx, [esi + 4]
cmp eax, edx
jl 0x460ad3
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
xor ebp, ebp
add esi, 4
cmp dword [esp + 0x18], ebp
jle 0x460b66
lea edx, [ebx + 0x18]
add ebx, 0x30
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
lea ebx, [esi + 4]
mov eax, dword [edi + 8]
test eax, eax
je 0x460b12
cmp eax, ebx
jl 0x460b12
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00498c80
add esp, 0xc
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
call dword [0x4cf788]
mov eax, dword [edi + 8]
dec dword [esp + 0x14]
add esi, 4
add ebx, 4
test eax, eax
je 0x460b4a
cmp eax, ebx
jl 0x460b4a
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00498c80
add esp, 0xc
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
call dword [0x4cf788]
inc ebp
add esi, 4
add ebx, 4
cmp ebp, dword [esp + 0x18]
jl 0x460af3
mov eax, dword [edi + 8]
test eax, eax
je 0x460b88
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x460b88
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00498c80
add esp, 0xc
xor ebp, ebp
add esi, 4
cmp dword [esp + 0x18], ebp
jle 0x460c23
mov eax, dword [esp + 0x4c]
lea ecx, [eax + 0x48]
add eax, 0x60
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
lea ebx, [esi + 4]
lea esp, [esp]
mov eax, dword [edi + 8]
test eax, eax
je 0x460bcf
cmp eax, ebx
jl 0x460bcf
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00498c80
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
call dword [0x4cf788]
mov eax, dword [edi + 8]
dec dword [esp + 0x14]
add esi, 4
add ebx, 4
test eax, eax
je 0x460c07
cmp eax, ebx
jl 0x460c07
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00498c80
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
call dword [0x4cf788]
inc ebp
add esi, 4
add ebx, 4
cmp ebp, dword [esp + 0x18]
jl 0x460bb0
mov eax, dword [edi + 8]
test eax, eax
je 0x460c45
lea edx, [esi + 4]
cmp eax, edx
jl 0x460c45
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
xor ebp, ebp
add esi, 4
cmp dword [esp + 0x18], ebp
jle 0x460ccf
lea ebx, [esi + 4]
mov eax, dword [edi + 8]
test eax, eax
je 0x460c72
cmp eax, ebx
jl 0x460c72
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00498c80
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
add ecx, 0x78
call dword [0x4cf788]
mov eax, dword [edi + 8]
dec dword [esp + 0x14]
add esi, 4
add ebx, 4
test eax, eax
je 0x460cad
cmp eax, ebx
jl 0x460cad
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00498c80
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
add ecx, 0x90
call dword [0x4cf788]
inc ebp
add esi, 4
add ebx, 4
cmp ebp, dword [esp + 0x18]
jl 0x460c53
mov eax, dword [edi + 8]
test eax, eax
je 0x460cf1
lea edx, [esi + 4]
cmp eax, edx
jl 0x460cf1
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00498c80
add esp, 0xc
xor ebp, ebp
add esi, 4
cmp dword [esp + 0x18], ebp
jle 0x460d82
lea ebx, [esi + 4]
mov eax, dword [edi + 8]
test eax, eax
je 0x460d22
cmp eax, ebx
jl 0x460d22
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00498c80
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
add ecx, 0xa8
call dword [0x4cf788]
mov eax, dword [edi + 8]
dec dword [esp + 0x14]
add esi, 4
add ebx, 4
test eax, eax
je 0x460d60
cmp eax, ebx
jl 0x460d60
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00498c80
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
add ecx, 0xc0
call dword [0x4cf788]
inc ebp
add esi, 4
add ebx, 4
cmp ebp, dword [esp + 0x18]
jl 0x460d03
mov eax, dword [edi + 8]
mov ebx, dword [esp + 0x4c]
test eax, eax
je 0x460daa
lea edx, [esi + 4]
cmp eax, edx
jl 0x460daa
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0xd8]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460dd1
lea edx, [esi + 4]
cmp eax, edx
jl 0x460dd1
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0xdc]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460df8
lea edx, [esi + 4]
cmp eax, edx
jl 0x460df8
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0xe4]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460e1f
lea edx, [esi + 4]
cmp eax, edx
jl 0x460e1f
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0xe8]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460e46
lea edx, [esi + 4]
cmp eax, edx
jl 0x460e46
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0x100]
push ecx
call fcn.00498c80
add esp, 0xc
cmp dword [ebx + 0x100], 1
jne 0x460e67
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0xe0], 2
mov dword [eax + 0xdc], edx
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460e8e
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x460e8e
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0x104]
push eax
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460eb5
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x460eb5
mov edx, dword [edi]
push 4
add edx, esi
push edx
add ebx, 0x110
push ebx
call fcn.00498c80
add esp, 0xc
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x30]
add ebp, 0x24
add esi, 4
test ecx, ecx
jne 0x460eca
xor eax, eax
jmp 0x460ed2
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [ebp + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x460eee
mov eax, dword [esp + 0x4c]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp + 0x10], ebx
jmp 0x460f0d
cmp ecx, ebx
jbe 0x460ef7
call fcn.00497123
mov eax, dword [ebp]
lea ecx, [esp + 0x30]
push ecx
push ebx
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
call fcn.004605c0
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jl 0x460983
mov eax, dword [edi + 8]
test eax, eax
je 0x460f42
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x460f42
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00498c80
add esp, 0xc
xor ebx, ebx
add esi, 4
cmp dword [esp + 0x18], ebx
jle 0x460f91
lea ebp, [esi + 4]
mov eax, dword [edi + 8]
test eax, eax
je 0x460f6f
cmp eax, ebp
jl 0x460f6f
mov ecx, dword [edi]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00498c80
add esp, 0xc
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
add ecx, 0xf0
add esi, 4
add ebp, 4
call dword [0x4cf788]
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x460f50
mov eax, dword [edi + 8]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x460fb9
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x460fb9
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0x11c]
push eax
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x460fe0
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x460fe0
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0x118]
push eax
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x461007
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x461007
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0x124]
push eax
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x46102e
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x46102e
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0x120]
push eax
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x461055
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x461055
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0xe4]
push eax
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x46107c
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x46107c
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0xe8]
push eax
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x4610a3
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x4610a3
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0xec]
push eax
call fcn.00498c80
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x4610ca
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x4610ca
mov edx, dword [edi]
push 4
add edx, esi
push edx
add ebx, 0x10c
push ebx
call fcn.00498c80
add esp, 0xc
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4