Function at 0x455210
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 + 0x78], 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 + 0x28]
mov dword [esp + 0x38], ecx
call fcn.00454d10
add esp, 0x14
cmp eax, 0xffffff88
ja 0x455461
mov ecx, dword [esp + 0x7c]
lea edx, [eax + ecx]
xor eax, eax
mov dword [esi + 0x5440], eax
cmp dword [esp + 0x14], eax
je 0x45541e
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.00452e40
cmp eax, 0xffffff88
jbe 0x4552ed
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.004599b0
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.004599b0
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.004599b0
add ebx, 4
mov dword [esp + 0x60], ebx
call fcn.004599b0
cmp eax, 2
jg 0x455413
lea esp, [esp]
cmp dword [esp + 0x14], 0
je 0x45541e
dec dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
lea esi, [esp + 0x40]
call fcn.00454e40
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 + 0x98]
push edx
call fcn.00455050
add esp, 0x24
cmp eax, 0xffffff88
ja 0x455461
add dword [esp + 0x78], eax
mov ecx, esi
call fcn.004599b0
cmp eax, 2
jle 0x4553a0
cmp dword [esp + 0x14], 0
jne 0x4552e0
mov edx, dword [esp + 0x18]
mov ecx, edi
sub ecx, edx
cmp edx, edi
ja 0x4552e0
mov eax, dword [esp + 0x78]
lea esi, [ecx + eax]
cmp esi, dword [esp + 0x1c]
jbe 0x455448
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
test ecx, ecx
jbe 0x45545d
push ecx
push edx
push eax
call fcn.005e5310
add esp, 0xc
mov dword [esp + 0x78], esi
mov eax, esi
sub eax, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret