Function at 0x180039530
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 [0x180122010]
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 0x180039589
mov rcx, qword [rcx]
test rcx, rcx
je 0x180039589
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdi, qword [r14 + 0x10]
mov rcx, rdi
call fcn.18003b430
test al, al
je 0x1800395e8
mov rcx, qword [rdi]
call fcn.18003ac70
mov rcx, rax
call fcn.180046150
test al, al
je 0x1800395b7
mov edx, 1
mov rcx, qword [rdi]
jmp 0x1800395c8
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.18003b0a0
lea edx, [rax + 1]
mov rcx, rbx
call fcn.18003b220
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.18003adf0
mov rcx, qword [rdi]
call fcn.180044110
mov byte [r14 + 8], 1
xor edi, edi
cmp qword [rsi + 0x10], rdi
je 0x180039caa
mov rcx, rsi
call fcn.18001a210
test al, al
je 0x180039caa
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1800e71a0]
movdqu xmmword [rbp], xmm1
mov word [rbp - 0x10], di
lea r8d, [rdi + 0x11]
lea rdx, str.2345PicDumper.exe
lea rcx, [rbp - 0x10]
call fcn.180007980
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1800e71a0]
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.180007980
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xf0]
call fcn.18003b590
nop
lea r8, [rbp - 0x10]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.18001c540
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x1800396d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800396ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800396ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18003972d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039728
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x180039781
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003977c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003977c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
lea rcx, [rbp + 0x90]
call fcn.18001a210
test al, al
jne 0x1800397b1
mov rcx, rsi
call fcn.180021c30
xor bl, bl
jmp 0x180039c48
lea rcx, [rbp + 0x70]
call fcn.180027070
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e71a0]
movdqu xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x30], di
mov r8d, 2
lea rdx, [0x1800e2b80]
lea rcx, [rbp + 0x30]
call fcn.180007980
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 [0x1800e71a0]
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 0x1800398bb
mov word [rbp + 0x31a], di
lea rax, [rbp + 0x110]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800398a0
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
call fcn.180007980
lea rcx, [rbp - 0x30]
call fcn.1800280c0
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.1800075b0
nop
mov r9, qword [rbp + 0x20]
mov rcx, rdi
test r9, r9
je 0x180039926
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 0x18003991e
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 0x1800398f2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1800e71a0]
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 0x18003995b
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.18001ebe0
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.1800075b0
mov rbx, rax
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x50]
call fcn.1800075b0
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.180028f70
test al, al
jne 0x180039a49
mov rcx, rsi
call fcn.180021c30
mov bl, 1
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x180039a8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039a89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039a89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x180039ae2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039add
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039add
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], di
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x180039b36
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039b31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039b31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x180039b89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039b84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039b84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x180039bdd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039bd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039bd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], di
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x180039c34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039c2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039c2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], di
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x180039c91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039c8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039c8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], di
jmp 0x180039cac
xor bl, bl
mov rcx, qword [r14]
test rcx, rcx
je 0x180039cba
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.1800c8530
add rsp, 0x430
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret