Function at 0x140001008
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r14d, ecx
xor edi, edi
lea rcx, str.Kernel32.dll
mov r15, rdx
lea r13d, [rdi + 1]
mov dword [rsp + 0x30], r13d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop dword [rax + rax]
test rax, rax
je 0x140001094
lea rdx, str.HeapSetInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x140001094
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [0x140003280]
mov ecx, r13d
call fcn.140002168
mov qword [0x1400055f8], rax
mov r8, rax
mov esi, r13d
sub r14d, r13d
je 0x1400011fe
lea r12, [r15 + 8]
mov rbx, qword [r12]
mov al, byte [rbx]
sub al, 0x2d
test al, 0xfd
jne 0x1400017f0
movsx ecx, byte [rbx + 1]
cmp ecx, 0x58
jg 0x140001118
je 0x140001158
sub ecx, 0x3f
je 0x1400017ea
sub ecx, 4
je 0x1400011eb
sub ecx, 5
je 0x1400017ea
sub ecx, 1
je 0x1400011e6
sub ecx, 5
je 0x1400011c2
sub ecx, 1
je 0x140001160
sub ecx, 4
jne 0x14000120d
or edi, 2
jmp 0x1400011ee
sub ecx, 0x63
je 0x1400011eb
sub ecx, 5
je 0x1400017ea
sub ecx, 1
je 0x1400011e6
sub ecx, 5
je 0x1400011c2
sub ecx, 1
je 0x140001160
sub ecx, 4
je 0x140001110
sub ecx, 3
je 0x140001216
cmp ecx, 2
jne 0x140001793
or edi, 4
jmp 0x1400011ee
lea rcx, [rbx + 2]
lea rdx, [0x140003334]
call qword [sym.imp.msvcrt.dll_fopen]
nop dword [rax + rax]
mov qword [0x1400055f8], rax
mov r8, rax
test rax, rax
jne 0x1400011ee
movsxd rax, esi
lea ecx, [r8 + 2]
mov rbx, qword [r15 + rax*8]
call fcn.140002168
mov rcx, rax
lea r8, [rbx + 2]
lea rdx, str.Cannot_open_output_file:__s_n_n
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
lea rcx, [rbx + 2]
call qword [sym.imp.msvcrt.dll_atoi]
nop dword [rax + rax]
mov r13d, eax
test eax, eax
jle 0x1400017bc
mov r8, qword [0x1400055f8]
jmp 0x1400011ee
or edi, 1
jmp 0x1400011ee
or edi, 8
inc esi
add r12, 8
sub r14d, 1
jne 0x1400010b6
mov eax, edi
and eax, 3
cmp al, 3
je 0x14000176d
jmp 0x14000123b
cmp ecx, 3
jne 0x140001793
lea rdx, str.Microsoft_UUID_Generator_v1.01_Copyright__c__Microsoft_Corporation._All_rights_reserved._n_n
mov rcx, r8
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
test dil, 1
je 0x140001246
xor r14d, r14d
jmp 0x140001254
mov al, dil
and al, 2
neg al
sbb r14d, r14d
add r14d, 2
test r13d, r13d
je 0x140001637
mov r12d, edi
mov ebx, 0x720
and r12d, 4
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
test r12d, r12d
je 0x140001287
call qword [sym.imp.RPCRT4.dll_UuidCreateSequential]
nop dword [rax + rax]
jmp 0x140001293
call qword [sym.imp.RPCRT4.dll_UuidCreate]
nop dword [rax + rax]
xor esi, esi
mov r15d, eax
cmp eax, ebx
cmovne esi, eax
test esi, esi
jne 0x1400015c6
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x1400015c6
mov rbx, qword [rsp + 0x38]
test dil, 8
je 0x1400012f5
mov al, byte [rbx]
test al, al
je 0x1400012f5
movsx ecx, al
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
mov byte [rbx], al
inc rbx
mov al, byte [rbx]
test al, al
jne 0x1400012d6
mov rbx, qword [rsp + 0x38]
mov ecx, r14d
test r14d, r14d
je 0x140001577
sub ecx, 1
je 0x140001442
cmp ecx, 1
jne 0x1400015a5
mov r8d, 0xff
lea rax, [rbp - 0x10]
mov edx, r8d
lea rcx, [rbp - 0x10]
sub rbx, rax
lea rax, [rdx + 0x7ffffeff]
test rax, rax
je 0x140001345
mov al, byte [rbx + rcx]
test al, al
je 0x140001345
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140001327
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], 0
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80000005
test rdx, rdx
je 0x14000166a
mov rcx, r8
lea rax, [rbp - 0x10]
cmp byte [rax], 0
je 0x140001381
inc rax
sub rcx, 1
jne 0x140001373
mov rax, rcx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0xc000000d
test rcx, rcx
je 0x14000139e
mov rax, r8
sub rax, rcx
jmp 0x1400013a0
xor eax, eax
test rcx, rcx
je 0x14000140d
mov rcx, r8
lea rdx, [rbp - 0x10]
lea rdx, [rdx + rax]
sub rcx, rax
je 0x1400013e6
lea r8, [rax + 0x7ffffeff]
add r8, rcx
lea rax, [0x140003838]
sub rax, rdx
test r8, r8
je 0x1400013e6
mov r9b, byte [rax + rdx]
test r9b, r9b
je 0x1400013e6
mov byte [rdx], r9b
dec r8
inc rdx
sub rcx, 1
jne 0x1400013c9
test rcx, rcx
lea rax, [rdx - 1]
cmovne rax, rdx
mov byte [rax], 0
mov rax, rcx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80000005
test rcx, rcx
jne 0x1400015a5
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.Error:_0x_x_n
mov r8d, ebx
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
lea rcx, str._s_____........_...._...._...._............___n____0x........__n____0x....__n____0x....__n____0x..__0x..__0x..__0x..__0x..__0x..__0x..__0x.._n____n
mov eax, 0x80
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x50]
movups xmm1, xmmword [rcx + 0x10]
lea r9, str.INTERFACENAME
movups xmmword [rdx], xmm0
lea r8, [rsp + 0x50]
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x70]
add rcx, rax
movups xmmword [rdx + 0x60], xmm0
add rdx, rax
mov eax, dword [rcx + 0x10]
movups xmm0, xmmword [rcx]
movups xmmword [rdx - 0x10], xmm1
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], eax
movzx eax, word [rcx + 0x14]
lea rcx, [rbp - 0x10]
movups xmm0, xmmword [rbx]
mov word [rdx + 0x14], ax
xor eax, eax
mov dword [rbp - 0x1a], eax
mov edx, 0xff
mov word [rbp - 0x16], ax
mov byte [rbp - 0x14], al
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x7a], eax
mov rax, qword [rbx]
mov qword [rbp - 0x78], rax
mov eax, dword [rbx + 9]
mov dword [rbp - 0x68], eax
mov eax, dword [rbx + 0xe]
mov dword [rbp - 0x5c], eax
movzx eax, word [rbx + 0x13]
mov word [rbp - 0x4f], ax
movzx eax, word [rbx + 0x15]
mov word [rbp - 0x49], ax
movzx eax, word [rbx + 0x18]
mov word [rbp - 0x43], ax
movzx eax, word [rbx + 0x1a]
mov word [rbp - 0x3d], ax
movzx eax, word [rbx + 0x1c]
mov word [rbp - 0x37], ax
movzx eax, word [rbx + 0x1e]
mov word [rbp - 0x31], ax
movzx eax, word [rbx + 0x20]
mov word [rbp - 0x2b], ax
movzx eax, word [rbx + 0x22]
mov word [rbp - 0x25], ax
movups xmmword [rsp + 0x5a], xmm0
movups xmmword [rsp + 0x6a], xmm1
call fcn.140001894
mov ebx, eax
test eax, eax
jns 0x1400015a5
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.Error:_0x_x_n
mov r8d, ebx
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
lea rax, str.INTERFACENAME
mov r9, rbx
lea r8, str.__nuuid__s___nversion_1.0__n__ninterface__s_n_n_n_n
mov qword [rsp + 0x20], rax
mov edx, 0xff
lea rcx, [rbp - 0x10]
call fcn.140001894
mov ebx, eax
test eax, eax
js 0x14000169f
lea rcx, [rsp + 0x38]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
nop dword [rax + rax]
mov ebx, 0x720
test esi, esi
jne 0x1400015c6
cmp r15d, ebx
jne 0x1400015c6
mov esi, ebx
mov ecx, esi
test esi, esi
je 0x140001616
sub ecx, 0xe
je 0x14000173b
sub ecx, 0x6bd
je 0x140001709
cmp ecx, 0x55
jne 0x1400016d4
cmp dword [rsp + 0x30], 0
je 0x140001616
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.Warning:_Unable_to_determine_your_network_address.__The_UUID_generated_is_nunique_on_this_computer_only.__It_should_not_be_used_on_another_computer._n
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
and dword [rsp + 0x30], 0
mov rcx, qword [0x1400055f8]
lea rdx, [rbp - 0x10]
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
sub r13d, 1
jne 0x140001269
xor eax, eax
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140001c50
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.Error:_0x_x_n
mov r8d, ebx
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.Error:_0x_x_n
mov r8d, ebx
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.Error:_0x_x_n
mov r8d, esi
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.Cannot_find_the_RPC_End_Point_Mapper__RPCSS.EXE___Unable_to_allocate_UUIDs._n_n
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.Unable_to_allocate_enough_memory_to_create_string._n_n
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.The_arguments_i_and_s_are_mutually_exclusive._n_n
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
call fcn.140001840
int3
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.Invalid_Switch_Usage:__s_n_n
mov r8, rbx
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
call fcn.140001840
int3
mov ecx, 2
movsxd rbx, esi
call fcn.140002168
mov r8, qword [r15 + rbx*8 - 8]
lea rdx, str.Argument_to__s_must_be_an_integer_greater_than_0._n_n
mov rcx, rax
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
call fcn.140001840
int3
call fcn.140001874
int3
mov ecx, 2
call fcn.140002168
mov rcx, rax
lea rdx, str.Invalid_Switch_Usage:__s_n_n
mov r8, rbx
call qword [sym.imp.msvcrt.dll_fprintf]
nop dword [rax + rax]
call fcn.140001840
int3