Function at 0x10009190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x100d703c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x668], 0x100d8b20
mov dword [0x100d8b20], 0
mov dword [0x100d8b24], 0
mov dword [0x100d8b28], 0
mov dword [0x100d8b2c], 0
mov dword [0x100d8b30], 0
mov dword [ebp - 0x66c], 0x100d8b38
mov dword [0x100d8b5c], 0
mov dword [ebp - 4], 1
xor eax, eax
mov dword [0x100d8b70], 0
mov dword [0x100d8b74], 7
mov word [0x100d8b60], ax
mov byte [ebp - 4], 2
call fcn.100094a0
mov eax, dword [0x100d8704]
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x634], 0x100d8704
test eax, eax
je 0x10009269
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 3
mov edi, 0x100d8b60
mov ecx, dword [0x100d7080]
test ecx, ecx
je 0x100092a0
cmp edi, 0x100d7070
je 0x1000936e
cmp dword [0x100d7084], 8
mov eax, 0x100d7070
cmovae eax, dword [0x100d7070]
jmp 0x10009365
push 0x20c
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x1000936e
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x630]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x630]
push 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x10009346
test eax, eax
je 0x10009346
add eax, eax
cmp eax, 0x412
jae 0x1000948d
xor ecx, ecx
mov word [ebp + eax - 0x630], cx
lea ecx, [ebp - 0x630]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009333
lea eax, [ebp - 0x630]
jmp 0x10009361
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009350
lea eax, [ebp - 0x21c]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10003a60
mov byte [ebp - 4], 2
mov eax, dword [0x100d8704]
test eax, eax
je 0x10009382
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xb
xor eax, eax
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0
lea ecx, [ebp - 0x64c]
push str.HaoCompress
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 7
mov word [ebp - 0x64c], ax
call fcn.10003a60
mov byte [ebp - 4], 4
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x664]
push 0x100d8b60
push eax
call fcn.100100d0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 5
cmp esi, 0x100d8b60
je 0x1000942d
mov ecx, edi
call fcn.10003a00
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x100d8b60], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x100d8b70], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x664]
call fcn.10003a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64c]
call fcn.10003a00
push 0x100d8b60
call fcn.1000e300
add esp, 4
test al, al
jne 0x10009466
mov ecx, 0x100d8b60
call fcn.1000e3c0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x100d8b20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009ea6c
mov esp, ebp
pop ebp
ret
call fcn.1009ebdc
int3