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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
lea edi, [eax + ecx]
lea ebx, [esi + 2]
mov dword [esp + 0x3c], edi
movzx edi, word [esi]
movzx esi, word [edx]
mov dword [esp + 0x24], esi
movzx esi, word [edx + 2]
mov dword [esp + 0x1c], esi
movzx esi, word [edx + 4]
add edx, 6
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x40], edx
add edx, esi
mov esi, dword [esp + 0x1c]
add ecx, 3
shr ecx, 2
mov dword [esp + 0x44], edx
add edx, esi
lea esi, [ecx + eax]
mov dword [esp + 0x28], edx
lea edx, [esi + ecx]
add ecx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
cmp ecx, 0xa
jae 0x457512
mov eax, 0xffffffec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov edx, ecx
sub edx, dword [esp + 0x20]
sub edx, dword [esp + 0x1c]
sub edx, eax
sub edx, 6
mov dword [esp + 0x24], edx
cmp edx, ecx
ja 0x457506
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x78]
call fcn.004568f0
cmp eax, 0xffffff88
ja 0x457839
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x68]
call fcn.004568f0
cmp eax, 0xffffff88
ja 0x457839
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x58]
call fcn.004568f0
cmp eax, 0xffffff88
ja 0x457839
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x48]
call fcn.004568f0
cmp eax, 0xffffff88
ja 0x457839
lea ecx, [esp + 0x48]
call fcn.004569f0
lea ecx, [esp + 0x58]
mov dword [esp + 0x44], eax
call fcn.004569f0
mov ecx, dword [esp + 0x44]
or ecx, eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x68]
call fcn.004569f0
mov ecx, dword [esp + 0x44]
or ecx, eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x78]
call fcn.004569f0
mov ecx, dword [esp + 0x44]
or ecx, eax
jne 0x457791
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff9
cmp dword [esp + 0x18], eax
jae 0x457791
mov edx, dword [esp + 0x7c]
mov ecx, edx
and ecx, 0x1f
mov eax, edi
mov edi, dword [esp + 0x78]
mov esi, edi
shl esi, cl
neg eax
and eax, 0x1f
mov ecx, eax
shr esi, cl
movzx ecx, byte [ebx + esi*2 + 1]
add edx, ecx
mov dword [esp + 0x7c], edx
movzx edx, byte [ebx + esi*2]
mov esi, dword [esp + 0xc]
mov byte [esi], dl
mov edx, dword [esp + 0x6c]
inc esi
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x68]
mov ecx, edx
and ecx, 0x1f
shl esi, cl
mov ecx, eax
shr esi, cl
movzx ecx, byte [ebx + esi*2 + 1]
add edx, ecx
mov dword [esp + 0x6c], edx
movzx edx, byte [ebx + esi*2]
mov esi, dword [esp + 0x10]
mov byte [esi], dl
mov edx, dword [esp + 0x5c]
inc esi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x58]
mov ecx, edx
and ecx, 0x1f
shl esi, cl
mov ecx, eax
shr esi, cl
movzx ecx, byte [ebx + esi*2 + 1]
add edx, ecx
mov dword [esp + 0x5c], edx
movzx edx, byte [ebx + esi*2]
mov esi, dword [esp + 0x14]
mov byte [esi], dl
mov edx, dword [esp + 0x4c]
inc esi
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x48]
mov ecx, edx
and ecx, 0x1f
shl esi, cl
mov ecx, eax
shr esi, cl
movzx ecx, byte [ebx + esi*2 + 1]
add edx, ecx
movzx ecx, byte [ebx + esi*2]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x18]
mov byte [edx], cl
mov ecx, esi
and ecx, 0x1f
shl edi, cl
mov ecx, eax
inc edx
shr edi, cl
movzx ecx, byte [ebx + edi*2 + 1]
add esi, ecx
movzx ecx, byte [ebx + edi*2]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0xc]
mov byte [esi], cl
inc esi
mov ecx, edi
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x68]
and ecx, 0x1f
shl esi, cl
mov ecx, eax
inc edx
mov dword [esp + 0x18], edx
shr esi, cl
movzx ecx, byte [ebx + esi*2 + 1]
add edi, ecx
movzx ecx, byte [ebx + esi*2]
mov esi, dword [esp + 0x10]
mov byte [esi], cl
inc esi
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x58]
mov ecx, edi
and ecx, 0x1f
shl esi, cl
mov ecx, eax
shr esi, cl
movzx ecx, byte [ebx + esi*2 + 1]
add edi, ecx
movzx ecx, byte [ebx + esi*2]
mov esi, dword [esp + 0x14]
mov byte [esi], cl
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x4c]
inc esi
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x48]
mov ecx, edi
and ecx, 0x1f
shl esi, cl
mov ecx, eax
shr esi, cl
movzx eax, byte [ebx + esi*2 + 1]
movzx ecx, byte [ebx + esi*2]
mov byte [edx - 1], cl
add edi, eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], edi
call fcn.004569f0
lea ecx, [esp + 0x58]
mov esi, eax
call fcn.004569f0
lea ecx, [esp + 0x68]
or esi, eax
call fcn.004569f0
lea ecx, [esp + 0x78]
or esi, eax
call fcn.004569f0
mov edi, dword [esp + 0x30]
or esi, eax
mov esi, dword [esp + 0x2c]
je 0x4575e0
cmp dword [esp + 0xc], esi
ja 0x457506
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x10], edx
ja 0x457506
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], eax
ja 0x457506
mov eax, dword [esp + 0xc]
push edi
push esi
lea esi, [esp + 0x80]
call fcn.00453b70
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push edi
push ecx
lea esi, [esp + 0x78]
call fcn.00453b70
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
push edi
push edx
lea esi, [esp + 0x70]
call fcn.00453b70
mov eax, dword [esp + 0x54]
push edi
push eax
mov eax, dword [esp + 0x38]
lea esi, [esp + 0x68]
call fcn.00453b70
add esp, 0x20
mov eax, esi
call fcn.00459b50
mov edx, eax
lea eax, [esp + 0x58]
call fcn.00459b50
and edx, eax
lea eax, [esp + 0x68]
call fcn.00459b50
and edx, eax
lea eax, [esp + 0x78]
call fcn.00459b50
test eax, edx
mov eax, 0xffffffec
je 0x457839
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret