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

Disassembly:
push ebp
lea ebp, [esp - 0x378]
sub esp, 0x378
push 0xffffffffffffffff
push 0x100ae9f4
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100d703c]
xor eax, ebp
mov dword [ebp + 0x374], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x380]
mov edi, dword [ebp + 0x384]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x1006f481
mov eax, dword [ebx]
test eax, eax
je 0x1006f481
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 8]
call fcn.10070750
mov byte [ebx + 4], 1
cmp dword [esi + 0x10], 0
je 0x1006f9ad
push esi
call fcn.1000e210
add esp, 4
test al, al
je 0x1006f9ad
push 0x15
xor eax, eax
mov dword [ebp + 0x148], 0
mov dword [ebp + 0x14c], 0
lea ecx, [ebp + 0x138]
push str.HaoCompressDumper.exe
mov dword [ebp + 0x148], 0
mov dword [ebp + 0x14c], 7
mov word [ebp + 0x138], ax
call fcn.10003a60
mov byte [ebp - 4], 1
xor eax, eax
push 0x15
mov dword [ebp + 0x160], 0
lea ecx, [ebp + 0x150]
mov dword [ebp + 0x164], 0
push str.HaoCompressDumper.exe
mov dword [ebp + 0x160], 0
mov dword [ebp + 0x164], 7
mov word [ebp + 0x150], ax
call fcn.10003a60
mov byte [ebp - 4], 2
lea edx, [ebp + 0x150]
lea ecx, [ebp + 0xf0]
call fcn.100708b0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x138]
push ecx
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.100100d0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xf0]
call fcn.10003a00
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x150]
call fcn.10003a00
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x138]
call fcn.10003a00
lea eax, [ebp + 0x40]
push eax
call fcn.1000e210
add esp, 4
test al, al
jne 0x1006f5c2
mov ecx, esi
call fcn.10011830
xor al, al
mov byte [ebp - 0xd], al
mov byte [ebp - 4], al
lea ecx, [ebp + 0x40]
call fcn.10003a00
mov al, byte [ebp - 0xd]
jmp 0x1006f9b2
lea ecx, [ebp + 0xc0]
call fcn.10015e80
mov byte [ebp - 4], 8
lea ecx, [ebp + 0xd8]
push 0x100bcc84
call fcn.10003770
mov byte [ebp - 4], 9
lea eax, [ebp]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp], 0x40
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor eax, eax
mov dword [ebp + 0x160], 0
mov dword [ebp + 0x164], 0
mov dword [ebp + 0x160], 0
mov dword [ebp + 0x164], 7
mov word [ebp + 0x150], ax
mov byte [ebp - 4], 0xa
push 0x20c
push eax
lea eax, [ebp + 0x168]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x168]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x1006f6a2
xor eax, eax
lea ecx, [ebp + 0x168]
mov word [ebp + 0x372], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006f680
sub ecx, edx
lea eax, [ebp + 0x168]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x150]
call fcn.10003a60
sub esp, 0x18
lea eax, [ebp + 0x150]
xorps xmm0, xmm0
mov dword [ebp - 0x14], esp
mov ecx, esp
movlpd qword [ebp - 0x2c], xmm0
push eax
call fcn.100037e0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0xf0]
call fcn.10017680
add esp, 0x18
mov byte [ebp - 4], 0xc
cmp dword [ebp + 0x100], 0
je 0x1006f79f
xor eax, eax
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 7
mov word [ebp + 0x58], ax
mov byte [ebp - 4], 0xd
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x84], eax
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x84], 7
mov word [ebp + 0x70], ax
mov byte [ebp - 4], 0xe
mov dword [ebp + 0x98], eax
mov dword [ebp + 0x9c], eax
mov dword [ebp + 0x98], eax
mov dword [ebp + 0x9c], 7
mov word [ebp + 0x88], ax
mov byte [ebp - 4], 0x10
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0xf0]
call fcn.10017200
mov eax, dword [ebp + 0xb0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xb4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x88]
call fcn.10003a00
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0x70]
call fcn.10003a00
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x58]
call fcn.10003a00
jmp 0x1006f7ab
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0xf0]
call fcn.10003a00
push esi
lea ecx, [ebp + 0x108]
call fcn.100037e0
mov byte [ebp - 4], 0x14
mov edx, 0x20
push 0x3f
lea ecx, [ebp + 0x108]
call fcn.1000d630
xor eax, eax
mov dword [ebp + 0x130], 0
mov dword [ebp + 0x134], 0
add esp, 4
mov dword [ebp + 0x130], 0
mov dword [ebp + 0x134], 7
mov word [ebp + 0x120], ax
mov byte [ebp - 4], 0x15
mov dword [ebp + 0x148], eax
mov dword [ebp + 0x14c], eax
mov dword [ebp + 0x148], eax
mov dword [ebp + 0x14c], 7
mov word [ebp + 0x138], ax
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x120]
cmp dword [edi + 0x14], 8
jb 0x1006f84c
mov edi, dword [edi]
mov dword [ebp - 0x18], edi
cmp dword [ebp + 0xec], 8
lea edi, [ebp + 0xd8]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp + 0xc0]
cmovae edi, dword [ebp + 0xd8]
lea edx, [ebp + 0x108]
cmp dword [ebp + 0xd4], 8
push eax
push dword [ebp + 0x38c]
cmovae esi, dword [ebp + 0xc0]
push dword [ebp + 0x388]
cmp dword [ebp + 0x11c], 8
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp + 0x108]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
mov eax, dword [ebp + 0x34]
push ecx
mov ecx, dword [ebp + 0x30]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push dword [ebp - 0x18]
lea eax, [ebp + 0x138]
push edi
push esi
push edx
push str._send_minidump
push str._s__s_s_s_s_I64u_I64u_I64u_I64u_I64x_s
push eax
call fcn.1000dab0
add esp, 0x48
lea eax, [ebp + 0x138]
push 0
push 0
push 1
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.100037e0
mov byte [ebp - 4], 0x17
sub esp, 0x18
lea eax, [ebp + 0x40]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.100037e0
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x16
call fcn.1009b7e0
add esp, 0x40
test al, al
jne 0x1006f93d
mov ecx, dword [ebp - 0x24]
call fcn.10011830
mov al, 1
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x138]
call fcn.10003a00
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x120]
call fcn.10003a00
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x108]
call fcn.10003a00
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x150]
call fcn.10003a00
mov byte [ebp - 4], 8
lea ecx, [ebp + 0xd8]
call fcn.10003a00
mov byte [ebp - 4], 7
lea ecx, [ebp + 0xc0]
call fcn.10003a00
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x40]
call fcn.10003a00
mov al, byte [ebp - 0xd]
jmp 0x1006f9b2
xor al, al
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx]
test ecx, ecx
je 0x1006f9c9
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0xd]
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x374]
xor ecx, ebp
call fcn.1009ea6c
lea esp, [ebp + 0x378]
pop ebp
ret 0x10