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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
cmp byte [eax + 2], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
movzx edi, byte [eax + 0xa]
je 0x452ee1
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x10]
add eax, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
cmp eax, 0x80
jae 0x452eb1
mov ecx, dword [ebp + 0xc]
mov byte [edi + ecx], al
mov eax, 1
jmp 0x452ec2
cdq
push edx
mov edx, dword [ebp + 0xc]
push eax
lea esi, [edi + edx]
call fcn.00412e10
add esp, 8
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
movzx eax, al
add edi, eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
lea esi, [edi + eax]
call fcn.00412e10
add esp, 8
add edi, eax
jmp 0x452f19
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
cmp eax, 0x80
jae 0x452f03
mov edx, dword [ebp + 0xc]
mov byte [edi + edx], al
mov eax, 1
jmp 0x452f14
cdq
push edx
push eax
mov eax, dword [ebp + 0xc]
lea esi, [edi + eax]
call fcn.00412e10
add esp, 8
movzx ecx, al
add edi, ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
lea ebx, [edi + edx]
movzx edx, word [ecx + 0xe]
cmp eax, edx
jg 0x452f68
add edi, eax
cmp edi, 4
jge 0x452f39
mov edi, 4
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x14]
push esi
push ecx
push ebx
mov dword [eax], edi
call fcn.004b4d50
mov eax, dword [ebp - 4]
sub eax, esi
push eax
push 0
add ebx, esi
push ebx
call fcn.004b3f30
add esp, 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
movzx edx, word [ecx + 0x10]
sub eax, edx
mov edx, dword [ecx + 0x34]
mov esi, dword [edx + 0x24]
sub esi, 4
xor edx, edx
div esi
movzx eax, word [ecx + 0x10]
movzx esi, word [ecx + 0xe]
add edx, eax
cmp edx, esi
jle 0x452f8b
mov edx, eax
add edi, edx
lea eax, [edi + 4]
add edi, dword [ebp + 0xc]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
xor eax, eax
mov dword [ebp - 0x18], edi
mov edi, dword [ecx + 0x34]
mov dword [ebp - 0x10], eax
mov dword [ebp + 0xc], eax
lea esp, [esp]
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp esi, eax
jle 0x452fbc
mov esi, eax
mov eax, dword [ebp - 0xc]
cmp eax, esi
jl 0x452fd0
mov ecx, dword [ebp - 8]
push esi
push ecx
push ebx
call fcn.004b4d50
jmp 0x452fec
test eax, eax
jle 0x452fe3
mov edx, dword [ebp - 8]
push eax
push edx
push ebx
mov esi, eax
call fcn.004b4d50
jmp 0x452fec
push esi
push 0
push ebx
call fcn.004b3f30
mov eax, dword [ebp - 4]
sub eax, esi
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jle 0x45315b
add dword [ebp - 8], esi
sub dword [ebp - 0xc], esi
add ebx, esi
sub dword [ebp + 8], esi
jne 0x452fb0
cmp byte [edi + 0x11], 0
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 8], 0
mov dword [ebp - 0x1c], ebx
je 0x45306d
nop
inc ebx
cmp ebx, 2
jae 0x45302a
xor ecx, ecx
jmp 0x453057
mov eax, 0xcccccccd
mul dword [edi + 0x24]
mov esi, edx
shr esi, 2
xor edx, edx
inc esi
lea eax, [ebx - 2]
div esi
xor edx, edx
mov ecx, eax
mov eax, dword [0x4fa170]
imul ecx, esi
div dword [edi + 0x20]
add ecx, 2
inc eax
cmp ecx, eax
jne 0x453057
inc ecx
cmp ecx, ebx
je 0x453020
mov eax, dword [0x4fa170]
xor edx, edx
div dword [edi + 0x20]
inc eax
cmp ebx, eax
je 0x453020
mov dword [ebp + 0xc], ebx
push 0
push ebx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
push edi
call fcn.00452430
mov esi, dword [ebp + 8]
add esp, 0x14
cmp byte [edi + 0x11], 0
mov ebx, eax
mov dword [ebp - 0x14], ebx
je 0x4530c8
test ebx, ebx
jne 0x453170
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push eax
test eax, eax
setne al
add al, 3
movzx ecx, al
mov eax, dword [ebp + 0xc]
push ecx
push edi
call fcn.00450410
mov ebx, dword [ebp - 0x14]
add esp, 0x10
test ebx, ebx
je 0x4530d0
test esi, esi
je 0x4530c8
mov eax, esi
call fcn.004174b0
test ebx, ebx
jne 0x453170
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
bswap edx
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x453138
mov eax, dword [eax + 0x48]
test byte [eax + 0x1c], 0x20
je 0x453133
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov esi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov ebx, dword [esi]
dec eax
push edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [ebp - 0x1c]
push 0
push eax
call fcn.004b5250
push edx
push eax
mov eax, dword [ebx + 0x48]
push esi
call eax
mov esi, dword [ebp + 8]
add esp, 0x10
jmp 0x453138
call fcn.00414640
mov eax, dword [esi + 0x38]
xor ecx, ecx
bswap ecx
mov dword [eax], ecx
mov ebx, dword [esi + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x24]
add ebx, 4
sub eax, 4
mov dword [ebp - 0x10], esi
mov dword [ebp + 8], eax
jmp 0x452fb0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x453167
call fcn.004174b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45317c
call fcn.004174b0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret