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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x18], ebx
push edi
cmp esi, 0xa
jb 0x451f83
mov ecx, dword [ebp + 0x10]
lea eax, [ebx + edx]
mov dword [esp + 0x40], eax
lea eax, [ecx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
movzx edi, word [eax]
mov dword [esp + 0x84], edi
movzx edi, word [eax + 2]
mov dword [esp + 0x10], edi
movzx edi, word [eax + 4]
sub esi, edi
mov dword [esp + 0x30], edi
movzx edi, word [eax]
add eax, 6
sub esi, dword [esp + 0x10]
mov dword [esp + 0x28], eax
sub esi, edi
add edi, eax
sub esi, 6
mov eax, dword [esp + 0x10]
add eax, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
lea eax, [edx + 3]
shr eax, 2
lea edx, [eax + ebx]
lea edi, [edx + eax]
mov dword [esp + 0x88], edx
add eax, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], edi
mov edi, eax
mov eax, dword [ecx]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
cmp esi, dword [ebp + 0xc]
ja 0x451f83
push dword [esp + 0x84]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x78]
call fcn.004505c0
add esp, 4
cmp eax, 0xffffff88
ja 0x451f88
push dword [esp + 0x10]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x68]
call fcn.004505c0
add esp, 4
cmp eax, 0xffffff88
ja 0x451f88
push dword [esp + 0x30]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x58]
call fcn.004505c0
add esp, 4
cmp eax, 0xffffff88
ja 0x451f88
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x44]
mov edx, dword [esp + 0x34]
push esi
lea edx, [edx + eax]
call fcn.004505c0
add esp, 4
cmp eax, 0xffffff88
ja 0x451f88
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 0x451eba
mov eax, dword [esp + 0x40]
add eax, 0xfffffff9
mov dword [esp + 0x28], eax
cmp edi, eax
jae 0x451eba
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
neg esi
mov eax, dword [esp + 0x74]
and ecx, 0x1f
shl eax, cl
and esi, 0x1f
mov edi, dword [esp + 0xc]
mov ecx, esi
shr eax, cl
lea ecx, [edi + eax*4]
mov edx, dword [esp + 0x20]
movzx eax, word [ecx]
mov word [ebx], ax
movzx eax, byte [ecx + 3]
movzx ebx, byte [ecx + 2]
add dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
and ecx, 0x1f
shl eax, cl
mov ecx, esi
shr eax, cl
add ebx, dword [esp + 0x78]
mov dword [esp + 0x10], esi
lea ecx, [edi + eax*4]
mov edi, dword [esp + 0x14]
movzx eax, word [ecx]
mov word [edi], ax
movzx eax, byte [ecx + 3]
movzx edi, byte [ecx + 2]
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
and ecx, 0x1f
shl eax, cl
mov ecx, esi
shr eax, cl
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
add edi, dword [esp + 0x68]
mov word [esi], ax
movzx eax, byte [ecx + 3]
movzx esi, byte [ecx + 2]
add dword [esp + 0x18], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0xc]
add esi, dword [esp + 0x58]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
mov edx, dword [esp + 0x48]
add edx, eax
movzx eax, byte [ecx + 3]
add dword [esp + 0x20], eax
mov ecx, ebx
mov eax, dword [esp + 0x74]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
movzx eax, word [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
mov word [ecx], ax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + ecx*4 + 2]
add eax, ebx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + ecx*4 + 3]
add dword [esp + 0x1c], eax
mov ecx, edi
mov ebx, dword [esp + 0x64]
and ecx, 0x1f
shl ebx, cl
mov ecx, dword [esp + 0x10]
shr ebx, cl
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx + ebx*4]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + ebx*4 + 2]
add eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x68], eax
movzx eax, byte [ecx + ebx*4 + 3]
mov ecx, esi
mov ebx, dword [esp + 0x54]
and ecx, 0x1f
add dword [esp + 0x14], eax
shl ebx, cl
mov ecx, dword [esp + 0x10]
shr ebx, cl
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx + ebx*4]
mov word [edi], ax
movzx eax, byte [ecx + ebx*4 + 2]
mov edi, dword [esp + 0x20]
add eax, esi
mov esi, ecx
mov dword [esp + 0x58], eax
mov ecx, edx
and ecx, 0x1f
movzx eax, byte [esi + ebx*4 + 3]
mov ebx, dword [esp + 0x44]
add dword [esp + 0x18], eax
shl ebx, cl
mov ecx, dword [esp + 0x10]
shr ebx, cl
lea ecx, [esp + 0x44]
movzx eax, word [esi + ebx*4]
mov word [edi], ax
movzx eax, byte [esi + ebx*4 + 2]
add eax, edx
mov dword [esp + 0x48], eax
movzx eax, byte [esi + ebx*4 + 3]
add edi, eax
mov dword [esp + 0x20], edi
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
mov ebx, dword [esp + 0x1c]
or esi, eax
mov eax, dword [esp + 0x28]
je 0x451cc3
mov eax, dword [esp + 0x88]
cmp ebx, eax
ja 0x451f83
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x14], ecx
ja 0x451f83
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x18], ecx
ja 0x451f83
push dword [esp + 0x24]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x78]
push esi
push eax
mov ecx, ebx
call fcn.0044eb30
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0x70]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
push esi
push dword [esp + 0x40]
call fcn.0044eb30
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x60]
add esp, 0xc
push ebx
push esi
push dword [esp + 0x44]
call fcn.0044eb30
add esp, 0xc
lea edx, [esp + 0x44]
mov ecx, edi
push ebx
push esi
push dword [esp + 0x48]
call fcn.0044eb30
add esp, 0xc
lea ecx, [esp + 0x44]
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