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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x4a1014]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], 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]
cmp ecx, 1
jne 0x44b4e0
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 + 0x24], edx
cmp edx, dword [ebx + edi + 0x10]
je 0x44b570
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 + 0x24], eax
lea ecx, [eax - 1]
cmovl ecx, dword [esp + 0x24]
mov eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
movzx eax, word [edx + eax*2 + 4]
movsx ecx, ax
mov dword [esp + 0x1c], ecx
neg dword [esp + 0x1c]
test ax, ax
mov eax, dword [esp + 0x1c]
cmovns eax, ecx
add eax, edx
cmp eax, dword [ebx + edi + 0x14]
je 0x44b570
mov dword [ebx + edi + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + edi + 0x18], 0xffffffff
mov dword [ebx + edi + 0x44], 0
test dword [edi + 0x78], 0x100000
mov dword [esp + 0x24], eax
jne 0x44b570
mov dword [ebx + edi + 0x34], 0
mov dword [esp + 0x24], eax
mov eax, dword [ebx + edi + 4]
xor edx, edx
test eax, eax
mov dword [esp + 0x28], edx
lea ecx, [eax - 1]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_786]
cmove ecx, dword [edi + 0xec]
mov dword [esp + 0x1c], eax
cmp dword [ebx + edi + 0x18], ecx
je 0x44b7fe
mov eax, dword [ebx + edi + 0x14]
mov dword [ebx + edi + 0x18], ecx
mov dword [esp + 0x20], eax
movzx eax, word [eax + ecx*2]
mov dx, ax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
test dx, dx
jns 0x44b5ff
test eax, 0x4000
jne 0x44b5d8
test al, 0x40
jne 0x44b5eb
cmp dword [ebx + edi + 0x1c], 0
jl 0x44b5eb
mov eax, ecx
sub eax, dword [ebx + edi + 0x1c]
and eax, 0x1f
cmp al, 0xf
ja 0x44b5e7
sar dx, 8
mov word [esp + 0x14], dx
mov eax, dword [esp + 0x14]
jmp 0x44b5eb
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
and eax, 0x3f
movzx eax, word [edx + eax*2]
mov dword [esp + 0x14], eax
mov dx, ax
jmp 0x44b603
mov dword [ebx + edi + 0x1c], ecx
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
mov dword [esp + 0x2c], eax
test ax, ax
jle 0x44b65e
mov eax, dword [edi + 0x44]
test byte [eax + 0x2a], 0x40
je 0x44b65e
mov eax, dword [esp + 0x2c]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movzx eax, ax
mov dword [esp + 0x14], eax
mov dx, ax
mov dword [esp + 0x28], 1
mulsd xmm0, qword [0x492bb8]
mulsd xmm0, qword [0x492b48]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0xe8], xmm0
mov dword [ebx + edi + 0x20], 0
movsx ecx, dx
add ecx, dword [esp + 0x20]
cmp dword [ebx + edi + 0x20], ecx
je 0x44b7fa
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 0x44b696
cmp eax, dword [ebx + edi + 0x2c]
je 0x44b6b0
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 0x44b6cc
cmp edx, eax
jle 0x44b6cc
mov dword [ebx + edi + 0x4c], 0
mov edx, dword [ebx + edi + 0x44]
cmp edx, eax
jl 0x44b6de
mov dword [ebx + edi + 0x44], 0
xor edx, edx
cmp dword [ebx + edi + 0xc], 0
movzx ecx, word [ecx + edx*2 + 8]
jne 0x44b765
movss xmm0, dword [edi + 0xe4]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x1c]
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 [eax + 8]
call dword [esp + 0x34]
movsx eax, word [esp + 0x40]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x42]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x48]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x4a]
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 0x44b7fa
cmp dword [ebx + edi + 0x28], 0
jne 0x44b77d
mov dword [ebx + edi + 0x48], 0
mov eax, dword [edi + 0xdc]
test eax, eax
je 0x44b9dc
movss xmm0, dword [edi + 0xe4]
lea ecx, [esp + 0x34]
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 + 0x34]
movsx eax, word [esp + 0x40]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x42]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x48]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x4a]
mov dword [edi + 0x5c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x30], 0
jne 0x44b810
cmp dword [ebx + edi + 0x4c], 0
je 0x44b9dc
test edx, edx
jne 0x44b825
cmp dword [ebx + edi + 0x48], edx
jne 0x44b825
cmp dword [esp + 0x24], 4
jne 0x44b9dc
mov eax, dword [ebx + edi + 0x30]
cmp esi, dword [ebx + edi + 0x24]
je 0x44b8b3
mov dword [ebx + edi + 0x24], esi
test eax, eax
jne 0x44b84e
mov eax, dword [ebx + edi + 0x28]
mov dword [ebx + edi + 0x38], eax
mov eax, dword [ebx + edi + 8]
test eax, eax
je 0x44b8b3
dec eax
jmp 0x44b8af
mov ecx, dword [edi + 0xf8]
sub ecx, dword [edi + 0xf4]
jne 0x44b89a
cmp dword [ebx + edi + 8], ecx
je 0x44b889
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 0x44b8b3
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebx + edi + 0x28]
mov dword [ebx + edi + 0x38], ecx
jmp 0x44b8b3
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 0x44b8c5
dec edx
jmp 0x44b945
mov esi, dword [ebx + edi + 0x38]
test esi, esi
je 0x44b9dc
cmp dword [ebx + edi + 0xc], 0
jne 0x44b9dc
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 0x44b90c
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 0x44b93d
mov esi, dword [ebx + edi + 0x48]
inc edx
sub ecx, 0x64
cmp edx, esi
jl 0x44b938
mov eax, dword [ebx + edi + 0x3c]
mov edx, dword [ebx + edi + 0x40]
test eax, eax
je 0x44b938
add eax, 0xffffffff
mov dword [ebx + edi + 0x3c], eax
je 0x44b9ee
cmp ecx, 0x64
jg 0x44b917
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 0x44b9dc
movss xmm0, dword [edi + 0xe4]
lea ecx, [esp + 0x54]
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 + 0x34]
movsx eax, word [esp + 0x60]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x62]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x68]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x6a]
mov dword [edi + 0x5c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret
lea edx, [esi - 1]
mov dword [ebx + edi + 0x44], edx
test edx, edx
jns 0x44ba03
mov dword [ebx + edi + 0x44], 0
xor edx, edx
cmp dword [ebx + edi], 0
mov dword [ebx + edi + 0x48], 0
je 0x44ba28
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 + 0x13], 0
movsx eax, word [esi + 6]
cmp edx, eax
jge 0x44ba64
movzx edx, word [esi + edx*2 + 8]
cmp edx, dword [edi + 0xdc]
je 0x44ba64
mov al, 1
mov dword [edi + 0xdc], edx
mov dword [edi + 0xfc], 1
mov dword [edi + 0x100], 1
jmp 0x44ba68
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
mov dword [ebx + edi + 0x34], ecx
mov ecx, 0x200
test word [edx + 0x28], cx
jne 0x44b9dc
cmp dword [esp + 0x28], 0
jne 0x44ba8a
test al, al
je 0x44bb00
movss xmm0, dword [edi + 0xe4]
lea eax, [esp + 0x34]
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 + 0x34]
movsx eax, word [esp + 0x40]
mov edx, dword [esp + 0x18]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x42]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x48]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x4a]
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.00435eb0
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x74]
pop edi
mov dword [eax + 0xec], esi
pop esi
pop ebx
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret