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

Disassembly:
push 0xffffffffffffffff
push 0x4c967b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521da0]
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 0x45f42c
cmp eax, 4
jl 0x45f42c
push 4
push ecx
lea eax, [ebp + 0x20]
push eax
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x45f44d
cmp eax, 8
jl 0x45f44d
add ecx, 4
push 4
push ecx
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
xor ebx, ebx
cmp dword [esp + 0x18], ebx
mov esi, 8
jle 0x45f496
add ebp, 0x3c
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x45f47f
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f47f
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.00497eb0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
add esi, 4
call dword [0x4ce790]
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x45f45d
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x45f4b8
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f4b8
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x20]
push eax
call fcn.00497eb0
add esp, 0xc
xor ebx, ebx
add esi, 4
cmp dword [esp + 0x18], ebx
jle 0x45f504
lea ebp, [esi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x45f4e5
cmp eax, ebp
jl 0x45f4e5
add ecx, esi
push 4
push ecx
lea ecx, [esp + 0x1c]
push ecx
call fcn.00497eb0
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 [0x4ce790]
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x45f4c6
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x45f526
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f526
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x20]
push eax
call fcn.00497eb0
add esp, 0xc
xor ebx, ebx
add esi, 4
cmp dword [esp + 0x18], ebx
jle 0x45f57b
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 0x45f55f
cmp eax, ebp
jl 0x45f55f
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00497eb0
add esp, 0xc
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push eax
add esi, 4
add ebp, 4
call dword [0x4ce790]
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x45f540
mov eax, dword [edi + 8]
mov ecx, dword [edi]
test eax, eax
je 0x45f59d
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f59d
push 4
add ecx, esi
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.00497eb0
add esp, 0xc
add esi, 4
cmp dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
jle 0x45fb50
push 0x114
call fcn.00485167
add esp, 4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], 0
test eax, eax
je 0x45f5df
mov ecx, eax
call fcn.0045e720
mov ebx, eax
mov dword [esp + 0x4c], eax
jmp 0x45f5e5
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov ecx, ebx
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x30], ebx
call fcn.0045e300
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x108], ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x45f623
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f623
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 4]
push ecx
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45f647
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f647
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0xc]
push ecx
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45f66b
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f66b
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 8]
push ecx
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45f68f
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f68f
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0x14]
push ecx
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45f6b3
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f6b3
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00497eb0
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.0045d930
mov eax, dword [edi + 8]
test eax, eax
je 0x45f703
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f703
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
xor ebp, ebp
add esi, 4
cmp dword [esp + 0x18], ebp
jle 0x45f796
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 0x45f742
cmp eax, ebx
jl 0x45f742
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00497eb0
add esp, 0xc
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
call dword [0x4ce790]
mov eax, dword [edi + 8]
dec dword [esp + 0x14]
add esi, 4
add ebx, 4
test eax, eax
je 0x45f77a
cmp eax, ebx
jl 0x45f77a
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00497eb0
add esp, 0xc
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
call dword [0x4ce790]
inc ebp
add esi, 4
add ebx, 4
cmp ebp, dword [esp + 0x18]
jl 0x45f723
mov eax, dword [edi + 8]
test eax, eax
je 0x45f7b8
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45f7b8
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00497eb0
add esp, 0xc
xor ebp, ebp
add esi, 4
cmp dword [esp + 0x18], ebp
jle 0x45f853
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 0x45f7ff
cmp eax, ebx
jl 0x45f7ff
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00497eb0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
call dword [0x4ce790]
mov eax, dword [edi + 8]
dec dword [esp + 0x14]
add esi, 4
add ebx, 4
test eax, eax
je 0x45f837
cmp eax, ebx
jl 0x45f837
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00497eb0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
call dword [0x4ce790]
inc ebp
add esi, 4
add ebx, 4
cmp ebp, dword [esp + 0x18]
jl 0x45f7e0
mov eax, dword [edi + 8]
test eax, eax
je 0x45f875
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f875
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
xor ebp, ebp
add esi, 4
cmp dword [esp + 0x18], ebp
jle 0x45f8ff
lea ebx, [esi + 4]
mov eax, dword [edi + 8]
test eax, eax
je 0x45f8a2
cmp eax, ebx
jl 0x45f8a2
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00497eb0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
add ecx, 0x78
call dword [0x4ce790]
mov eax, dword [edi + 8]
dec dword [esp + 0x14]
add esi, 4
add ebx, 4
test eax, eax
je 0x45f8dd
cmp eax, ebx
jl 0x45f8dd
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00497eb0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
add ecx, 0x90
call dword [0x4ce790]
inc ebp
add esi, 4
add ebx, 4
cmp ebp, dword [esp + 0x18]
jl 0x45f883
mov eax, dword [edi + 8]
test eax, eax
je 0x45f921
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f921
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00497eb0
add esp, 0xc
xor ebp, ebp
add esi, 4
cmp dword [esp + 0x18], ebp
jle 0x45f9b2
lea ebx, [esi + 4]
mov eax, dword [edi + 8]
test eax, eax
je 0x45f952
cmp eax, ebx
jl 0x45f952
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00497eb0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
add ecx, 0xa8
call dword [0x4ce790]
mov eax, dword [edi + 8]
dec dword [esp + 0x14]
add esi, 4
add ebx, 4
test eax, eax
je 0x45f990
cmp eax, ebx
jl 0x45f990
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00497eb0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
add ecx, 0xc0
call dword [0x4ce790]
inc ebp
add esi, 4
add ebx, 4
cmp ebp, dword [esp + 0x18]
jl 0x45f933
mov eax, dword [edi + 8]
mov ebx, dword [esp + 0x4c]
test eax, eax
je 0x45f9da
lea edx, [esi + 4]
cmp eax, edx
jl 0x45f9da
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0xd8]
push ecx
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fa01
lea edx, [esi + 4]
cmp eax, edx
jl 0x45fa01
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0xdc]
push ecx
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fa28
lea edx, [esi + 4]
cmp eax, edx
jl 0x45fa28
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0xe4]
push ecx
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fa4f
lea edx, [esi + 4]
cmp eax, edx
jl 0x45fa4f
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0xe8]
push ecx
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fa76
lea edx, [esi + 4]
cmp eax, edx
jl 0x45fa76
mov eax, dword [edi]
push 4
add eax, esi
push eax
lea ecx, [ebx + 0x100]
push ecx
call fcn.00497eb0
add esp, 0xc
cmp dword [ebx + 0x100], 1
jne 0x45fa97
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 0x45fabe
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fabe
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0x104]
push eax
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fae5
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fae5
mov edx, dword [edi]
push 4
add edx, esi
push edx
add ebx, 0x110
push ebx
call fcn.00497eb0
add esp, 0xc
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x30]
add ebp, 0x24
add esi, 4
test ecx, ecx
jne 0x45fafa
xor eax, eax
jmp 0x45fb02
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 0x45fb1e
mov eax, dword [esp + 0x4c]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp + 0x10], ebx
jmp 0x45fb3d
cmp ecx, ebx
jbe 0x45fb27
call fcn.00496353
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.0041c640
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jl 0x45f5b3
mov eax, dword [edi + 8]
test eax, eax
je 0x45fb72
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fb72
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00497eb0
add esp, 0xc
xor ebx, ebx
add esi, 4
cmp dword [esp + 0x18], ebx
jle 0x45fbc1
lea ebp, [esi + 4]
mov eax, dword [edi + 8]
test eax, eax
je 0x45fb9f
cmp eax, ebp
jl 0x45fb9f
mov ecx, dword [edi]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00497eb0
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 [0x4ce790]
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x45fb80
mov eax, dword [edi + 8]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x45fbe9
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fbe9
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0x11c]
push eax
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fc10
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fc10
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0x118]
push eax
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fc37
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fc37
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0x124]
push eax
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fc5e
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fc5e
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0x120]
push eax
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fc85
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fc85
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0xe4]
push eax
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fcac
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fcac
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0xe8]
push eax
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fcd3
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fcd3
mov edx, dword [edi]
push 4
add edx, esi
push edx
lea eax, [ebx + 0xec]
push eax
call fcn.00497eb0
add esp, 0xc
mov eax, dword [edi + 8]
add esi, 4
test eax, eax
je 0x45fcfa
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x45fcfa
mov edx, dword [edi]
push 4
add edx, esi
push edx
add ebx, 0x10c
push ebx
call fcn.00497eb0
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