Function at 0x18025f6d0
Capabilities:
Get common file path
Get memory capacity

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r12, r9
mov r15, r8
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x18025f729
mov rcx, qword [rcx]
test rcx, rcx
je 0x18025f729
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdi, qword [r14 + 0x10]
mov rcx, rdi
call fcn.18025f280
test al, al
je 0x18025f788
mov rcx, qword [rdi]
call fcn.18025eac0
mov rcx, rax
call fcn.1801641a0
test al, al
je 0x18025f757
mov edx, 1
mov rcx, qword [rdi]
jmp 0x18025f768
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.18025eef0
lea edx, [rax + 1]
mov rcx, rbx
call fcn.18025f070
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rdx, rax
mov rcx, qword [rdi]
call fcn.18025ec40
mov rcx, qword [rdi]
call fcn.18016a030
mov byte [r14 + 8], 1
xor edi, edi
cmp qword [rsi + 0x10], rdi
je 0x18025fe4a
mov rcx, rsi
call fcn.180155ab0
test al, al
je 0x18025fe4a
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rbp], xmm1
mov word [rbp - 0x10], di
lea r8d, [rdi + 0x11]
lea rdx, str.2345PicDumper.exe
lea rcx, [rbp - 0x10]
call fcn.180004e70
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], di
lea r8d, [rdi + 0x11]
lea rdx, str.2345PicDumper.exe
lea rcx, [rbp - 0x30]
call fcn.180004e70
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xf0]
call fcn.1802327a0
nop
lea r8, [rbp - 0x10]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.18015aa30
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x18025f873
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18025f86e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18025f86e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18025f8cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18025f8c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18025f8c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x18025f921
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18025f91c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18025f91c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
lea rcx, [rbp + 0x90]
call fcn.180155ab0
test al, al
jne 0x18025f951
mov rcx, rsi
call fcn.180175040
xor bl, bl
jmp 0x18025fde8
lea rcx, [rbp + 0x70]
call fcn.1801638a0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x30], di
mov r8d, 2
lea rdx, [0x1803d6a7c]
lea rcx, [rbp + 0x30]
call fcn.180004e70
nop
xor eax, eax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0xb0], 0x40
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], di
xor edx, edx
mov r8d, 0x20c
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x105
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x18025fa5b
mov word [rbp + 0x31a], di
lea rax, [rbp + 0x110]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18025fa40
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
call fcn.180004e70
lea rcx, [rbp - 0x30]
call fcn.180183c10
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.180004aa0
nop
mov r9, qword [rbp + 0x20]
mov rcx, rdi
test r9, r9
je 0x18025fac6
mov r10d, 0x20
lea r11d, [r10 + 0x1f]
mov rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x10]
lea rax, [rbp + 0x10]
cmp rdx, 8
cmovae rax, r8
cmp r10w, word [rax + rcx*2]
jne 0x18025fabe
lea rax, [rbp + 0x10]
cmp rdx, 8
cmovae rax, r8
mov word [rax + rcx*2], r11w
mov rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x10]
inc rcx
cmp rcx, r9
jb 0x18025fa92
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x60], xmm1
mov word [rbp + 0x50], di
movdqu xmmword [rbp], xmm0
movdqu xmmword [rbp], xmm1
mov word [rbp - 0x10], di
lea r11, [rbp + 0x50]
cmp qword [r15 + 0x18], 8
jb 0x18025fafb
mov r15, qword [r15]
lea r10, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae r10, qword [rbp + 0x30]
lea r8, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae r8, qword [rbp + 0x70]
lea r9, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r9, qword [rbp + 0x10]
shr rbx, 0x14
mov rdx, qword [rbp + 0xe0]
shr rdx, 0x14
mov rcx, qword [rbp + 0xd0]
shr rcx, 0x14
mov rax, qword [rbp + 0xc0]
shr rax, 0x14
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r8
lea r8, str._send_minidump
lea rdx, str._s__s_s_s_s_I64u_I64u_I64u_I64u_I64x_s
lea rcx, [rbp - 0x10]
call fcn.180154c50
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.180004aa0
mov rbx, rax
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x50]
call fcn.180004aa0
nop
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9b, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.1801fed00
test al, al
jne 0x18025fbe9
mov rcx, rsi
call fcn.180175040
mov bl, 1
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x18025fc2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18025fc29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18025fc29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x18025fc82
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18025fc7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18025fc7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], di
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x18025fcd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18025fcd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18025fcd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18025fd29
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18025fd24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18025fd24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x18025fd7d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18025fd78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18025fd78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], di
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x18025fdd4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18025fdcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18025fdcf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], di
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x18025fe31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18025fe2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18025fe2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], di
jmp 0x18025fe4c
xor bl, bl
mov rcx, qword [r14]
test rcx, rcx
je 0x18025fe5a
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x70], rdi
movzx eax, bl
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.180385c10
add rsp, 0x430
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret