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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
lea eax, [ecx + edx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
lea edi, [eax + 2]
mov dword [esp + 0x8c], edx
movzx eax, word [eax]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], edi
movzx ebx, word [eax + 2]
movzx esi, word [eax]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + 4]
add eax, 6
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x84], esi
lea ebx, [eax + esi]
mov eax, dword [esp + 0x10]
add eax, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], eax
lea eax, [edx + 3]
shr eax, 2
add ecx, eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x14], ecx
lea edx, [ecx + eax]
add eax, edx
mov dword [esp + 0x38], edx
mov ebx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ebx
cmp eax, 0xa
jb 0x4548ef
mov ecx, dword [esp + 0x84]
mov esi, eax
sub esi, dword [esp + 0x28]
sub esi, dword [esp + 0x10]
sub esi, ecx
sub esi, 6
cmp esi, eax
ja 0x4548ef
mov edx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x78]
call fcn.00453500
add esp, 4
cmp eax, 0xffffff88
ja 0x4548f4
push dword [esp + 0x10]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x68]
call fcn.00453500
add esp, 4
cmp eax, 0xffffff88
ja 0x4548f4
push dword [esp + 0x28]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x58]
call fcn.00453500
add esp, 4
cmp eax, 0xffffff88
ja 0x4548f4
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x44]
mov edx, dword [esp + 0x30]
push esi
lea edx, [edx + eax]
call fcn.00453500
add esp, 4
cmp eax, 0xffffff88
ja 0x4548f4
lea ecx, [esp + 0x44]
call fcn.0044cc00
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.0044cc00
lea ecx, [esp + 0x64]
or esi, eax
call fcn.0044cc00
lea ecx, [esp + 0x74]
or esi, eax
call fcn.0044cc00
or esi, eax
jne 0x45482d
mov eax, dword [esp + 0x40]
add eax, 0xfffffff9
mov dword [esp + 0x2c], eax
nop dword [eax]
cmp ebx, eax
jae 0x45482d
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
neg edi
mov edx, dword [esp + 0x74]
and ecx, 0x1f
shl edx, cl
and edi, 0x1f
mov ebx, dword [esp + 0xc]
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], edi
movzx eax, byte [ebx + edx*2 + 1]
add eax, dword [esp + 0x78]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + edx*2]
mov byte [ecx], al
inc ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0xc]
and ecx, 0x1f
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x14]
movzx eax, byte [eax + edx*2]
movzx ebx, byte [ebx + edx*2 + 1]
mov byte [ecx], al
inc ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x58]
and ecx, 0x1f
add ebx, dword [esp + 0x68]
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0xc]
movzx edi, byte [ecx + edx*2 + 1]
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
add edi, dword [esp + 0x58]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + edx*2 + 1]
add esi, eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], ecx
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ecx + eax*2 + 1]
add eax, edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
movzx eax, byte [ecx + eax*2]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, ebx
mov edx, dword [esp + 0x64]
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + edx*2 + 1]
add eax, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x68], eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [eax + edx*2 + 1]
add eax, edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x58], eax
movzx eax, byte [edi + edx*2]
mov edx, dword [esp + 0x44]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
lea ecx, [esp + 0x44]
movzx eax, byte [edi + edx*2 + 1]
add eax, esi
mov dword [esp + 0x48], eax
movzx eax, byte [edi + edx*2]
mov byte [ebx], al
inc ebx
mov dword [esp + 0x24], ebx
call fcn.0044cc00
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.0044cc00
lea ecx, [esp + 0x64]
or esi, eax
call fcn.0044cc00
lea ecx, [esp + 0x74]
or esi, eax
call fcn.0044cc00
or esi, eax
mov eax, dword [esp + 0x2c]
je 0x454660
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x88]
cmp ecx, eax
ja 0x4548ef
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x14], edx
ja 0x4548ef
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x18], edx
ja 0x4548ef
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x74]
push esi
push edi
push eax
call fcn.0044dd60
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x70]
add esp, 0xc
push esi
push edi
push dword [esp + 0x40]
call fcn.0044dd60
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x60]
add esp, 0xc
push esi
push edi
push dword [esp + 0x44]
call fcn.0044dd60
add esp, 0xc
lea edx, [esp + 0x44]
mov ecx, ebx
push esi
push edi
push dword [esp + 0x48]
call fcn.0044dd60
add esp, 0xc
mov ecx, edx
call fcn.0044cca0
lea ecx, [esp + 0x54]
mov edx, eax
call fcn.0044cca0
lea ecx, [esp + 0x64]
and edx, eax
call fcn.0044cca0
lea ecx, [esp + 0x74]
and edx, eax
call fcn.0044cca0
test eax, edx
mov ecx, 0xffffffec
mov eax, dword [esp + 0x8c]
cmove eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret