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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x4a7ff8]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edx
mov esi, dword [edi + 0xb8]
mov eax, dword [edi + 8]
mov ecx, dword [esi + edi + 8]
mov edx, dword [edi + 0xf0]
mov ebx, dword [edi + 0x44]
add esi, edi
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x43204e
lea edx, [ecx - 1]
mov dword [esp + 0x1c], edx
cmp eax, 1
jne 0x432066
test edx, edx
jne 0x43205b
xor eax, eax
jmp 0x432066
mov ecx, 2
cmp edx, 0x4b
cmovge eax, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x43206f
lea eax, [ecx - 1]
cmp eax, dword [esi + 0x10]
je 0x4320bc
mov dword [esi + 0x10], eax
movzx ecx, word [ebx + 6]
movzx edx, word [ecx + ebx + 2]
add ecx, ebx
cmp eax, edx
jl 0x432089
lea eax, [edx - 1]
movsx eax, word [ecx + eax*2 + 4]
test eax, eax
jns 0x432094
neg eax
add eax, ecx
cmp eax, dword [esi + 0x14]
je 0x4320bc
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x44], 0
test dword [edi + 0x78], 0x100000
jne 0x4320bc
mov dword [esi + 0x34], 0
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0xec]
xor edx, edx
mov dword [esp + 0x14], edx
test eax, eax
je 0x4320d2
lea ecx, [eax - 1]
cmp dword [esi + 0x18], ecx
je 0x432312
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
movzx ebx, word [edx + ecx*2]
mov dword [esp + 0x18], edx
mov dx, bx
mov dword [esp + 0xc], ebx
test dx, dx
jns 0x432135
test ebx, 0x4000
jne 0x432114
test bl, 0x40
jne 0x432121
cmp dword [esi + 0x1c], 0
jl 0x432121
mov eax, ecx
sub eax, dword [esi + 0x1c]
and eax, 0x1f
cmp al, 0xf
jg 0x432121
sar dx, 8
mov word [esp + 0xc], dx
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
and ebx, 0x3f
movzx eax, word [eax + ebx*2]
mov dword [esp + 0xc], eax
mov dx, ax
jmp 0x432138
mov dword [esi + 0x1c], ecx
mov ebx, dword [esp + 0x18]
movzx eax, word [ebx]
test ax, ax
jle 0x43218a
mov eax, dword [edi + 0x44]
test byte [eax + 0x2a], 0x40
je 0x43218a
movzx eax, word [ebx]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mov dword [esp + 0xc], eax
mulsd xmm0, qword [0x48c340]
mov dword [esp + 0x14], 1
mov dx, ax
mulsd xmm0, qword [0x48c2e0]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0xe8], xmm0
mov dword [esi + 0x20], 0
movsx ecx, dx
add ecx, ebx
cmp dword [esi + 0x20], ecx
je 0x43230e
mov dword [esi + 0x20], ecx
movsx eax, word [ecx + 2]
mov dword [esi + 0x3c], eax
movsx eax, word [ecx + 4]
mov dword [esi + 0x40], eax
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
cmp edx, dword [esi + 0x28]
jne 0x4321ba
cmp eax, dword [esi + 0x2c]
je 0x4321cf
mov dword [esi + 0x2c], eax
sub eax, edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], edx
mov dword [esi + 0x24], 0xffffffff
movsx edx, word [ecx + 6]
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x48], edx
test eax, eax
je 0x4321e9
dec eax
cmp eax, edx
jl 0x4321e9
mov dword [esi + 0x4c], 0
cmp dword [esi + 0x44], edx
jl 0x4321f5
mov dword [esi + 0x44], 0
cmp dword [esi + 0xc], 0
mov eax, dword [esi + 0x44]
mov ebx, dword [esp + 0x10]
movsx eax, word [ecx + eax*2 + 8]
jne 0x43227c
movss xmm0, dword [edi + 0xe4]
lea ecx, [esp + 0x24]
push ecx
sub esp, 0xc
mov dword [edi + 0xdc], eax
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 [ebx + 8]
call dword [sym.imp.MMFS2.dll_Ordinal_786]
movsx eax, word [esp + 0x30]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x32]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x38]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x3a]
mov dword [edi + 0x5c], eax
mov dword [edi + 0xfc], 1
mov dword [edi + 0x100], 1
cmp dword [esi + 0x48], 1
jne 0x43230e
cmp dword [esi + 0x28], 0
jne 0x432293
mov dword [esi + 0x48], 0
mov eax, dword [edi + 0xdc]
test eax, eax
je 0x4324ad
movss xmm0, dword [edi + 0xe4]
lea ecx, [esp + 0x24]
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 [ebx + 8]
call dword [sym.imp.MMFS2.dll_Ordinal_786]
movsx eax, word [esp + 0x30]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x32]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x38]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x3a]
mov dword [edi + 0x5c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0046d049
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x20], 0
jne 0x432323
cmp dword [esi + 0x4c], 0
je 0x4324ad
test edx, edx
jne 0x432330
cmp dword [esi + 0x48], edx
je 0x4324ad
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x30]
cmp eax, dword [esi + 0x24]
je 0x4323a8
mov dword [esi + 0x24], eax
test ecx, ecx
jne 0x432353
mov eax, dword [esi + 0x28]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x4323a8
dec eax
jmp 0x4323a5
mov ebx, dword [edi + 0xf8]
sub ebx, dword [edi + 0xf4]
jne 0x432395
cmp dword [esi + 8], ebx
je 0x432389
imul ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, dword [esi + 0x28]
cmp ecx, dword [esi + 0x2c]
cmovg ecx, dword [esi + 0x2c]
mov dword [esi + 0x38], ecx
jmp 0x4323a8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 0x28]
jmp 0x4323a5
imul eax, ecx
cdq
idiv ebx
add eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x2c]
cmovg eax, dword [esi + 0x2c]
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x20]
test ecx, ecx
jle 0x4323b5
dec ecx
jmp 0x432428
mov ebx, dword [esi + 0x38]
test ebx, ebx
je 0x4324ad
cmp dword [esi + 0xc], 0
jne 0x4324ad
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x44]
test dword [eax + 0xc], 0x8000
je 0x4323f8
mov eax, dword [esp + 0x10]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [eax + 0x440]
cvttsd2si ebx, xmm0
add edx, ebx
cmp edx, 0x64
jle 0x432422
nop
inc ecx
sub edx, 0x64
cmp ecx, dword [esi + 0x48]
jl 0x43241d
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
test eax, eax
je 0x43241d
dec eax
mov dword [esi + 0x3c], eax
je 0x4324bf
cmp edx, 0x64
jg 0x432400
mov eax, dword [esi + 0x20]
mov dword [esi + 0x34], edx
mov dword [esi + 0x44], ecx
movsx eax, word [eax + ecx*2 + 8]
mov dword [edi + 0xdc], eax
mov dword [edi + 0xfc], 1
mov dword [edi + 0x100], 1
test eax, eax
je 0x4324ad
movss xmm0, dword [edi + 0xe4]
lea ecx, [esp + 0x44]
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 + 0x24]
push dword [eax + 8]
call dword [sym.imp.MMFS2.dll_Ordinal_786]
movsx eax, word [esp + 0x50]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x52]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x58]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x5a]
mov dword [edi + 0x5c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0046d049
mov esp, ebp
pop ebp
ret
cmp dword [esi], 0
mov dword [esi + 0x48], 0
je 0x4324df
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ebx, dword [esp + 0x10]
mov eax, 0x200
test word [ebx + 0x28], ax
jne 0x4324ad
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43256a
movss xmm0, dword [edi + 0xe4]
lea eax, [esp + 0x24]
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 [ebx + 8]
call dword [sym.imp.MMFS2.dll_Ordinal_786]
movsx eax, word [esp + 0x30]
mov dword [edi + 0x60], eax
movsx eax, word [esp + 0x32]
mov dword [edi + 0x64], eax
movsx eax, word [esp + 0x38]
mov dword [edi + 0x58], eax
movsx eax, word [esp + 0x3a]
mov dword [edi + 0x5c], eax
mov dword [edi + 0xfc], 1
mov dword [edi + 0x100], 1
movzx ecx, word [edi + 0x18]
mov eax, dword [esi + 0x10]
or ecx, 0xfffe0000
push ecx
push edi
mov dword [ebx + 0xec], eax
call fcn.00459480
mov ecx, dword [esp + 0x6c]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046d049
mov esp, ebp
pop ebp
ret