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

Disassembly:
jmp 0x140001620
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.1400012c6
mov rdi, qword [rbp + 0x9e0]
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov dword [rbp + 0x644], 0
jmp 0x14000168b
mov eax, dword [rbp + 0x644]
inc eax
mov dword [rbp + 0x644], eax
mov eax, dword [rbp + 0x9e8]
cmp dword [rbp + 0x644], eax
jge 0x1400019d5
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 0x140001703
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 0x140001703
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 0x14000171c
lea rcx, str._thello_bie_n
call fcn.14000115e
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x1400019d0
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f020]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x140001760
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f024]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x1400017a2
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x1400017a2
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 0x1400019d0
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f028]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x1400017e6
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f02c]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x140001829
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x140001829
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 0x1400019d0
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f030]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x14000186d
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f034]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x1400018b0
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x1400018b0
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 0x1400019d0
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f038]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x1400018f4
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000f03c]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x140001907
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x24], 1
jmp 0x1400019d0
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 0x14000193c
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x28], 1
jmp 0x1400019d0
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 0x14000196e
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x2c], 1
jmp 0x1400019d0
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 0x1400019a0
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x30], 1
jmp 0x1400019d0
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 0x1400019d0
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x34], 1
jmp 0x14000167d
mov edx, 0x104
lea rcx, [rbp + 0x60]
call sub.ucrtbased.dll__getcwd
cdqe
test rax, rax
jne 0x140001a01
lea rcx, str.____Error_getting_current_directory_n
call fcn.14000115e
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 0x140001a36
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetTempPathA_Failed_With_Error_:__d__n
call fcn.14000115e
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, [0x14000f0e0]
mov edx, 0x104
lea rcx, [rbp + 0x520]
call fcn.1400011ef
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 0x140001aea
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, [0x14000f0e0]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.1400011ef
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 0x140001b04
mov dword [rbp + 0x9b4], 1
jmp 0x140001b0e
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 0x140001b7d
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.js
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call fcn.1400011ef
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.140001267
mov rax, rdi
lea rsp, [rbp + 0x9c8]
pop rdi
pop rbp
ret