Function at 0x1400010d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x60], xmm6
mov qword [rbp + 0x58], 0xfffffffffffffffe
cmp ecx, 1
jg 0x1400011ba
mov rdi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
call rdi
lea rdx, [0x14013f260]
mov rcx, rax
xor r8d, r8d
call fcn.140001720
mov ecx, 2
call rdi
lea rcx, [0x14013f27f]
mov edx, 2
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
lea rsi, [rbp - 0x38]
mov rcx, rsi
call fcn.140001770
cmp qword [rbp - 0x20], 0x10
jb 0x140001158
mov rsi, qword [rbp - 0x38]
mov ecx, 2
call rdi
lea rdx, [0x14013f282]
mov rcx, rax
mov r8, rsi
call fcn.140001720
mov rax, qword [rbp - 0x20]
cmp rax, 0x10
jb 0x1400011b0
mov rcx, qword [rbp - 0x38]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400011ab
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140001655
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400651e0
mov eax, 0x64
jmp 0x140001627
mov r15, rdx
mov edi, ecx
lea rax, vtable.android::emulation::MockAndroidConsoleFactory.0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.libandroid_emu_agents.dll_void___cdecl_android::emulation::injectConsoleAgents_class_android::emulation::AndroidConsoleFactory_const____ptr64_]
mov eax, edi
mov qword [rbp - 0x50], rax
mov r13, qword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x28], rax
xor eax, eax
mov qword [rbp], rax
mov esi, 1
movaps xmm6, xmmword [0x14013f230]
lea r12, [rbp + 8]
mov dword [rbp + 0x54], 0
mov qword [rbp - 0x40], r15
nop word [rax + rax]
mov rdi, qword [r15 + rsi*8]
mov qword [rbp + 8], 0
movups xmmword [rbp + 0x18], xmm6
mov byte [rbp + 8], 0
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rbx, rax
cmp rax, 0xf
jbe 0x140001250
mov rcx, r12
mov rdx, rbx
mov r9, rdi
call fcn.140003190
jmp 0x140001267
mov qword [rbp + 0x18], rbx
mov rcx, r12
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx + 8], 0
mov rdx, qword [rbp + 8]
mov r14, qword [rbp + 0x18]
mov rax, qword [rbp + 0x20]
cmp rax, 0x10
mov rbx, r12
cmovae rbx, rdx
cmp r14, 0x10
jae 0x1400012d0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x30], xmm0
add r14, 0xfffffffffffffffe
cmp r14, 9
ja case.0x1400012a7.3
lea rbx, [0x1400016ec]
movsxd rcx, dword [rbx + r14*4]
add rcx, rbx
jmp rcx
movzx ecx, word [rbp + 0x30]
lea rdi, section..rdata
cmp ecx, 0x682d
jne case.0x1400012a7.3
jmp 0x14000153c
mov qword [rbp - 0x48], rsi
mov rdi, r14
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmovae rdi, rax
cmp rdi, 0xfff
jb 0x140001350
add rdi, 0x28
mov rax, qword [rbp + 0x28]
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], r13
mov rcx, rdi
call fcn.14006519c
mov rsi, rax
add rsi, 0x27
and rsi, 0xffffffffffffffe0
lea r15, [rsi - 8]
mov qword [rsi - 8], rax
mov qword [rbp + 0x30], rsi
add r14, 1
mov rcx, rsi
mov rdx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov r12, qword [rsi - 8]
sub r15, r12
cmp r15, 0x20
jae 0x140001649
mov r15, qword [rbp - 0x40]
jmp 0x140001381
add rdi, 1
mov rax, qword [rbp + 0x28]
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], r13
mov rcx, rdi
call fcn.14006519c
mov r12, rax
mov qword [rbp + 0x30], rax
add r14, 1
mov rcx, rax
mov rdx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r12
mov rdx, rdi
call fcn.1400651e0
mov rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x20]
mov rsi, qword [rbp - 0x48]
lea r12, [rbp + 8]
mov byte [rbp + 0x30], 0
cmp rax, 0x10
cmovb rdx, r12
lea rcx, str._s:_n_d_nUnknown_argument_n_s_n
mov r8d, 0x64
mov r9, rdx
call fcn.140003560
mov edi, 4
mov rax, qword [rbp + 0x20]
cmp rax, 0x10
jb 0x140001401
mov rcx, qword [rbp + 8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400013fc
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14000163f
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400651e0
test dil, 3
jne 0x140001618
add rsi, 1
mov eax, 0xf
mov qword [rbp + 0x28], rax
mov r13d, 0
cmp qword [rbp - 0x50], rsi
jne 0x140001210
jmp 0x140001618
mov rcx, qword [rbp + 0x30]
movabs rbx, 0x6d2d776f646e6977
xor rcx, rbx
movzx ebx, word [rbp + 0x38]
xor rbx, 0x7267
or rbx, rcx
lea rdi, str.window_mgr
jne case.0x1400012a7.3
jmp 0x14000153c
mov ecx, dword [rbp + 0x30]
mov ebx, 0x6c65682d
xor ecx, ebx
movzx ebx, byte [rbp + 0x34]
xor ebx, 0x70
or ebx, ecx
lea rdi, str._help
je 0x14000153c
mov ecx, dword [rbp + 0x30]
mov ebx, 0x65636361
xor ecx, ebx
movzx ebx, byte [rbp + 0x34]
xor ebx, 0x6c
or ebx, ecx
lea rdi, str.accel
jne case.0x1400012a7.3
jmp 0x14000153c
mov rcx, qword [rbp + 0x30]
movabs rbx, 0x2d706f746b736564
xor rcx, rbx
mov rbx, qword [rbp + 0x33]
movabs rdi, 0x766e652d706f746b
xor rbx, rdi
or rbx, rcx
lea rdi, str.desktop_env
jne case.0x1400012a7.3
jmp 0x14000153c
mov ecx, dword [rbp + 0x30]
mov ebx, 0x65682d2d
xor ecx, ebx
movzx ebx, word [rbp + 0x34]
xor ebx, 0x706c
or ebx, ecx
lea rdi, str.__help
jne case.0x1400012a7.3
jmp 0x14000153c
mov ecx, dword [rbp + 0x30]
mov ebx, 0x65707968
xor ecx, ebx
mov ebx, dword [rbp + 0x33]
mov edi, 0x762d7265
xor ebx, edi
or ebx, ecx
lea rdi, str.hyper_v
jne case.0x1400012a7.3
jmp 0x14000153c
lea rdi, str.cpu_info
movabs rcx, 0x6f666e692d757063
cmp qword [rbp + 0x30], rcx
jne case.0x1400012a7.3
mov byte [rbp + 0x30], 0
mov rax, qword [rdi + 0x10]
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], 0
lea rcx, [rbp - 0x38]
call rax
mov rbx, qword [rbp]
test bl, bl
mov r8d, dword [rbp - 0x38]
mov r14d, dword [rbp + 0x54]
cmove r14d, r8d
movzx ebx, bl
mov eax, 1
cmove ebx, eax
cmp byte [rdi + 0x18], 0
je 0x14000159c
cmp qword [rbp - 0x18], 0x10
lea rcx, [rbp - 0x30]
lea r12, [rbp + 8]
jb 0x140001590
mov rcx, qword [rbp - 0x30]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
mov edi, 2
jmp 0x1400015d0
cmp qword [rbp + 0x20], 0x10
lea r12, [rbp + 8]
mov rdx, r12
jb 0x1400015ae
mov rdx, qword [rbp + 8]
cmp qword [rbp - 0x18], 0x10
lea r9, [rbp - 0x30]
jb 0x1400015bd
mov r9, qword [rbp - 0x30]
mov qword [rsp + 0x20], rdx
lea rcx, str._s:_n_d_n_s_n_s_n
call fcn.140003560
xor edi, edi
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
jb 0x14000160b
mov rcx, qword [rbp - 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140001606
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000163f
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400651e0
mov dword [rbp + 0x54], r14d
mov qword [rbp], rbx
jmp 0x1400013c2
cmp byte [rbp], 0
mov ecx, 0x64
mov eax, dword [rbp + 0x54]
cmove eax, ecx
movaps xmm6, xmmword [rbp + 0x60]
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmmword [rbp + 0x40], xmm6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov qword [rbp + 0x40], r13
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x48], rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3