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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x49c014]
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 0x44b510
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 0x44b5a0
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 0x44b5a0
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 0x44b5a0
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 0x44b82e
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 0x44b62f
test eax, 0x4000
jne 0x44b608
test al, 0x40
jne 0x44b61b
cmp dword [ebx + edi + 0x1c], 0
jl 0x44b61b
mov eax, ecx
sub eax, dword [ebx + edi + 0x1c]
and eax, 0x1f
cmp al, 0xf
ja 0x44b617
sar dx, 8
mov word [esp + 0x14], dx
mov eax, dword [esp + 0x14]
jmp 0x44b61b
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 0x44b633
mov dword [ebx + edi + 0x1c], ecx
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
mov dword [esp + 0x2c], eax
test ax, ax
jle 0x44b68e
mov eax, dword [edi + 0x44]
test byte [eax + 0x2a], 0x40
je 0x44b68e
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 [0x48e020]
mulsd xmm0, qword [0x48dfb0]
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 0x44b82a
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 0x44b6c6
cmp eax, dword [ebx + edi + 0x2c]
je 0x44b6e0
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 0x44b6fc
cmp edx, eax
jle 0x44b6fc
mov dword [ebx + edi + 0x4c], 0
mov edx, dword [ebx + edi + 0x44]
cmp edx, eax
jl 0x44b70e
mov dword [ebx + edi + 0x44], 0
xor edx, edx
cmp dword [ebx + edi + 0xc], 0
movzx ecx, word [ecx + edx*2 + 8]
jne 0x44b795
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 0x44b82a
cmp dword [ebx + edi + 0x28], 0
jne 0x44b7ad
mov dword [ebx + edi + 0x48], 0
mov eax, dword [edi + 0xdc]
test eax, eax
je 0x44ba0c
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.00461195
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x30], 0
jne 0x44b840
cmp dword [ebx + edi + 0x4c], 0
je 0x44ba0c
test edx, edx
jne 0x44b855
cmp dword [ebx + edi + 0x48], edx
jne 0x44b855
cmp dword [esp + 0x24], 4
jne 0x44ba0c
mov eax, dword [ebx + edi + 0x30]
cmp esi, dword [ebx + edi + 0x24]
je 0x44b8e3
mov dword [ebx + edi + 0x24], esi
test eax, eax
jne 0x44b87e
mov eax, dword [ebx + edi + 0x28]
mov dword [ebx + edi + 0x38], eax
mov eax, dword [ebx + edi + 8]
test eax, eax
je 0x44b8e3
dec eax
jmp 0x44b8df
mov ecx, dword [edi + 0xf8]
sub ecx, dword [edi + 0xf4]
jne 0x44b8ca
cmp dword [ebx + edi + 8], ecx
je 0x44b8b9
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 0x44b8e3
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebx + edi + 0x28]
mov dword [ebx + edi + 0x38], ecx
jmp 0x44b8e3
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 0x44b8f5
dec edx
jmp 0x44b975
mov esi, dword [ebx + edi + 0x38]
test esi, esi
je 0x44ba0c
cmp dword [ebx + edi + 0xc], 0
jne 0x44ba0c
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 0x44b93c
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 0x44b96d
mov esi, dword [ebx + edi + 0x48]
inc edx
sub ecx, 0x64
cmp edx, esi
jl 0x44b968
mov eax, dword [ebx + edi + 0x3c]
mov edx, dword [ebx + edi + 0x40]
test eax, eax
je 0x44b968
add eax, 0xffffffff
mov dword [ebx + edi + 0x3c], eax
je 0x44ba1e
cmp ecx, 0x64
jg 0x44b947
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 0x44ba0c
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.00461195
mov esp, ebp
pop ebp
ret
lea edx, [esi - 1]
mov dword [ebx + edi + 0x44], edx
test edx, edx
jns 0x44ba33
mov dword [ebx + edi + 0x44], 0
xor edx, edx
cmp dword [ebx + edi], 0
mov dword [ebx + edi + 0x48], 0
je 0x44ba58
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 0x44ba94
movzx edx, word [esi + edx*2 + 8]
cmp edx, dword [edi + 0xdc]
je 0x44ba94
mov al, 1
mov dword [edi + 0xdc], edx
mov dword [edi + 0xfc], 1
mov dword [edi + 0x100], 1
jmp 0x44ba98
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 0x44ba0c
cmp dword [esp + 0x28], 0
jne 0x44baba
test al, al
je 0x44bb30
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.00435c50
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.00461195
mov esp, ebp
pop ebp
ret