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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x43c040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x43c6e8]
lea eax, [ebp - 0x8c]
push edi
mov edi, ecx
mov dword [ebp - 0x8c], 0xf
push eax
movss xmm0, dword [esi + 0x1580]
lea ecx, [esi + 0x1cf0]
movss xmm1, dword [esi + 0x157c]
mov dword [ebp - 0x78], edi
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x88], xmm1
movss dword [ebp - 0x84], xmm0
call fcn.00416c00
mov ecx, dword [0x43c6e8]
movss xmm0, dword [ebp - 0x50]
movss dword [esi + 0x1580], xmm0
mov dword [esi + 0x157c], 0
xor esi, esi
mov byte [edi + 0x67], 0
mov eax, dword [ecx + 0x1ba8]
movss xmm1, dword [edi + 0x28]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x58], 0
movss xmm0, dword [eax + 0x3c]
mulss xmm0, dword [0x438b08]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x74], 1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x28], xmm1
mov eax, dword [ecx + 0x1ba8]
movss xmm0, dword [eax + 0x3c]
mulss xmm0, dword [0x438b08]
mov dword [ebp - 0x20], esi
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [edi]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x30]
movss dword [edi + 0x30], xmm0
xorps xmm0, xmm0
movaps xmmword [ebp - 0x40], xmm0
movaps xmmword [ebp - 0x30], xmm0
test eax, eax
jle 0x42d195
mov dword [ebp - 0x4c], esi
xor edx, edx
nop dword [eax]
mov ecx, dword [edi + 8]
mov eax, dword [ecx + edx + 8]
cmp eax, dword [edi + 0x24]
jl 0x42d154
cmp byte [ecx + edx + 0x24], 0
jne 0x42d154
cmp esi, dword [ebp - 0x44]
je 0x42d0e1
mov eax, dword [ebp - 0x4c]
movups xmm0, xmmword [ecx + edx]
movups xmm1, xmmword [ecx + edx + 0x10]
movq xmm2, qword [ecx + edx + 0x20]
movups xmmword [ecx + eax], xmm0
movups xmmword [ecx + eax + 0x10], xmm1
movq qword [ecx + eax + 0x20], xmm2
mov eax, dword [edi + 8]
add eax, dword [ebp - 0x4c]
mov word [eax + 0x22], si
mov eax, dword [eax + 4]
test al, 0x40
je 0x42d0f6
xor ecx, ecx
jmp 0x42d101
test al, 0x80
mov ecx, 0
setne cl
inc ecx
test esi, esi
jle 0x42d146
mov eax, dword [edi + 8]
mov edi, dword [ebp - 0x4c]
mov eax, dword [edi + eax - 0x24]
test al, 0x40
je 0x42d117
xor eax, eax
jmp 0x42d122
test al, 0x80
mov eax, 0
setne al
inc eax
mov edi, dword [ebp - 0x78]
test ecx, ecx
jne 0x42d131
test eax, eax
je 0x42d146
mov byte [ebp - 0x58], 1
cmp eax, 2
jne 0x42d146
mov eax, dword [ebp - 0x58]
cmp ecx, 2
movzx eax, al
cmovne eax, dword [ebp - 0x74]
mov dword [ebp - 0x58], eax
lea eax, [ecx + ecx*2]
inc esi
inc dword [ebp + eax*4 - 0x40]
add dword [ebp - 0x4c], 0x28
jmp 0x42d181
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx + edx]
jne 0x42d163
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [ecx + edx]
jne 0x42d172
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
cmp eax, dword [ecx + edx]
jne 0x42d181
mov dword [edi + 0x18], 0
mov ecx, dword [ebp - 0x44]
add edx, 0x28
mov eax, dword [edi]
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, eax
jl 0x42d0a0
cmp eax, esi
je 0x42d1c8
mov eax, dword [edi + 4]
cmp esi, eax
jle 0x42d1c4
test eax, eax
je 0x42d1b0
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 4]
jmp 0x42d1b5
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edi
push eax
call fcn.00417330
mov dword [edi], esi
mov eax, esi
cmp byte [ebp - 0x58], 0
je 0x42d1e7
cmp eax, 1
jbe 0x42d1e7
push 0x42c860
push 0x28
push eax
push dword [edi + 8]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
cmp dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x34]
jle 0x42d206
mov eax, dword [ebp - 0x28]
add eax, ecx
test eax, eax
jle 0x42d206
mov eax, dword [ebp - 0x48]
movss xmm1, dword [eax + 0x157c]
jmp 0x42d20c
mov eax, dword [ebp - 0x48]
xorps xmm1, xmm1
movss dword [ebp - 0x38], xmm1
xorps xmm0, xmm0
test ecx, ecx
jle 0x42d226
cmp dword [ebp - 0x28], 0
jle 0x42d226
movss xmm0, dword [eax + 0x157c]
mov eax, dword [edi + 0x18]
xor esi, esi
movss dword [ebp - 0x2c], xmm0
mov dword [ebp - 0x4c], esi
test eax, eax
je 0x42d246
mov esi, eax
mov dword [ebp - 0x4c], eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x60]
test edx, edx
je 0x42d389
xor ecx, ecx
cmp dword [edi], ecx
jle 0x42d382
mov eax, dword [edi + 8]
mov dword [ebp - 0x54], eax
cmp dword [eax], edx
je 0x42d275
inc ecx
add eax, 0x28
mov dword [ebp - 0x54], eax
cmp ecx, dword [edi]
jl 0x42d261
jmp 0x42d382
test eax, eax
je 0x42d382
mov ecx, dword [eax + 4]
mov dword [ebp - 0x50], ecx
test cl, 0x20
jne 0x42d382
movzx ecx, word [edi + 0x64]
mov dword [ebp - 0x5c], ecx
mov ecx, eax
sub ecx, dword [edi + 8]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movzx edx, word [edi + 0x64]
movsx eax, dx
add ecx, eax
js 0x42d382
cmp ecx, dword [edi]
jge 0x42d382
lea eax, [ecx + ecx*4]
mov ecx, dword [edi + 8]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x44], eax
test cl, 0x20
jne 0x42d382
xor ecx, dword [ebp - 0x50]
test cl, 0xc0
jne 0x42d382
mov ecx, dword [ebp - 0x54]
movups xmm0, xmmword [ecx]
movaps xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [ecx + 0x10]
movaps xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [ecx + 0x20]
movq qword [ebp - 0x70], xmm0
test dx, dx
jle 0x42d314
mov eax, dword [ebp - 0x5c]
lea edx, [ecx + 0x28]
cwde
jmp 0x42d31f
mov edx, eax
lea ecx, [eax + 0x28]
mov eax, dword [ebp - 0x5c]
cwde
neg eax
lea eax, [eax + eax*4]
shl eax, 3
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x44]
add esp, 0xc
movaps xmm0, xmmword [ebp - 0x90]
movups xmmword [eax], xmm0
movaps xmm0, xmmword [ebp - 0xa0]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [eax + 0x20], xmm0
test dword [edi + 0xc], 0x400000
je 0x42d376
mov ecx, dword [0x43c6e8]
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2f60]
jb 0x42d376
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2f60], eax
mov eax, dword [edi + 0x60]
cmp eax, dword [edi + 0x14]
cmove esi, eax
mov dword [ebp - 0x4c], esi
mov dword [edi + 0x60], 0
mov eax, dword [edi + 0xc]
shr eax, 2
test al, 1
je 0x42d3a6
mov ecx, edi
call fcn.0042e080
test eax, eax
je 0x42d3a6
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov dword [edi + 0x14], eax
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
mov esi, dword [edi]
add eax, ecx
mov dword [ebp - 0x84], ecx
mov ecx, dword [edx + 0x1fe4]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x44], esi
cmp esi, ecx
jle 0x42d47c
test ecx, ecx
je 0x42d3ec
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x48]
sar eax, 1
add eax, ecx
jmp 0x42d3f1
mov eax, 8
cmp eax, dword [ebp - 0x44]
cmovg esi, eax
cmp esi, ecx
jle 0x42d479
mov eax, dword [0x43c6e8]
test eax, eax
je 0x42d40a
inc dword [eax + 0x36c]
lea eax, [esi*8]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [ebp - 0x48]
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [edx + 0x1fe8]
test eax, eax
je 0x42d46a
mov ecx, dword [edx + 0x1fe0]
shl ecx, 3
push ecx
push eax
push dword [ebp - 0x54]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov ecx, dword [eax + 0x1fe8]
test ecx, ecx
je 0x42d45d
mov eax, dword [0x43c6e8]
test eax, eax
je 0x42d45d
dec dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [ebp - 0x48]
add esp, 4
mov eax, dword [ebp - 0x54]
mov dword [edx + 0x1fe8], eax
mov dword [edx + 0x1fe4], esi
mov esi, dword [ebp - 0x44]
xor ecx, ecx
mov dword [edx + 0x1fe0], esi
mov eax, dword [edi]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0xffffffff
mov byte [ebp - 0x5c], cl
mov dword [ebp - 0x44], ecx
test eax, eax
jle 0x42d5ac
xor eax, eax
mov dword [ebp - 0x58], eax
jmp 0x42d4ab
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x58]
mov esi, dword [edi + 8]
add esi, eax
test ecx, ecx
je 0x42d4bc
mov eax, dword [ecx + 0xc]
cmp eax, dword [esi + 0xc]
jge 0x42d4c9
test dword [esi + 4], 0x200000
cmove ecx, esi
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [esi]
cmp ecx, dword [edi + 0x14]
movzx eax, al
cmove eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x42d4ee
cmp dword [edx + 0x1d74], ecx
cmove eax, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x98]
mov edx, dword [esi + 0x1c]
add edx, dword [edi + 0x8c]
shr eax, 0x14
not al
and al, 1
mov byte [ebp - 0x6c], al
push dword [ebp - 0x6c]
call fcn.0042ed40
add esp, 4
movss xmm1, dword [eax]
mov eax, dword [esi + 4]
movss dword [esi + 0x18], xmm1
test al, 0x40
je 0x42d529
xor ecx, ecx
jmp 0x42d534
test al, 0x80
mov ecx, 0
setne cl
inc ecx
lea edx, [ecx + ecx*2]
cmp ecx, dword [ebp - 0x50]
jne 0x42d549
mov eax, dword [ebp - 0x48]
movss xmm0, dword [eax + 0x157c]
jmp 0x42d54c
xorps xmm0, xmm0
mov edi, dword [ebp - 0x44]
addss xmm0, xmm1
add dword [ebp - 0x58], 0x28
mov dword [ebp - 0x50], ecx
addss xmm0, dword [ebp + edx*4 - 0x3c]
movss dword [ebp + edx*4 - 0x3c], xmm0
mov edx, dword [ebp + ecx*4 - 0x8c]
lea eax, [edx + 1]
mov dword [ebp + ecx*4 - 0x8c], eax
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x1fe8]
mov dword [eax + edx*8], edi
mov ecx, dword [ecx + 0x1fe8]
mov eax, dword [esi + 0x18]
mov dword [ecx + edx*8 + 4], eax
mov ecx, edi
mov edi, dword [ebp - 0x78]
inc ecx
mov eax, dword [esi + 0x18]
mov dword [esi + 0x14], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [edi]
cmp ecx, eax
mov ecx, dword [ebp - 0x54]
jl 0x42d4a5
movss xmm1, dword [ebp - 0x3c]
xorps xmm4, xmm4
addss xmm1, dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0x2c]
addss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [ebp - 0x20]
addss xmm1, xmm0
movss dword [edi + 0x44], xmm1
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
comiss xmm1, xmm0
jbe 0x42d61c
cmp eax, 1
jle 0x42d61c
mov eax, dword [edi + 0xc]
test al, 0x10
jne 0x42d61c
test al, al
jns 0x42d61c
mov ecx, edi
call fcn.0042dd70
xorps xmm4, xmm4
test eax, eax
je 0x42d61c
test dword [eax + 4], 0x200000
mov esi, dword [eax]
mov dword [ebp - 0x4c], esi
jne 0x42d61c
mov dword [edi + 0x14], esi
movss xmm3, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x3c]
addss xmm3, dword [ebp - 0x20]
addss xmm1, dword [ebp - 0x38]
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
movaps xmm2, xmm3
addss xmm2, xmm1
comiss xmm0, xmm2
seta al
test al, al
je 0x42d667
movss xmm2, dword [ebp - 0x30]
subss xmm0, xmm1
addss xmm2, dword [ebp - 0x2c]
subss xmm0, xmm3
subss xmm2, xmm0
maxss xmm2, xmm4
jmp 0x42d66b
subss xmm2, xmm0
comiss xmm2, xmm4
jbe 0x42d734
test byte [edi + 0xc], 0x40
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x40]
jne 0x42d696
test al, al
jne 0x42d734
lea edx, [ecx + esi]
mov dword [ebp - 0x44], edx
test al, al
je 0x42d6a4
add esi, ecx
jmp 0x42d6a9
test al, al
je 0x42d688
mov edx, dword [ebp - 0x34]
add esi, ecx
mov dword [ebp - 0x44], edx
jmp 0x42d6a9
xor esi, esi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x1fe8]
lea ecx, [eax + esi*8]
call fcn.0042b890
mov eax, dword [ebp - 0x44]
xorps xmm4, xmm4
add eax, esi
mov dword [ebp - 0x50], eax
cmp esi, eax
jge 0x42d734
nop dword [eax]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x1fe8]
mov eax, dword [ecx + esi*8]
lea edx, [eax + eax*4]
cvttss2si eax, dword [ecx + esi*8 + 4]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
ja 0x42d72e
mov ecx, dword [edi + 8]
mov eax, dword [ecx + edx*8 + 4]
test al, 0x40
je 0x42d700
xor eax, eax
jmp 0x42d70b
test al, 0x80
mov eax, 0
setne al
inc eax
movss xmm1, dword [ecx + edx*8 + 0x14]
lea eax, [eax + eax*2]
movss xmm0, dword [ebp + eax*4 - 0x3c]
subss xmm1, xmm2
subss xmm0, xmm1
movss dword [ebp + eax*4 - 0x3c], xmm0
movss dword [ecx + edx*8 + 0x14], xmm2
inc esi
cmp esi, dword [ebp - 0x50]
jl 0x42d6d0
xor ecx, ecx
mov dword [ebp - 0x44], 0
movaps xmm2, xmm4
mov dword [edi + 0x40], 0
mov dword [ebp - 0x74], ecx
nop word [eax + eax]
lea eax, [ecx + ecx*2]
shl eax, 2
mov dword [ebp - 0x50], eax
cmp ecx, 2
jne 0x42d77c
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm4
subss xmm1, dword [edi + 0x28]
subss xmm1, dword [ebp + eax - 0x3c]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
mov esi, dword [ebp + eax - 0x40]
xor edx, edx
test esi, esi
jle 0x42d7d9
mov eax, dword [ebp - 0x44]
lea ecx, [eax + eax*4]
lea ecx, [ecx*8 + 0x14]
add ecx, dword [edi + 8]
mov edi, dword [ebp - 0x50]
nop dword [eax]
movss dword [ecx - 4], xmm2
mov esi, dword [ebp + edi - 0x40]
lea eax, [esi - 1]
cmp edx, eax
jge 0x42d7bd
mov eax, dword [ebp - 0x48]
movss xmm0, dword [eax + 0x157c]
jmp 0x42d7c0
movaps xmm0, xmm4
addss xmm0, dword [ecx]
inc edx
add ecx, 0x28
addss xmm2, xmm0
cmp edx, esi
jl 0x42d7a0
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x74]
movss xmm1, dword [ebp + eax - 0x38]
inc ecx
add dword [ebp - 0x44], esi
addss xmm2, xmm1
mov dword [ebp - 0x74], ecx
movaps xmm0, xmm1
addss xmm0, dword [ebp + eax - 0x3c]
maxss xmm0, xmm4
addss xmm0, dword [edi + 0x40]
movss dword [edi + 0x40], xmm0
cmp ecx, 3
jl 0x42d750
cmp byte [ebp - 0x5c], 0
jne 0x42d817
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x14]
mov ecx, eax
test eax, eax
jne 0x42d835
cmp dword [edi + 0x18], eax
jne 0x42d835
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x42d835
mov eax, dword [eax]
mov ecx, eax
mov dword [edi + 0x14], eax
jmp 0x42d838
mov eax, dword [ebp - 0x4c]
movss xmm6, dword [ebp - 0x3c]
mov dword [edi + 0x1c], ecx
mov byte [edi + 0x68], 0
test eax, eax
je 0x42d95a
mov edx, dword [edi]
xor ecx, ecx
test edx, edx
jle 0x42d95a
mov esi, dword [edi + 8]
nop dword [eax + eax]
cmp dword [esi], eax
je 0x42d871
inc ecx
add esi, 0x28
cmp ecx, edx
jl 0x42d860
jmp 0x42d95a
test esi, esi
je 0x42d95a
test byte [esi + 4], 0xc0
jne 0x42d95a
mov ecx, dword [0x43c6e8]
mov eax, 0x66666667
movss xmm3, dword [edi + 0x30]
subss xmm3, dword [edi + 0x28]
movss xmm0, dword [ecx + 0x1944]
mov ecx, esi
sub ecx, dword [edi + 8]
imul ecx
subss xmm3, xmm6
mov eax, dword [ebp - 0x40]
subss xmm3, dword [ebp - 0x24]
sar edx, 4
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x6c], ecx
subss xmm3, dword [ebp - 0x2c]
cmp ecx, eax
jle 0x42d8d6
movaps xmm1, xmm0
xorps xmm1, xmmword [0x438d70]
jmp 0x42d8d9
movaps xmm1, xmm4
movss xmm2, dword [esi + 0x10]
mov ecx, dword [edi]
subss xmm2, xmm6
mov eax, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0x28]
inc eax
addss xmm1, xmm2
cmp eax, ecx
jl 0x42d8fb
movss xmm0, dword [0x438b40]
addss xmm2, dword [esi + 0x14]
movss xmm5, dword [edi + 0x4c]
comiss xmm5, xmm1
mov dword [edi + 0x50], 0
addss xmm2, xmm0
ja 0x42d943
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm3
jae 0x42d943
subss xmm2, xmm3
comiss xmm2, xmm5
jbe 0x42d95a
subss xmm1, xmm3
movss dword [edi + 0x4c], xmm2
subss xmm1, dword [edi + 0x48]
maxss xmm1, xmm4
movss dword [edi + 0x50], xmm1
jmp 0x42d95a
movss xmm0, dword [edi + 0x48]
subss xmm0, xmm2
movss dword [edi + 0x4c], xmm1
maxss xmm0, xmm4
movss dword [edi + 0x50], xmm0
movss xmm5, dword [edi + 0x28]
movss xmm0, dword [edi + 0x30]
movss xmm2, dword [edi + 0x40]
subss xmm0, xmm5
movss xmm3, dword [edi + 0x48]
movaps xmm1, xmm2
mov esi, dword [ebp - 0x48]
movss dword [ebp - 0x6c], xmm5
subss xmm1, xmm0
minss xmm3, xmm1
maxss xmm3, xmm4
movss dword [edi + 0x48], xmm3
movss xmm7, dword [edi + 0x30]
movaps xmm0, xmm7
subss xmm0, xmm5
movss xmm5, dword [edi + 0x4c]
subss xmm2, xmm0
minss xmm5, xmm2
maxss xmm5, xmm4
ucomiss xmm3, xmm5
movss dword [edi + 0x4c], xmm5
lahf
test ah, 0x44
jnp 0x42da52
movss xmm0, dword [esi + 0x1944]
mulss xmm0, dword [0x438bc0]
mov eax, dword [edi + 0x24]
movss xmm2, dword [edi + 0x54]
inc eax
maxss xmm2, xmm0
movaps xmm0, xmm5
subss xmm0, xmm3
andps xmm0, xmmword [0x438d60]
divss xmm0, dword [0x438af8]
maxss xmm2, xmm0
movss dword [edi + 0x54], xmm2
cmp eax, dword [esi + 0x1b48]
jl 0x42da48
movss xmm1, dword [esi + 0x1944]
mulss xmm1, dword [0x438ba4]
movss xmm0, dword [edi + 0x50]
comiss xmm0, xmm1
ja 0x42da48
comiss xmm5, xmm3
mulss xmm2, dword [esi + 0x18]
jbe 0x42da34
addss xmm3, xmm2
minss xmm3, xmm5
movss dword [edi + 0x48], xmm3
jmp 0x42da59
comiss xmm3, xmm5
jbe 0x42da4b
subss xmm3, xmm2
maxss xmm3, xmm5
movss dword [edi + 0x48], xmm3
jmp 0x42da59
movaps xmm3, xmm5
movss dword [edi + 0x48], xmm3
jmp 0x42da59
mov dword [edi + 0x54], 0
test dword [edi + 0xc], 0x100000
addss xmm6, dword [ebp - 0x6c]
subss xmm7, dword [ebp - 0x24]
addss xmm6, dword [ebp - 0x38]
subss xmm7, dword [ebp - 0x2c]
movss dword [edi + 0x58], xmm6
movss dword [edi + 0x5c], xmm7
jne 0x42dab8
mov ecx, dword [edi + 0x88]
lea eax, [edi + 0x84]
test ecx, ecx
jns 0x42dab2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x84]
call fcn.00417050
lea eax, [edi + 0x84]
mov dword [eax], 0
mov esi, dword [esi + 0x1ba8]
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
mov dword [esi + 0xd4], ecx
lea ecx, [ebp - 0x70]
mov dword [esi + 0xd0], eax
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x78]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [edi + 0x34]
subss xmm0, dword [edi + 0x2c]
movss dword [ebp - 0x6c], xmm0
call fcn.00410640
movss xmm1, dword [edi + 0x44]
addss xmm1, dword [edi + 0x28]
movss xmm0, dword [esi + 0xf0]
mov ecx, dword [0x43c6e8]
maxss xmm0, xmm1
movss dword [esi + 0xf0], xmm0
mov eax, dword [ecx + 0x1cf0]
mov esi, dword [ecx + 0x1cf8]
lea edx, [eax + eax*2]
mov eax, dword [esi + edx*4 - 0xc]
lea eax, [eax + eax*2]
cmp dword [eax*4 + 0x4345f0], 8
mov edi, dword [eax*4 + 0x4345f8]
jne 0x42db75
mov eax, dword [eax*4 + 0x4345f4]
cmp eax, 1
jne 0x42db5a
mov eax, dword [esi + edx*4 - 8]
mov dword [edi + ecx + 0x1528], eax
jmp 0x42db75
cmp eax, 2
jne 0x42db75
mov eax, dword [esi + edx*4 - 8]
mov dword [edi + ecx + 0x1528], eax
mov eax, dword [esi + edx*4 - 4]
mov dword [edi + ecx + 0x152c], eax
dec dword [ecx + 0x1cf0]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043207c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret