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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, eax
cmp ebx, 0xa
jae 0x4540a2
mov eax, 0xffffffec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
lea edx, [edi + eax]
movzx eax, word [ecx]
mov dword [esp + 0x3c], edx
movzx edx, word [ecx + 2]
add ecx, 6
mov dword [esp + 0x24], edx
movzx edx, word [ecx - 2]
sub ebx, edx
mov dword [esp + 0x40], ecx
add ecx, eax
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
add ecx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
add ecx, 3
sub ebx, edx
shr ecx, 2
lea edx, [ecx + edi]
mov dword [esp + 0x30], edx
add edx, ecx
add ecx, edx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], edx
mov edx, dword [ecx]
shr edx, 0x10
sub ebx, eax
movzx ecx, dl
sub ebx, 6
add esi, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
cmp ebx, dword [ebp + 0xc]
ja 0x454096
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x78]
call fcn.00452a50
cmp eax, 0xffffff88
ja 0x454446
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x58]
call fcn.00452a50
cmp eax, 0xffffff88
ja 0x454446
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.00452a50
cmp eax, 0xffffff88
ja 0x454446
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add edx, eax
mov eax, ebx
lea ecx, [esp + 0x68]
call fcn.00452a50
cmp eax, 0xffffff88
ja 0x454446
lea ecx, [esp + 0x68]
call fcn.00456480
lea ecx, [esp + 0x48]
mov ebx, eax
call fcn.00456480
lea ecx, [esp + 0x58]
or ebx, eax
call fcn.00456480
lea ecx, [esp + 0x78]
or ebx, eax
call fcn.00456480
or ebx, eax
jne 0x454381
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff9
cmp edi, eax
jae 0x454381
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x1c]
and ecx, 0x1f
mov edi, dword [esp + 0x10]
mov edx, ebx
shl edx, cl
neg eax
and eax, 0x1f
mov ecx, eax
shr edx, cl
movzx ecx, word [esi + edx*4]
mov word [edi], cx
movzx ecx, byte [esi + edx*4 + 2]
add dword [esp + 0x7c], ecx
movzx edx, byte [esi + edx*4 + 3]
add dword [esp + 0x10], edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
and ecx, 0x1f
shl edx, cl
mov edi, dword [esp + 0x14]
mov ecx, eax
shr edx, cl
movzx ecx, word [esi + edx*4]
mov word [edi], cx
movzx ecx, byte [esi + edx*4 + 2]
add dword [esp + 0x5c], ecx
movzx edx, byte [esi + edx*4 + 3]
add dword [esp + 0x14], edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx ecx, word [esi + edx*4]
mov word [edi], cx
movzx ecx, byte [esi + edx*4 + 2]
add dword [esp + 0x4c], ecx
movzx edx, byte [esi + edx*4 + 3]
add dword [esp + 0x18], edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x20]
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx ecx, word [esi + edx*4]
mov word [edi], cx
movzx ecx, byte [esi + edx*4 + 2]
add dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x7c]
movzx edx, byte [esi + edx*4 + 3]
and ecx, 0x1f
shl ebx, cl
mov ecx, eax
add edi, edx
mov edx, dword [esp + 0x10]
shr ebx, cl
movzx ecx, word [esi + ebx*4]
mov word [edx], cx
movzx ecx, byte [esi + ebx*4 + 2]
add dword [esp + 0x7c], ecx
movzx edx, byte [esi + ebx*4 + 3]
add dword [esp + 0x10], edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x14]
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx ecx, word [esi + edx*4]
mov word [ebx], cx
movzx ecx, byte [esi + edx*4 + 2]
movzx edx, byte [esi + edx*4 + 3]
add dword [esp + 0x5c], ecx
add dword [esp + 0x14], edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x18]
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx ecx, word [esi + edx*4]
mov word [ebx], cx
movzx ecx, byte [esi + edx*4 + 2]
movzx edx, byte [esi + edx*4 + 3]
add dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x6c]
add dword [esp + 0x18], edx
mov edx, dword [esp + 0x68]
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
mov ax, word [esi + edx*4]
mov word [edi], ax
movzx ecx, byte [esi + edx*4 + 2]
movzx edx, byte [esi + edx*4 + 3]
add ebx, ecx
add edi, edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x20], edi
call fcn.00456480
lea ecx, [esp + 0x48]
mov ebx, eax
call fcn.00456480
lea ecx, [esp + 0x58]
or ebx, eax
call fcn.00456480
lea ecx, [esp + 0x78]
or ebx, eax
call fcn.00456480
or ebx, eax
je 0x4541c9
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x10], eax
ja 0x454096
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x14], ecx
ja 0x454096
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x18], edx
ja 0x454096
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov eax, esi
lea ebx, [esp + 0x80]
call fcn.00457770
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
push edx
push eax
mov eax, esi
lea ebx, [esp + 0x68]
call fcn.00457770
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov eax, esi
lea ebx, [esp + 0x60]
call fcn.00457770
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov eax, esi
lea ebx, [esp + 0x88]
mov ecx, edi
call fcn.00457770
add esp, 0x20
mov eax, ebx
call fcn.00452b70
mov edx, eax
lea eax, [esp + 0x48]
call fcn.00452b70
and edx, eax
lea eax, [esp + 0x58]
call fcn.00452b70
and edx, eax
lea eax, [esp + 0x78]
call fcn.00452b70
test eax, edx
mov eax, 0xffffffec
je 0x454446
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret