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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4a0014]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], edx
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0xb8]
mov ecx, dword [edi + 0xd8]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + edi + 8]
test eax, eax
lea esi, [eax - 1]
cmove esi, dword [edi + 0xf0]
mov dword [esp + 0x24], esi
cmp ecx, 1
jne 0x44a4e4
xor eax, eax
test esi, esi
cmovne eax, ecx
cmp esi, 0x4b
mov ecx, eax
mov eax, 2
cmovge ecx, eax
mov eax, dword [ebx + edi]
test eax, eax
lea edx, [eax - 1]
cmove edx, ecx
mov dword [esp + 0x10], edx
cmp edx, dword [ebx + edi + 0x10]
je 0x44a55e
mov eax, dword [esp + 0x20]
mov dword [ebx + edi + 0x10], edx
movzx edx, word [eax + 6]
add edx, eax
movzx eax, word [edx + 2]
cmp dword [esp + 0x10], eax
lea ecx, [eax - 1]
cmovl ecx, dword [esp + 0x10]
movzx eax, word [edx + ecx*2 + 4]
movsx ecx, ax
mov dword [esp + 0x10], ecx
neg dword [esp + 0x10]
test ax, ax
mov eax, dword [esp + 0x10]
cmovns eax, ecx
add eax, edx
cmp eax, dword [ebx + edi + 0x14]
je 0x44a55e
mov dword [ebx + edi + 0x14], eax
mov dword [ebx + edi + 0x18], 0xffffffff
mov dword [ebx + edi + 0x44], 0
test dword [edi + 0x78], 0x100000
jne 0x44a55e
mov dword [ebx + edi + 0x34], 0
mov eax, dword [ebx + edi + 4]
xor edx, edx
test eax, eax
mov dword [esp + 0x1c], edx
lea ecx, [eax - 1]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_786]
cmove ecx, dword [edi + 0xec]
mov dword [esp + 0x10], eax
cmp dword [ebx + edi + 0x18], ecx
je 0x44a7dc
mov edx, dword [ebx + edi + 0x14]
mov dword [ebx + edi + 0x18], ecx
mov dword [esp + 0x20], edx
movzx esi, word [edx + ecx*2]
mov dx, si
mov dword [esp + 0x14], esi
test dx, dx
jns 0x44a5e7
test esi, 0x4000
jne 0x44a5c6
test byte [esp + 0x14], 0x40
jne 0x44a5d3
cmp dword [ebx + edi + 0x1c], 0
jl 0x44a5d3
mov eax, ecx
sub eax, dword [ebx + edi + 0x1c]
and eax, 0x1f
cmp al, 0xf
ja 0x44a5d3
sar dx, 8
mov word [esp + 0x14], dx
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
and esi, 0x3f
movzx eax, word [eax + esi*2]
mov dword [esp + 0x14], eax
mov dx, ax
jmp 0x44a5eb
mov dword [ebx + edi + 0x1c], ecx
mov esi, dword [esp + 0x20]
movzx eax, word [esi]
test ax, ax
jle 0x44a63e
mov eax, dword [edi + 0x44]
test byte [eax + 0x2a], 0x40
je 0x44a63e
movzx eax, word [esi]
movd xmm0, ecx
mov dx, ax
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 1
mulsd xmm0, qword [0x491bb0]
mulsd xmm0, qword [0x491b40]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0xe8], xmm0
mov dword [ebx + edi + 0x20], 0
movsx ecx, dx
add ecx, esi
cmp dword [ebx + edi + 0x20], ecx
je 0x44a7d4
mov dword [ebx + edi + 0x20], ecx
movsx eax, word [ecx + 2]
mov dword [ebx + edi + 0x3c], eax
movsx eax, word [ecx + 4]
mov dword [ebx + edi + 0x40], eax
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
cmp edx, dword [ebx + edi + 0x28]
jne 0x44a674
cmp eax, dword [ebx + edi + 0x2c]
je 0x44a68e
mov dword [ebx + edi + 0x2c], eax
sub eax, edx
mov dword [ebx + edi + 0x28], edx
mov dword [ebx + edi + 0x30], eax
mov dword [ebx + edi + 0x38], edx
mov dword [ebx + edi + 0x24], 0xffffffff
movsx eax, word [ecx + 6]
mov edx, dword [ebx + edi + 0x4c]
mov dword [ebx + edi + 0x48], eax
test edx, edx
je 0x44a6aa
cmp edx, eax
jle 0x44a6aa
mov dword [ebx + edi + 0x4c], 0
mov edx, dword [ebx + edi + 0x44]
cmp edx, eax
jl 0x44a6bc
mov dword [ebx + edi + 0x44], 0
xor edx, edx
cmp dword [ebx + edi + 0xc], 0
movzx ecx, word [ecx + edx*2 + 8]
mov esi, dword [esp + 0x18]
jne 0x44a743
movss xmm0, dword [edi + 0xe4]
lea eax, [esp + 0x2c]
push eax
sub esp, 0xc
mov dword [edi + 0xdc], ecx
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0xe0]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0xe8]
movss dword [esp], xmm0
push ecx
push dword [esi + 8]
call dword [esp + 0x28]
movsx eax, word [esp + 0x38]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x3a]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x40]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x42]
mov dword [edi + 0x5c], eax
mov dword [edi + 0xfc], 1
mov dword [edi + 0x100], 1
mov eax, dword [ebx + edi + 0x48]
cmp eax, 1
jne 0x44a7d4
cmp dword [ebx + edi + 0x28], 0
jne 0x44a75b
mov dword [ebx + edi + 0x48], 0
mov eax, dword [edi + 0xdc]
test eax, eax
je 0x44a9b5
movss xmm0, dword [edi + 0xe4]
lea ecx, [esp + 0x2c]
push ecx
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0xe0]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0xe8]
movss dword [esp], xmm0
push eax
push dword [esi + 8]
call dword [esp + 0x28]
movsx eax, word [esp + 0x38]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x3a]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x40]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x42]
mov dword [edi + 0x5c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00462733
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x28], 0
jne 0x44a7ee
cmp dword [ebx + edi + 0x4c], 0
je 0x44a9b5
test edx, edx
jne 0x44a7fc
cmp dword [ebx + edi + 0x48], edx
je 0x44a9b5
mov eax, dword [ebx + edi + 0x30]
cmp esi, dword [ebx + edi + 0x24]
je 0x44a88a
mov dword [ebx + edi + 0x24], esi
test eax, eax
jne 0x44a825
mov eax, dword [ebx + edi + 0x28]
mov dword [ebx + edi + 0x38], eax
mov eax, dword [ebx + edi + 8]
test eax, eax
je 0x44a88a
dec eax
jmp 0x44a886
mov ecx, dword [edi + 0xf8]
sub ecx, dword [edi + 0xf4]
jne 0x44a871
cmp dword [ebx + edi + 8], ecx
je 0x44a860
mov ecx, dword [ebx + edi + 0x2c]
imul esi, eax
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + edi + 0x28]
cmp eax, ecx
cmovle ecx, eax
mov dword [ebx + edi + 0x38], ecx
jmp 0x44a88a
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebx + edi + 0x28]
mov dword [ebx + edi + 0x38], ecx
jmp 0x44a88a
imul eax, esi
cdq
idiv ecx
mov ecx, dword [ebx + edi + 0x28]
add ecx, eax
mov eax, dword [ebx + edi + 0x2c]
cmp ecx, eax
cmovle eax, ecx
mov dword [ebx + edi + 0x38], eax
mov edx, dword [ebx + edi + 0x4c]
mov esi, dword [ebx + edi + 0x20]
test edx, edx
jle 0x44a89c
dec edx
jmp 0x44a91e
mov esi, dword [ebx + edi + 0x38]
test esi, esi
je 0x44a9b5
cmp dword [ebx + edi + 0xc], 0
jne 0x44a9b5
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + edi + 0x34]
mov edx, dword [ebx + edi + 0x44]
mov eax, dword [eax + 0x1c]
test dword [eax + 0xc], 0x8000
je 0x44a8e3
mov eax, dword [esp + 0x18]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [eax + 0x440]
cvttsd2si esi, xmm0
add ecx, esi
cmp ecx, 0x64
jle 0x44a916
mov esi, dword [ebx + edi + 0x48]
nop
inc edx
sub ecx, 0x64
cmp edx, esi
jl 0x44a911
mov eax, dword [ebx + edi + 0x3c]
mov edx, dword [ebx + edi + 0x40]
test eax, eax
je 0x44a911
add eax, 0xffffffff
mov dword [ebx + edi + 0x3c], eax
je 0x44a9c7
cmp ecx, 0x64
jg 0x44a8f0
mov esi, dword [ebx + edi + 0x20]
mov dword [ebx + edi + 0x34], ecx
movsx eax, word [esi + 6]
cmp edx, eax
lea ecx, [eax - 1]
cmovl ecx, edx
xor eax, eax
test ecx, ecx
cmovns eax, ecx
mov dword [ebx + edi + 0x44], eax
movzx eax, word [esi + eax*2 + 8]
mov dword [edi + 0xdc], eax
mov dword [edi + 0xfc], 1
mov dword [edi + 0x100], 1
test eax, eax
je 0x44a9b5
movss xmm0, dword [edi + 0xe4]
lea ecx, [esp + 0x4c]
push ecx
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0xe0]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0xe8]
movss dword [esp], xmm0
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 8]
call dword [esp + 0x28]
movsx eax, word [esp + 0x58]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x5a]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x60]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x62]
mov dword [edi + 0x5c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00462733
mov esp, ebp
pop ebp
ret
cmp dword [ebx + edi], 0
lea edx, [esi - 1]
mov dword [ebx + edi + 0x44], edx
mov dword [ebx + edi + 0x48], 0
je 0x44a9f3
mov dword [ebx + edi], 0
mov dword [ebx + edi + 4], 0
mov dword [ebx + edi + 8], 0
mov esi, dword [ebx + edi + 0x20]
mov byte [esp + 0xf], 0
movsx eax, word [esi + 6]
cmp edx, eax
jge 0x44aa2f
movzx edx, word [esi + edx*2 + 8]
cmp edx, dword [edi + 0xdc]
je 0x44aa2f
mov al, 1
mov dword [edi + 0xdc], edx
mov dword [edi + 0xfc], 1
mov dword [edi + 0x100], 1
jmp 0x44aa33
mov al, byte [esp + 0xf]
mov edx, dword [esp + 0x18]
mov dword [ebx + edi + 0x34], ecx
mov ecx, 0x200
test word [edx + 0x28], cx
jne 0x44a9b5
cmp dword [esp + 0x1c], 0
jne 0x44aa55
test al, al
je 0x44aacb
movss xmm0, dword [edi + 0xe4]
lea eax, [esp + 0x2c]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0xe0]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0xe8]
movss dword [esp], xmm0
push dword [edi + 0xdc]
push dword [edx + 8]
call dword [esp + 0x28]
movsx eax, word [esp + 0x38]
mov edx, dword [esp + 0x18]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x3a]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x40]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x42]
mov dword [edi + 0x5c], eax
mov dword [edi + 0xfc], 1
mov dword [edi + 0x100], 1
movzx ecx, word [edi + 0x18]
mov esi, dword [edx + 0xec]
or ecx, 0xfffe0000
mov eax, dword [ebx + edi + 0x10]
push ecx
push edi
mov dword [edx + 0xec], eax
call fcn.00435600
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x6c]
pop edi
mov dword [eax + 0xec], esi
pop esi
pop ebx
xor ecx, esp
call fcn.00462733
mov esp, ebp
pop ebp
ret