Function at 0x446530
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 0x446963
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 0x446963
push dword [esp + 0x84]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x78]
call fcn.00444fa0
add esp, 4
cmp eax, 0xffffff88
ja 0x446968
push dword [esp + 0x10]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x68]
call fcn.00444fa0
add esp, 4
cmp eax, 0xffffff88
ja 0x446968
push dword [esp + 0x30]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x58]
call fcn.00444fa0
add esp, 4
cmp eax, 0xffffff88
ja 0x446968
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x44]
mov edx, dword [esp + 0x34]
push esi
lea edx, [edx + eax]
call fcn.00444fa0
add esp, 4
cmp eax, 0xffffff88
ja 0x446968
lea ecx, [esp + 0x44]
call fcn.004415f0
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.004415f0
lea ecx, [esp + 0x64]
or esi, eax
call fcn.004415f0
lea ecx, [esp + 0x74]
or esi, eax
call fcn.004415f0
or esi, eax
jne 0x44689a
mov eax, dword [esp + 0x40]
add eax, 0xfffffff9
mov dword [esp + 0x28], eax
cmp edi, eax
jae 0x44689a
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.004415f0
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.004415f0
lea ecx, [esp + 0x64]
or esi, eax
call fcn.004415f0
lea ecx, [esp + 0x74]
or esi, eax
call fcn.004415f0
mov ebx, dword [esp + 0x1c]
or esi, eax
mov eax, dword [esp + 0x28]
je 0x4466a3
mov eax, dword [esp + 0x88]
cmp ebx, eax
ja 0x446963
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x38]
ja 0x446963
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x18], ecx
ja 0x446963
push dword [esp + 0x24]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x78]
push esi
push eax
mov ecx, ebx
call fcn.00443520
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.00443520
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x60]
add esp, 0xc
push ebx
push esi
push dword [esp + 0x44]
call fcn.00443520
add esp, 0xc
lea edx, [esp + 0x44]
mov ecx, edi
push ebx
push esi
push dword [esp + 0x48]
call fcn.00443520
add esp, 0xc
lea ecx, [esp + 0x44]
call fcn.00441690
lea ecx, [esp + 0x54]
mov edx, eax
call fcn.00441690
lea ecx, [esp + 0x64]
and edx, eax
call fcn.00441690
lea ecx, [esp + 0x74]
and edx, eax
call fcn.00441690
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