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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x24], 0
mov esi, ecx
mov dword [esp + 0x20], ebx
push edi
xor eax, eax
mov dword [esp + 0x2c], eax
mov edi, dword [esi + 8]
mov dword [esp + 0x14], edi
mov byte [ebx], 1
call fcn.00437420
cmp dword [ebx + 0x24], 0
mov ebp, dword [ebx + 0x20]
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], ebp
jg 0x45a064
mov ebp, edi
mov ecx, esi
call fcn.00437420
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov edi, dword [eax + 0x14]
cmp dword [eax + 0x1c], ebx
jle 0x45a030
add edi, 0x14
mov ebp, eax
lea ecx, [ecx]
push dword [edi - 4]
mov edx, dword [edi]
mov ecx, esi
call fcn.004386f0
inc ebx
lea edi, [edi + 0x18]
add esp, 4
cmp ebx, dword [ebp + 0x1c]
jl 0x45a010
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, esi
mov byte [eax], 0
call fcn.00437420
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x45a055
js 0x45a055
mov edx, dword [ebp + 0x1c]
cmp edx, eax
jbe 0x45a055
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 4]
mov dword [eax + ecx*4 + 8], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov edi, dword [esp + 0x14]
mov eax, dword [ebp]
mov dword [esp + 0x30], 0
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x45a0bb
mov edx, dword [ebx]
mov ecx, dword [esi + 0x3c]
mov ebp, dword [esi + 0x40]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ebp
cmp edx, ecx
jg 0x45a097
lea eax, [edx + ebp]
sub ecx, edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
jmp 0x45a0a6
mov eax, dword [esi + 0x4c]
lea ebp, [eax + 1]
add eax, edx
mov dword [esp + 0x18], ebp
mov dword [esi + 0x4c], eax
push 1
push ebp
mov edx, ebx
mov ecx, esi
call fcn.00438a10
mov ebp, dword [esp + 0x28]
add esp, 8
jmp 0x45a0cb
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
cmp dword [ebp + 0xc], 0
jl 0x45a157
mov edi, dword [edi + 0x24]
mov edx, dword [esp + 0x14]
lea eax, [edi + 1]
mov dword [edx + 0x24], eax
lea eax, [edi - 1]
test edi, eax
jne 0x45a128
mov ecx, dword [edx + 0x28]
lea eax, [edi*8 + 4]
mov ebp, dword [edx]
mov edx, ecx
mov dword [esp + 0x30], ecx
mov ecx, ebp
push eax
mov dword [esp + 0x3c], ebp
call fcn.00407a10
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x45a11d
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
call fcn.00407740
mov edx, dword [esp + 0x14]
mov dword [edx + 0x28], ebp
mov ebp, dword [esp + 0x20]
mov eax, dword [edx + 0x28]
test eax, eax
je 0x45a136
mov dword [eax + edi*4], 0xffffffff
push dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
sub eax, edi
mov ecx, esi
push 1
push eax
mov dword [esp + 0x3c], eax
call fcn.004536d0
mov edi, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [ebp + 4]
test byte [eax + 2], 0x20
je 0x45a274
mov ebx, dword [ebx + 8]
xor ebp, ebp
xor edi, edi
jmp 0x45a170
cmp edi, dword [esp + 0x1c]
jge 0x45a18b
mov edx, dword [ebx]
mov ecx, esi
call fcn.00434540
mov ebp, eax
inc edi
add ebx, 0x18
test ebp, ebp
je 0x45a170
jmp 0x45a194
test ebp, ebp
jne 0x45a194
mov eax, dword [esi]
mov ebp, dword [eax + 8]
cmp dword [esp + 0x28], 0
jne 0x45a1af
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x1c], 0
je 0x45a1af
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x14]
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x45a22d
test eax, eax
je 0x45a1c5
add eax, eax
jmp 0x45a1ca
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi]
shl eax, 2
push eax
call fcn.00407a10
mov edi, eax
add esp, 4
test edi, edi
je 0x45a290
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
test ecx, ecx
je 0x45a20b
cmp edi, dword [ecx + 0x10c]
jb 0x45a20b
cmp edi, dword [ecx + 0x110]
jae 0x45a20b
movzx ecx, word [ecx + 0xf0]
jmp 0x45a217
push edi
call dword [0x510f4c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [eax + 4], edi
mov edi, eax
mov dword [eax + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffc
push ebp
mov edx, ebx
mov ecx, edi
call fcn.00424ad0
mov ebp, dword [esp + 0x28]
add esp, 8
mov eax, dword [ebp + 4]
mov ebx, dword [edi + 0x1c]
mov ebp, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x45a303
test eax, eax
je 0x45a29b
add eax, eax
jmp 0x45a2a0
mov edi, dword [esp + 0x14]
mov ebx, 1
jmp 0x45a261
mov eax, 0x33
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi]
shl eax, 2
push eax
call fcn.00407a10
mov edi, eax
add esp, 4
test edi, edi
je 0x45a470
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
test ecx, ecx
je 0x45a2e1
cmp edi, dword [ecx + 0x10c]
jb 0x45a2e1
cmp edi, dword [ecx + 0x110]
jae 0x45a2e1
movzx ecx, word [ecx + 0xf0]
jmp 0x45a2ed
push edi
call dword [0x510f4c]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [eax + 4], edi
mov edi, eax
mov dword [eax + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 8
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffb
push dword [esp + 0x3c]
mov edx, ebx
mov ecx, edi
call fcn.00424ad0
mov ecx, dword [edi + 4]
add esp, 8
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x45a35a
mov eax, dword [edi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], dl
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x78]
mov edi, 0xa
lea ebx, [eax - 1]
add ebx, edx
jmp 0x45a370
mov edx, dword [ecx]
cmp edx, eax
jl 0x45a39f
cmp edx, ebx
jg 0x45a39f
cmp byte [ecx - 8], 0
je 0x45a399
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x45a391
movzx eax, al
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
mov eax, dword [esp + 0x18]
mov byte [ecx - 8], 0
mov dword [ecx], 0
add ecx, 0x18
dec edi
jne 0x45a370
lea ecx, [esi + 0x78]
mov edi, 0xa
lea ecx, [ecx]
mov edx, dword [ecx]
cmp edx, eax
jl 0x45a3df
cmp edx, ebx
jg 0x45a3df
cmp byte [ecx - 8], 0
je 0x45a3d9
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x45a3d1
movzx eax, al
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
mov eax, dword [esp + 0x18]
mov byte [ecx - 8], 0
mov dword [ecx], 0
add ecx, 0x18
dec edi
jne 0x45a3b0
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + 0x3c]
jle 0x45a3f4
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x45a41b
or ecx, 0xffffffff
sub ecx, eax
js 0x45a414
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x45a414
mov eax, dword [eax + 0x1c]
mov dword [edx + ecx*4], eax
mov ecx, esi
call fcn.00437420
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc ecx
mov ebp, dword [esp + 0x20]
add ebp, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], ebp
cmp ecx, dword [eax + 0x24]
jl 0x45a060
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x14]
test edi, edi
je 0x459ff3
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0x2c], ebx
cmp dword [ebp + 0x20], ebx
jg 0x45a47e
mov ecx, ebp
call fcn.004243f0
test eax, eax
je 0x45a47e
mov dword [esp + 0x2c], 1
jmp 0x459ff3
mov edi, dword [esp + 0x14]
mov ebx, 1
jmp 0x45a333
mov eax, dword [ebp + 4]
lea ecx, [ebx + ebx*4]
inc dword [ebp + 0x1c]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x459ff3