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

Disassembly:
sub esp, 0x60
mov edx, dword [esp + 0x6c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x78]
lea ecx, [edx + eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x74]
add edi, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x5444]
push edx
mov edx, dword [esi + 0x5440]
mov dword [esp + 0x20], edi
mov edi, dword [esi + 0x5448]
mov dword [esp + 0x1c], ecx
add edi, ecx
mov ecx, dword [esi + 0x5414]
push edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x5418]
lea ebp, [esi + 0x804]
push ebp
lea ebx, [esi + 0xc08]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x541c]
push ebx
push esi
lea edx, [esp + 0x8c]
mov dword [esp + 0x38], ecx
call fcn.00451c30
add esp, 0x14
cmp eax, 0xffffff88
ja 0x45237b
mov ecx, dword [esp + 0x7c]
lea edx, [eax + ecx]
xor eax, eax
mov dword [esi + 0x5440], eax
cmp dword [esp + 0x78], eax
je 0x45233b
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
sub eax, edx
lea ecx, [esp + 0x3c]
call fcn.0044fd30
cmp eax, 0xffffff88
jbe 0x452210
mov eax, 0xffffffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov ecx, dword [esp + 0x40]
movzx edx, word [esi]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x40], edx
and ecx, 0x1f
shl eax, cl
or ecx, 0xffffffff
sub ecx, edx
and ecx, 0x1f
shr eax, 1
shr eax, cl
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], eax
call fcn.004569f0
movzx edx, word [ebp]
mov eax, dword [esp + 0x3c]
add esi, 4
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x40]
mov ecx, esi
and ecx, 0x1f
shl eax, cl
or ecx, 0xffffffff
sub ecx, edx
and ecx, 0x1f
shr eax, 1
shr eax, cl
add esi, edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x54], eax
call fcn.004569f0
mov esi, dword [esp + 0x40]
movzx edx, word [ebx]
mov eax, dword [esp + 0x3c]
mov ecx, esi
and ecx, 0x1f
shl eax, cl
or ecx, 0xffffffff
sub ecx, edx
and ecx, 0x1f
shr eax, 1
shr eax, cl
add esi, edx
add ebp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x5c], eax
call fcn.004569f0
add ebx, 4
mov dword [esp + 0x60], ebx
call fcn.004569f0
cmp eax, 2
jg 0x452330
nop
cmp dword [esp + 0x78], 0
je 0x45233b
dec dword [esp + 0x78]
lea edx, [esp + 0x30]
push edx
lea esi, [esp + 0x40]
call fcn.00451d60
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 4
push eax
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x40]
push edi
lea eax, [esp + 0x28]
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x34]
push edx
call fcn.00451f70
add esp, 0x24
cmp eax, 0xffffff88
ja 0x45237b
add dword [esp + 0x14], eax
mov ecx, esi
call fcn.004569f0
cmp eax, 2
jle 0x4522c0
cmp dword [esp + 0x78], 0
jne 0x452203
mov eax, dword [esp + 0x18]
mov esi, edi
sub esi, eax
cmp eax, edi
ja 0x452203
mov edi, dword [esp + 0x14]
lea ecx, [esi + edi]
cmp ecx, dword [esp + 0x1c]
jbe 0x452365
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push esi
push eax
push edi
call fcn.005e2430
mov eax, esi
sub eax, dword [esp + 0x80]
add esp, 0xc
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret