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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c8]
sub rsp, 0x4c8
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r13, r9
mov r12, r8
mov r15, rdx
mov r14, rcx
xor edi, edi
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x18008999c
mov rcx, qword [rcx]
test rcx, rcx
je 0x18008999c
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rsi, qword [r14 + 0x10]
mov rcx, rsi
call fcn.18008cac0
test al, al
je 0x180089a93
mov rcx, qword [rsi]
call fcn.18008c840
mov rcx, rax
call fcn.1800a4ee0
test al, al
je 0x1800899ce
mov edx, 1
mov rcx, qword [rsi]
jmp 0x1800899df
mov rbx, qword [rsi]
mov rcx, rbx
call fcn.18008c910
lea edx, [rax + 1]
mov rcx, rbx
call fcn.18008c9e0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbx, rax
mov rdi, qword [rsi]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp - 0x58], xmm1
xor eax, eax
mov word [rbp - 0x68], ax
lea rdx, str.last_send_time
lea rcx, [rbp - 0x68]
call fcn.1800034f0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp - 0x18], xmm1
xor eax, eax
mov word [rbp - 0x28], ax
lea rdx, str.minidump_section
lea rcx, [rbp - 0x28]
call fcn.1800034f0
nop
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.18001e110
nop
lea r9, [rbp - 8]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1800a9ce0
nop
lea rcx, [rbp - 8]
call fcn.180003470
nop
lea rcx, [rbp - 0x28]
call fcn.180003470
nop
lea rcx, [rbp - 0x68]
call fcn.180003470
mov rcx, qword [rsi]
call fcn.1800aa160
xor edi, edi
mov byte [r14 + 8], 1
cmp qword [r15 + 0x10], 0
je 0x180089ef9
mov rcx, r15
call fcn.18001bf90
test al, al
je 0x180089ef9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], di
lea rdx, str.2345PdfDumper.exe
lea rcx, [rbp - 0x28]
call fcn.1800034f0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp - 0x58], xmm1
mov word [rbp - 0x68], di
lea rdx, str.2345PdfDumper.exe
lea rcx, [rbp - 0x68]
call fcn.1800034f0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 8]
call fcn.18008cbd0
nop
lea r8, [rbp - 0x28]
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.18001dd10
nop
lea rcx, [rbp - 8]
call fcn.180003470
nop
lea rcx, [rbp - 0x68]
call fcn.180003470
nop
lea rcx, [rbp - 0x28]
call fcn.180003470
lea rcx, [rbp + 0x100]
call fcn.18001bf90
test al, al
jne 0x180089b65
mov rcx, r15
call fcn.180023500
xor bl, bl
jmp 0x180089eeb
lea rcx, [rbp + 0xe0]
call fcn.180024b60
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0x28], xmm1
mov word [rbp + 0x18], di
lea rdx, [0x1800e0c4c]
lea rcx, [rbp + 0x18]
call fcn.1800034f0
nop
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x40], 0x40
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0xb0], xmm1
mov word [rbp + 0xa0], di
xor edx, edx
mov r8d, 0x20c
lea rcx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x105
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x180089c3a
mov word [rbp + 0x3aa], di
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0xa0]
call fcn.1800034f0
mov rbx, rdi
lea rax, [rbp - 8]
mov qword [rbp - 0x80], rax
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 8]
call fcn.180005300
nop
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.180025f00
nop
cmp qword [rbp - 0x58], 0
je 0x180089cfc
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqa xmmword [rbp + 0x130], xmm1
mov word [rbp + 0x120], di
movdqa xmmword [rbp + 0x150], xmm0
movdqa xmmword [rbp + 0x150], xmm1
mov word [rbp + 0x140], di
movdqa xmmword [rbp + 0x170], xmm0
movdqa xmmword [rbp + 0x170], xmm1
mov word [rbp + 0x160], di
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x68]
call fcn.180025b60
mov rbx, qword [rbp + 0x190]
lea rcx, [rbp + 0x160]
call fcn.180003470
nop
lea rcx, [rbp + 0x140]
call fcn.180003470
nop
lea rcx, [rbp + 0x120]
call fcn.180003470
nop
lea rcx, [rbp - 0x68]
call fcn.180003470
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.180005300
nop
mov r9, qword [rbp - 0x38]
mov rcx, rdi
test r9, r9
je 0x180089d64
mov r10d, 0x20
lea r11d, [r10 + 0x1f]
mov rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x48]
lea rax, [rbp - 0x48]
cmp rdx, 8
cmovae rax, r8
cmp r10w, word [rax + rcx*2]
jne 0x180089d5c
lea rax, [rbp - 0x48]
cmp rdx, 8
cmovae rax, r8
mov word [rax + rcx*2], r11w
mov rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x48]
inc rcx
cmp rcx, r9
jb 0x180089d30
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0xd0], xmm1
mov word [rbp + 0xc0], di
movdqu xmmword [rbp + 0x90], xmm0
movdqu xmmword [rbp + 0x90], xmm1
mov word [rbp + 0x80], di
lea r11, [rbp + 0xc0]
cmp qword [r12 + 0x18], 8
jb 0x180089db0
mov r12, qword [r12]
lea r10, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae r10, qword [rbp + 0x18]
lea r8, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae r8, qword [rbp + 0xe0]
lea r9, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r9, qword [rbp - 0x48]
shr rbx, 0x14
mov rdx, qword [rbp + 0x70]
shr rdx, 0x14
mov rcx, qword [rbp + 0x60]
shr rcx, 0x14
mov rax, qword [rbp + 0x50]
shr rax, 0x14
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
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 + 0x80]
call fcn.18001e8a0
lea rax, [rbp - 8]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 8]
call fcn.180005300
mov rbx, rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x68]
call fcn.180005300
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.18008d2a0
test al, al
jne 0x180089ea1
mov rcx, r15
call fcn.180023500
mov bl, 1
lea rcx, [rbp + 0x80]
call fcn.180003470
nop
lea rcx, [rbp + 0xc0]
call fcn.180003470
nop
lea rcx, [rbp - 0x48]
call fcn.180003470
nop
lea rcx, [rbp + 0xa0]
call fcn.180003470
nop
lea rcx, [rbp + 0x18]
call fcn.180003470
nop
lea rcx, [rbp + 0xe0]
call fcn.180003470
nop
lea rcx, [rbp + 0x100]
call fcn.180003470
jmp 0x180089efb
xor bl, bl
mov rcx, qword [r14]
test rcx, rcx
je 0x180089f09
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, bl
mov qword [rsp + 0x70], rdi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1800ba9e0
add rsp, 0x4c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret