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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x1c], eax
xor esi, esi
push edi
mov eax, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], esi
call fcn.00456950
mov edi, eax
cmp edi, esi
jne 0x456df5
push ebp
mov ebp, dword [ebx + 0x3c]
cmp ebp, esi
jne 0x456b9e
mov eax, 0x377f0682
lea ecx, [esp + 0x30]
call fcn.0042e7b0
mov eax, 0x2de218
lea ecx, [esp + 0x34]
call fcn.0042e7b0
mov esi, dword [esp + 0x70]
mov eax, esi
lea ecx, [esp + 0x38]
call fcn.0042e7b0
mov eax, dword [ebx + 0x60]
lea ecx, [esp + 0x3c]
call fcn.0042e7b0
lea edi, [ebx + 0x4c]
push edi
push 8
call fcn.00437c70
mov ecx, dword [edi]
mov edx, dword [edi + 4]
lea eax, [esp + 0x30]
mov dword [esp + 0x48], ecx
push eax
xor ecx, ecx
mov dword [esp + 0x50], edx
push 1
lea edx, [ecx + 0x18]
lea eax, [esp + 0x40]
call fcn.00431060
mov edi, dword [esp + 0x38]
mov eax, edi
lea ecx, [esp + 0x58]
call fcn.0042e7b0
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x5c]
call fcn.0042e7b0
push 0
push 0
lea ecx, [esp + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 8]
push 0x20
push ecx
mov dword [ebx + 0x20], esi
mov byte [ebx + 0x39], 0
mov dword [ebx + 0x44], edi
call fcn.0042d1c0
mov edi, eax
add esp, 0x20
test edi, edi
je 0x456ba2
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00477bf8
add esp, 0x5c
ret
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
test eax, eax
je 0x456c70
lea eax, [esi + 0x18]
cdq
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov edi, edi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
inc ebp
push eax
mov dword [esp + 0x24], ebp
push 0
dec ebp
push ebp
call fcn.00478870
mov edi, eax
add edi, 0x20
mov ebp, edx
adc ebp, 0
cmp dword [esp + 0x7c], 0
je 0x456bf9
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], 0
jne 0x456bf9
mov ecx, dword [esp + 0x78]
jmp 0x456bfb
xor ecx, ecx
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push eax
mov dword [esp + 0x14], eax
mov eax, edx
mov eax, dword [eax + 0xc]
push ecx
lea esi, [esp + 0x58]
call fcn.00431180
mov eax, dword [ebx + 8]
push ebp
push edi
mov ecx, esi
push 0x18
push ecx
call fcn.0042d1c0
add esp, 0x18
test eax, eax
jne 0x456df4
mov edx, dword [esp + 0x70]
add edi, 0x18
adc ebp, eax
mov eax, dword [esp + 0x10]
push ebp
push edi
push edx
push eax
mov eax, dword [ebx + 8]
call fcn.0042d1c0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x456df2
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x456bc0
cmp dword [esp + 0x80], 0
je 0x456d69
mov ecx, dword [ebx + 8]
call fcn.0042d270
cdq
mov esi, eax
mov eax, dword [esp + 0x70]
push 0
add eax, 0x18
mov dword [esp + 0x1c], edx
cdq
push ebp
push edx
push eax
call fcn.00478870
mov ebp, eax
mov eax, dword [esp + 0x18]
mov edi, edx
add ebp, 0x20
adc edi, 0
mov ecx, ebp
add ecx, esi
mov edx, edi
adc edx, eax
push eax
sub ecx, 1
push esi
sbb edx, 0
push edx
push ecx
call fcn.004787c0
mov ecx, dword [esp + 0x18]
push ecx
push esi
push edx
push eax
call fcn.00478870
cmp edi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jg 0x456d58
jl 0x456ce3
cmp ebp, eax
jae 0x456d58
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov ecx, edx
push eax
mov eax, dword [ecx + 0xc]
lea esi, [esp + 0x58]
call fcn.00431180
mov eax, dword [ebx + 8]
push edi
push ebp
mov edx, esi
push 0x18
push edx
call fcn.0042d1c0
add esp, 0x18
test eax, eax
jne 0x456df4
mov esi, dword [esp + 0x70]
add ebp, 0x18
adc edi, eax
mov eax, dword [esp + 0x1c]
push edi
push ebp
push esi
push eax
mov eax, dword [ebx + 8]
call fcn.0042d1c0
add esp, 0x10
test eax, eax
jne 0x456df4
inc dword [esp + 0x20]
mov eax, esi
cdq
add ebp, eax
adc edi, edx
cmp edi, dword [esp + 0x18]
jl 0x456ce3
jg 0x456d58
cmp ebp, dword [esp + 0x14]
jb 0x456ce3
mov edx, dword [esp + 0x80]
mov eax, dword [ebx + 8]
call fcn.0042d200
mov edi, eax
mov esi, dword [esp + 0x24]
mov ebp, dword [ebx + 0x3c]
test esi, esi
je 0x456d91
test edi, edi
jne 0x456d91
mov ecx, dword [esi + 0xc]
push ecx
inc ebp
push ebx
mov eax, ebp
call fcn.004458d0
mov esi, dword [esi + 8]
add esp, 8
mov edi, eax
test esi, esi
jne 0x456d74
mov esi, dword [esp + 0x20]
test esi, esi
jle 0x456dbf
lea esp, [esp]
test edi, edi
jne 0x456df2
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
push eax
inc ebp
push ebx
mov eax, ebp
dec esi
call fcn.004458d0
add esp, 8
mov edi, eax
test esi, esi
jg 0x456da0
test edi, edi
jne 0x456df2
mov eax, dword [esp + 0x70]
mov ecx, eax
sar ecx, 0x10
and eax, 0xff00
or ecx, eax
mov word [ebx + 0x3a], cx
mov dword [ebx + 0x3c], ebp
cmp dword [esp + 0x7c], edi
je 0x456df2
mov edx, dword [esp + 0x78]
inc dword [ebx + 0x34]
mov dword [ebx + 0x40], edx
call fcn.00431120
mov dword [ebx + 0xc], ebp
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00477bf8
add esp, 0x5c
ret