Function at 0x10069040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x10150380]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [0x1017bfd8]
push ebx
push esi
push edi
cmp dword [eax + 0x2c40], 0
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], eax
jne 0x10069087
call fcn.10044c80
mov al, byte [edi]
mov esi, edi
test al, al
je 0x100690a2
nop
cmp al, 0x25
jne 0x1006909a
cmp byte [esi + 1], al
jne 0x100690a2
inc esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10069090
cmp byte [esi], 0x25
jne 0x100690e7
mov ecx, esi
call fcn.10068f30
cmp byte [eax], 0
jne 0x100690b7
mov edi, esi
jmp 0x100690e7
sub eax, esi
mov edi, 0x20
inc eax
cmp eax, edi
cmovb edi, eax
cmp edi, 1
jb 0x100690e3
jbe 0x100690de
lea eax, [edi - 1]
push eax
lea eax, [esp + 0x60]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
mov byte [esp + edi + 0x5b], 0
lea edi, [esp + 0x5c]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1006916d
cmp ebx, 1
je 0x1006916d
cmp ebx, 2
je 0x10069152
cmp ebx, 3
je 0x10069152
cmp ebx, 4
jne 0x10069127
mov eax, dword [esp + 0x24]
sub esp, 8
movss xmm0, dword [eax]
lea eax, [esp + 0x44]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push edi
push 0x20
push eax
call fcn.100421a0
add esp, 0x14
jmp 0x10069183
cmp ebx, 5
jne 0x1006924e
mov eax, dword [esp + 0x24]
sub esp, 8
movsd xmm0, qword [eax]
lea eax, [esp + 0x44]
movsd qword [esp], xmm0
push edi
push 0x20
push eax
call fcn.100421a0
add esp, 0x14
jmp 0x10069183
mov eax, dword [esp + 0x24]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x44]
push edi
push 0x20
push eax
call fcn.100421a0
add esp, 0x14
jmp 0x10069183
mov eax, dword [esp + 0x24]
push dword [eax]
lea eax, [esp + 0x40]
push edi
push 0x20
push eax
call fcn.100421a0
add esp, 0x10
lea esi, [esp + 0x3c]
mov al, byte [esi]
cmp al, 0x20
je 0x10069191
cmp al, 9
jne 0x10069194
inc esi
jmp 0x10069187
mov edi, esi
test al, al
je 0x100691c0
nop word [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x100691a0
cmp esi, edi
jbe 0x100691c0
nop word [eax + eax]
mov al, byte [esi - 1]
cmp al, 0x20
je 0x100691bb
cmp al, 9
jne 0x100691c0
dec esi
cmp esi, edi
ja 0x100691b0
lea eax, [esp + 0x3c]
cmp edi, eax
je 0x100691db
mov eax, esi
sub eax, edi
push eax
lea eax, [esp + 0x40]
push edi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sub esi, edi
mov byte [esp + esi + 0x3c], 0
cmp ebx, 4
je 0x100691f1
mov eax, 0x11
cmp ebx, 5
jne 0x100691f6
mov eax, 0x20010
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x3c]
push 0
push 0
push eax
movss xmm0, dword [ecx + 8]
lea eax, [esp + 0x34]
subss xmm0, dword [ecx]
push eax
push 0x20
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [ecx + 4]
mov ecx, dword [esp + 0x44]
movss dword [esp + 0x40], xmm0
call fcn.1006ad90
mov edx, dword [esp + 0x48]
add esp, 0x14
cmp dword [edx + 0x2c40], 0
jne 0x1006925c
mov ecx, dword [edx + 0x1a04]
cmp ecx, dword [esp + 0x38]
je 0x10069256
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [edx + 0x2c40], ecx
test al, al
je 0x1006928a
mov edx, dword [edx + 0x1d90]
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x44]
push ebx
call fcn.10066e10
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1010fe2d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010fe2d
mov esp, ebp
pop ebp
ret