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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x4ae008]
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 0x43225e
lea edx, [ecx - 1]
mov dword [esp + 0x1c], edx
cmp eax, 1
jne 0x432276
test edx, edx
jne 0x43226b
xor eax, eax
jmp 0x432276
mov ecx, 2
cmp edx, 0x4b
cmovge eax, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x43227f
lea eax, [ecx - 1]
cmp eax, dword [esi + 0x10]
je 0x4322cc
mov dword [esi + 0x10], eax
movzx ecx, word [ebx + 6]
movzx edx, word [ecx + ebx + 2]
add ecx, ebx
cmp eax, edx
jl 0x432299
lea eax, [edx - 1]
movsx eax, word [ecx + eax*2 + 4]
test eax, eax
jns 0x4322a4
neg eax
add eax, ecx
cmp eax, dword [esi + 0x14]
je 0x4322cc
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x44], 0
test dword [edi + 0x78], 0x100000
jne 0x4322cc
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 0x4322e2
lea ecx, [eax - 1]
cmp dword [esi + 0x18], ecx
je 0x432522
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 0x432345
test ebx, 0x4000
jne 0x432324
test bl, 0x40
jne 0x432331
cmp dword [esi + 0x1c], 0
jl 0x432331
mov eax, ecx
sub eax, dword [esi + 0x1c]
and eax, 0x1f
cmp al, 0xf
jg 0x432331
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 0x432348
mov dword [esi + 0x1c], ecx
mov ebx, dword [esp + 0x18]
movzx eax, word [ebx]
test ax, ax
jle 0x43239a
mov eax, dword [edi + 0x44]
test byte [eax + 0x2a], 0x40
je 0x43239a
movzx eax, word [ebx]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mov dword [esp + 0xc], eax
mulsd xmm0, qword [0x4921f0]
mov dword [esp + 0x14], 1
mov dx, ax
mulsd xmm0, qword [0x492190]
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 0x43251e
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 0x4323ca
cmp eax, dword [esi + 0x2c]
je 0x4323df
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 0x4323f9
dec eax
cmp eax, edx
jl 0x4323f9
mov dword [esi + 0x4c], 0
cmp dword [esi + 0x44], edx
jl 0x432405
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 0x43248c
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 0x43251e
cmp dword [esi + 0x28], 0
jne 0x4324a3
mov dword [esi + 0x48], 0
mov eax, dword [edi + 0xdc]
test eax, eax
je 0x4326bd
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.0046d3f6
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x20], 0
jne 0x432533
cmp dword [esi + 0x4c], 0
je 0x4326bd
test edx, edx
jne 0x432540
cmp dword [esi + 0x48], edx
je 0x4326bd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x30]
cmp eax, dword [esi + 0x24]
je 0x4325b8
mov dword [esi + 0x24], eax
test ecx, ecx
jne 0x432563
mov eax, dword [esi + 0x28]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x4325b8
dec eax
jmp 0x4325b5
mov ebx, dword [edi + 0xf8]
sub ebx, dword [edi + 0xf4]
jne 0x4325a5
cmp dword [esi + 8], ebx
je 0x432599
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 0x4325b8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 0x28]
jmp 0x4325b5
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 0x4325c5
dec ecx
jmp 0x432638
mov ebx, dword [esi + 0x38]
test ebx, ebx
je 0x4326bd
cmp dword [esi + 0xc], 0
jne 0x4326bd
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 0x432608
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 0x432632
nop
inc ecx
sub edx, 0x64
cmp ecx, dword [esi + 0x48]
jl 0x43262d
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
test eax, eax
je 0x43262d
dec eax
mov dword [esi + 0x3c], eax
je 0x4326cf
cmp edx, 0x64
jg 0x432610
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 0x4326bd
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.0046d3f6
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x48]
dec eax
cmp dword [esi], 0
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
je 0x4326f6
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ebx, dword [esi + 0x20]
mov ecx, eax
movsx eax, word [ebx + 6]
cmp ecx, eax
jge 0x43272a
movsx eax, word [ebx + ecx*2 + 8]
cmp eax, dword [edi + 0xdc]
je 0x43272a
mov dword [edi + 0xdc], eax
mov dword [edi + 0xfc], 1
mov dword [edi + 0x100], 1
mov ebx, dword [esp + 0x10]
mov eax, 0x200
mov dword [esi + 0x34], edx
test word [ebx + 0x28], ax
jne 0x4326bd
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4327b8
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.00459750
mov ecx, dword [esp + 0x6c]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046d3f6
mov esp, ebp
pop ebp
ret