Function at 0x140001170
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x80], 0
mov r14, qword [0x140022070]
cmp dword [r14], 0
je 0x1400011c3
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
mov r15, qword [0x140022028]
xor ebx, ebx
xor eax, eax
lock cmpxchg qword [r15], rsi
je 0x14000120e
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax]
cmp rsi, rax
je 0x140001209
mov ecx, 0x3e8
call rdi
xor ebx, ebx
xor eax, eax
lock cmpxchg qword [r15], rsi
jne 0x1400011f0
jmp 0x14000120e
mov ebx, 1
mov rsi, qword [0x140022030]
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001228
mov ecx, 0x1f
call fcn.1400207e0
jmp 0x14000124f
cmp dword [rsi], 0
je 0x140001236
mov byte [0x140024108], 1
jmp 0x14000124f
mov dword [rsi], 1
mov rcx, qword [0x140022048]
mov rdx, qword [0x140022050]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov eax, dword [rsi]
cmp eax, 1
jne 0x14000126f
mov rcx, qword [0x140022038]
mov rdx, qword [0x140022040]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [rsi], 2
test ebx, ebx
jne 0x140001278
xor eax, eax
xchg qword [r15], rax
mov rax, qword [0x140022008]
mov rax, qword [rax]
test rax, rax
je 0x140001293
xor ecx, ecx
mov edx, 2
xor r8d, r8d
call rax
call fcn.14001fd70
lea rcx, [0x140020560]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [0x140022020]
mov qword [rcx], rax
call main
lea rcx, [0x140001490]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.14001fd60
mov rax, qword [0x140022010]
mov qword [0x140024110], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p__acmdln
mov rax, qword [rax]
test rax, rax
je 0x140001338
xor ecx, ecx
jmp 0x140001301
xor ebx, ebx
test ecx, ecx
sete bl
cmp dl, 0x22
cmove ecx, ebx
add rax, 1
movzx edx, byte [rax]
cmp dl, 0x20
jg 0x1400012f0
test ecx, ecx
je 0x140001311
test dl, dl
jne 0x1400012f0
test dl, dl
je 0x140001331
cmp dl, 0x20
jg 0x140001331
nop word [rax + rax]
movzx ecx, byte [rax + 1]
add rax, 1
test cl, cl
je 0x140001331
cmp cl, 0x21
jl 0x140001320
mov qword [0x140024118], rax
cmp dword [r14], 0
je 0x140001356
test byte [rsp + 0x5c], 1
movzx eax, word [rsp + 0x60]
mov ecx, 0xa
cmovne ecx, eax
mov dword [section..data], ecx
movsxd rsi, dword [0x1400240f4]
lea rcx, [rsi*8 + 8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r14, rax
test rsi, rsi
jle 0x1400013b6
mov r15d, esi
mov rsi, qword [0x1400240f8]
xor ebx, ebx
nop
mov rcx, qword [rsi + rbx*8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rdi, rax
add rdi, 1
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [r14 + rbx*8], rax
mov rdx, qword [rsi + rbx*8]
mov rcx, rax
mov r8, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add rbx, 1
cmp r15, rbx
jne 0x140001380
jmp 0x1400013b9
xor r15d, r15d
mov qword [r14 + r15*8], 0
mov qword [0x1400240f8], r14
call fcn.14001fa20
mov rax, qword [0x140024100]
mov rcx, qword [0x140022018]
mov rcx, qword [rcx]
mov qword [rcx], rax
mov ecx, dword [0x1400240f4]
mov rdx, qword [0x1400240f8]
mov r8, qword [0x140024100]
call fcn.14001f930
mov dword [0x14002410c], eax
cmp dword [0x1400240ec], 0
je 0x14000142c
cmp byte [0x140024108], 0
jne 0x14000141d
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14002410c]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
ud2