Function at 0x140001253
Capabilities:
Get common file path
Terminate process

Disassembly:
jmp 0x140001610
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x9f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1b2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa18]
lea rcx, [0x1400190a5]
call fcn.1400012c1
mov rdi, qword [rbp + 0x9e0]
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov dword [rbp + 0x644], 0
jmp 0x14000167b
mov eax, dword [rbp + 0x644]
inc eax
mov dword [rbp + 0x644], eax
mov eax, dword [rbp + 0x9e8]
cmp dword [rbp + 0x644], eax
jge 0x1400019c5
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000effc]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x1400016f3
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f000]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x1400016f3
movsxd rax, dword [rbp + 0x644]
lea rdx, str.__help
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x14000170c
lea rcx, str._thello_bie_n
call fcn.140001159
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x1400019c0
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f418]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x140001750
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f41c]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x140001792
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x140001792
mov eax, dword [rbp + 0x644]
inc eax
cdqe
mov rcx, qword [rbp + 0x9e0]
mov rdx, qword [rbp + 0x9f0]
mov rax, qword [rdx + rax*8]
mov qword [rcx], rax
mov eax, dword [rbp + 0x644]
inc eax
mov dword [rbp + 0x644], eax
jmp 0x1400019c0
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f420]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x1400017d6
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f424]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x140001819
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x140001819
mov eax, dword [rbp + 0x644]
inc eax
cdqe
mov rcx, qword [rbp + 0x9e0]
mov rdx, qword [rbp + 0x9f0]
mov rax, qword [rdx + rax*8]
mov qword [rcx + 8], rax
mov eax, dword [rbp + 0x644]
inc eax
mov dword [rbp + 0x644], eax
jmp 0x1400019c0
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f428]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x14000185d
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f42c]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x1400018a0
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x1400018a0
mov eax, dword [rbp + 0x644]
inc eax
cdqe
mov rcx, qword [rbp + 0x9e0]
mov rdx, qword [rbp + 0x9f0]
mov rax, qword [rdx + rax*8]
mov qword [rcx + 0x18], rax
mov eax, dword [rbp + 0x644]
inc eax
mov dword [rbp + 0x644], eax
jmp 0x1400019c0
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f430]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x1400018e4
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f434]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x1400018f7
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x24], 1
jmp 0x1400019c0
movsxd rax, dword [rbp + 0x644]
lea rdx, str.__procdump
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x14000192c
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x28], 1
jmp 0x1400019c0
movsxd rax, dword [rbp + 0x644]
lea rdx, str.__nodump
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x14000195e
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x2c], 1
jmp 0x1400019c0
movsxd rax, dword [rbp + 0x644]
lea rdx, str.__reg
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x140001990
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x30], 1
jmp 0x1400019c0
movsxd rax, dword [rbp + 0x644]
lea rdx, str.__delay
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x1400019c0
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x34], 1
jmp 0x14000166d
mov edx, 0x104
lea rcx, [rbp + 0x60]
call sub.ucrtbased.dll__getcwd
cdqe
test rax, rax
jne 0x1400019f1
lea rcx, str.____Error_getting_current_directory_n
call fcn.140001159
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
lea rdx, [rbp + 0x3f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x140001a26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetTempPathA_Failed_With_Error_:__d__n
call fcn.140001159
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
mov edx, 6
lea rcx, [rbp + 0x664]
call fcn.1400010af
lea rax, [rbp + 0x664]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x3f0]
lea r8, [0x14000f378]
mov edx, 0x104
lea rcx, [rbp + 0x520]
call fcn.1400011ea
lea rcx, [rbp + 0x520]
call qword [sym.imp.ucrtbased.dll__strdup]
mov rcx, qword [rbp + 0x9e0]
mov qword [rcx + 0x10], rax
mov rax, qword [rbp + 0x9e0]
cmp qword [rax], 0
jne 0x140001ada
mov edx, 6
lea rcx, [rbp + 0x684]
call fcn.1400010af
lea rax, [rbp + 0x684]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x3f0]
lea r8, [0x14000f378]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.1400011ea
lea rcx, [rbp + 0x190]
call qword [sym.imp.ucrtbased.dll__strdup]
mov rcx, qword [rbp + 0x9e0]
mov qword [rcx], rax
mov rax, qword [rbp + 0x9e0]
cmp qword [rax + 0x18], 0
jne 0x140001af4
mov dword [rbp + 0x9b4], 1
jmp 0x140001afe
mov dword [rbp + 0x9b4], 0
mov rax, qword [rbp + 0x9e0]
mov ecx, dword [rbp + 0x9b4]
mov dword [rax + 0x20], ecx
mov rax, qword [rbp + 0x9e0]
cmp qword [rax + 8], 0
jne 0x140001b6d
mov edx, 6
lea rcx, [rbp + 0x6a4]
call fcn.1400010af
lea rax, [rbp + 0x6a4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
lea r8, str._s_s.exe
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call fcn.1400011ea
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.ucrtbased.dll__strdup]
mov rcx, qword [rbp + 0x9e0]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x9e0]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_htons
call fcn.140001262
mov rax, rdi
lea rsp, [rbp + 0x9c8]
pop rdi
pop rbp
ret