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

Disassembly:
sub esp, 0x64
mov edx, dword [esp + 0x70]
push ebx
mov ebx, dword [edi + 0x54c8]
push ebp
push esi
mov esi, dword [esp + 0x78]
lea ecx, [edx + eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x74]
add esi, ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [edi + 0x54b8]
push edx
mov edx, dword [edi + 0x5454]
mov dword [esp + 0x14], ecx
add ebx, ecx
mov ecx, dword [edi + 0x5414]
push edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x5418]
lea ebp, [edi + 0x804]
mov dword [esp + 0x1c], esi
push ebp
lea esi, [edi + 0xc08]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x541c]
push esi
push edi
lea edx, [esp + 0x8c]
mov dword [esp + 0x30], ecx
call fcn.004552d0
add esp, 0x14
cmp eax, 0xffffff88
ja 0x455a42
cmp dword [esp + 0x78], 0
mov ecx, dword [esp + 0x7c]
lea edx, [eax + ecx]
je 0x455a0c
mov dword [edi + 0x5454], 1
mov eax, dword [edi + 0x5424]
mov ecx, dword [edi + 0x5428]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x542c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
sub eax, edx
lea ecx, [esp + 0x3c]
call fcn.00452ef0
cmp eax, 0xffffff88
jbe 0x4558cc
mov eax, 0xffffffec
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, dword [esp + 0x40]
movzx edx, word [edi]
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]
lea ecx, [edi + 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x40]
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 + 0x54], eax
call fcn.004569f0
movzx edx, word [esi]
mov eax, dword [esp + 0x3c]
add ebp, 4
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x40]
mov ecx, ebp
and ecx, 0x1f
shl eax, cl
or ecx, 0xffffffff
sub ecx, edx
and ecx, 0x1f
shr eax, 1
shr eax, cl
add ebp, edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x5c], eax
call fcn.004569f0
add esi, 4
mov dword [esp + 0x60], esi
call fcn.004569f0
cmp eax, 2
jg 0x4559e3
cmp dword [esp + 0x78], 0
je 0x4559ee
dec dword [esp + 0x78]
lea edx, [esp + 0x28]
push edx
lea esi, [esp + 0x40]
call fcn.00455400
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 4
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00455620
add esp, 0x24
cmp eax, 0xffffff88
ja 0x455a42
add dword [esp + 0xc], eax
mov ecx, esi
call fcn.004569f0
cmp eax, 2
jle 0x455977
cmp dword [esp + 0x78], 0
jne 0x4558c0
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [edi + 0x5424], edx
mov dword [edi + 0x5428], eax
mov dword [edi + 0x542c], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
sub ebx, ecx
sub eax, esi
cmp ebx, eax
jbe 0x455a2c
mov eax, 0xffffffba
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push ebx
push ecx
push esi
call fcn.005e2430
mov eax, ebx
sub eax, dword [esp + 0x80]
add esp, 0xc
add eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret