Function at 0x10066e10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
mov esi, ecx
nop
mov al, byte [esi]
cmp al, 0x20
je 0x10066e2a
cmp al, 9
jne 0x10066e2d
inc esi
jmp 0x10066e20
mov bl, al
cmp bl, 0x2b
je 0x10066e42
cmp bl, 0x2a
je 0x10066e42
cmp bl, 0x2f
je 0x10066e42
xor bl, bl
jmp 0x10066e4e
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x10066e42
cmp al, 9
je 0x10066e42
test al, al
je 0x100671a4
mov eax, dword [ebp + 8]
cmp eax, 6
jge 0x1006719c
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [eax + 0x1013deb0]
cmp eax, 8
ja 0x1006719c
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x34]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov ecx, dword [ecx + 0x1013deb8]
mov dword [ebp - 0x28], ecx
test eax, eax
jne 0x10066fa8
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
test bl, bl
je 0x10066f87
lea eax, [ebp - 0x10]
push eax
push ecx
push dword [ebp - 0x1c]
call fcn.100409d0
add esp, 0xc
cmp eax, 1
jl 0x100671a4
cmp bl, 0x2b
jne 0x10066f02
lea eax, [ebp - 0x18]
push eax
push 0x1013f268
push esi
call fcn.100409d0
add esp, 0xc
test eax, eax
je 0x1006713f
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
mov dword [edi], eax
jmp 0x1006713f
cmp bl, 0x2a
jne 0x10066f39
lea eax, [ebp - 8]
push eax
push 0x101417b8
push esi
call fcn.100409d0
add esp, 0xc
test eax, eax
je 0x1006713f
movd xmm0, dword [ebp - 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 8]
cvttss2si eax, xmm0
mov dword [edi], eax
jmp 0x1006713f
cmp bl, 0x2f
jne 0x10066f84
lea eax, [ebp - 8]
push eax
push 0x101417b8
push esi
call fcn.100409d0
add esp, 0xc
test eax, eax
je 0x1006713f
movss xmm1, dword [ebp - 8]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1006713f
movd xmm0, dword [ebp - 0x10]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [edi], eax
jmp 0x1006713f
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
push ecx
push esi
call fcn.100409d0
add esp, 0xc
cmp eax, 1
jne 0x1006713f
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
jmp 0x1006713f
cmp eax, 1
je 0x10067134
cmp eax, 2
je 0x10067134
cmp eax, 3
je 0x10067134
cmp eax, 4
jne 0x10067082
movss xmm0, dword [edi]
movss dword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
test bl, bl
je 0x10066ffd
lea eax, [ebp - 0x10]
push eax
push 0x101417b8
push dword [ebp - 0x1c]
call fcn.100409d0
add esp, 0xc
cmp eax, 1
jl 0x100671a4
lea eax, [ebp - 8]
push eax
push 0x101417b8
push esi
call fcn.100409d0
add esp, 0xc
cmp eax, 1
jl 0x100671a4
cmp bl, 0x2b
jne 0x10067030
movss xmm0, dword [ebp - 8]
addss xmm0, dword [ebp - 0x10]
movss dword [edi], xmm0
jmp 0x1006713f
cmp bl, 0x2a
jne 0x10067048
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [ebp - 0x10]
movss dword [edi], xmm0
jmp 0x1006713f
cmp bl, 0x2f
jne 0x10067074
movss xmm1, dword [ebp - 8]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1006713f
movss xmm0, dword [ebp - 0x10]
divss xmm0, xmm1
movss dword [edi], xmm0
jmp 0x1006713f
movss xmm0, dword [ebp - 8]
movss dword [edi], xmm0
jmp 0x1006713f
cmp eax, 5
jne 0x1006713f
movsd xmm0, qword [edi]
movsd qword [ebp - 0x14], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x2c], xmm0
test bl, bl
je 0x100670bd
lea eax, [ebp - 0x14]
push eax
push 0x10142804
push dword [ebp - 0x1c]
call fcn.100409d0
add esp, 0xc
cmp eax, 1
jl 0x100671a4
lea eax, [ebp - 0x2c]
push eax
push 0x10142804
push esi
call fcn.100409d0
add esp, 0xc
cmp eax, 1
jl 0x100671a4
cmp bl, 0x2b
jne 0x100670ed
movsd xmm0, qword [ebp - 0x2c]
addsd xmm0, qword [ebp - 0x14]
movsd qword [edi], xmm0
jmp 0x1006713f
cmp bl, 0x2a
jne 0x10067102
movsd xmm0, qword [ebp - 0x2c]
mulsd xmm0, qword [ebp - 0x14]
movsd qword [edi], xmm0
jmp 0x1006713f
cmp bl, 0x2f
jne 0x10067129
movsd xmm1, qword [ebp - 0x2c]
ucomisd xmm1, qword [0x10144ea0]
lahf
test ah, 0x44
jnp 0x1006713f
movsd xmm0, qword [ebp - 0x14]
divsd xmm0, xmm1
movsd qword [edi], xmm0
jmp 0x1006713f
movsd xmm0, qword [ebp - 0x2c]
movsd qword [edi], xmm0
jmp 0x1006713f
push edi
push ecx
push esi
call fcn.100409d0
add esp, 0xc
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
mov edx, dword [eax + 0x1013deb0]
sub edx, 4
jb 0x10067161
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10067166
add ecx, 4
add edi, 4
sub edx, 4
jae 0x10067150
cmp edx, 0xfffffffc
je 0x100671a4
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10067193
cmp edx, 0xfffffffd
je 0x100671a4
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10067193
cmp edx, 0xfffffffe
je 0x100671a4
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10067193
cmp edx, 0xffffffff
je 0x100671a4
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x100671a4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret