Function at 0x140001160
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 [0x140003020]
cmp dword [r14], 0
je 0x1400011b3
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
mov r15, qword [0x140003048]
xor eax, eax
lock cmpxchg qword [r15], rsi
sete bl
je 0x1400011f8
cmp rsi, rax
je 0x1400011f8
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov ecx, 0x3e8
call rdi
xor eax, eax
lock cmpxchg qword [r15], rsi
sete bl
je 0x1400011f8
cmp rsi, rax
jne 0x1400011e0
mov rsi, qword [0x140003050]
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001212
mov ecx, 0x1f
call fcn.140001f40
jmp 0x140001239
cmp dword [rsi], 0
je 0x140001220
mov byte [0x140005100], 1
jmp 0x140001239
mov dword [rsi], 1
mov rcx, qword [0x140003068]
mov rdx, qword [0x140003070]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001259
mov rcx, qword [0x140003058]
mov rdx, qword [0x140003060]
call fcn.1400aa000
mov dword [rsi], 2
test bl, 1
je 0x140001263
xor eax, eax
xchg qword [r15], rax
mov rax, qword [0x140003008]
mov rax, qword [rax]
test rax, rax
je 0x14000127e
xor ecx, ecx
mov edx, 2
xor r8d, r8d
call rax
call fcn.140001710
lea rcx, [0x140001ca0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [0x140003040]
mov qword [rcx], rax
lea rcx, [0x140001470]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140001700
mov rax, qword [0x140003010]
mov qword [0x1400050d0], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p__wcmdln
mov rax, qword [rax]
test rax, rax
je 0x140001317
add rax, 0xfffffffffffffffe
xor ecx, ecx
jmp 0x1400012e2
xor ebx, ebx
test ecx, ecx
sete bl
cmp dx, 0x22
cmove ecx, ebx
add rax, 2
movzx edx, word [rax + 2]
cmp dx, 0x20
ja 0x1400012d0
test dx, dx
je 0x140001300
test ecx, ecx
jne 0x1400012d0
nop word cs:[rax + rax]
movzx ecx, word [rax + 2]
add rax, 2
dec ecx
cmp cx, 0x20
jb 0x140001300
mov qword [0x1400050d8], rax
cmp dword [r14], 0
je 0x140001335
test byte [rsp + 0x5c], 1
movzx eax, word [rsp + 0x60]
mov ecx, 0xa
cmovne ecx, eax
mov dword [section..data], ecx
movsxd rsi, dword [0x1400050e8]
lea rcx, [rsi*8 + 8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r14, rax
test rsi, rsi
jle 0x1400013b0
mov r15d, esi
mov rsi, qword [0x1400050f0]
xor ebx, ebx
jmp 0x140001388
mov edi, 2
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
inc rbx
cmp rbx, r15
je 0x1400013b3
mov rax, qword [rsi + rbx*8]
cmp word [rax], 0
je 0x140001360
mov ecx, 2
nop word [rax + rax]
lea rdi, [rcx + 2]
cmp word [rax + rcx], 0
mov rcx, rdi
jne 0x1400013a0
jmp 0x140001365
xor r15d, r15d
mov qword [r14 + r15*8], 0
mov qword [0x1400050f0], r14
call fcn.140001550
mov rax, qword [0x1400050f8]
mov rcx, qword [0x140003018]
mov rcx, qword [rcx]
mov qword [rcx], rax
mov ecx, dword [0x1400050e8]
mov rdx, qword [0x1400050f0]
mov r8, qword [0x1400050f8]
call sub.librenpython.dll_renpython_main_wide
mov dword [0x140005104], eax
cmp dword [0x1400050e0], 0
je 0x140001426
cmp byte [0x140005100], 0
jne 0x140001417
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x140005104]
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
int3