Function at 0x1000ee9e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa50
push ebx
mov ebx, dword [0x10020b70]
push edi
push 0x1ac4
call fcn.1000ac19
mov edi, eax
pop ecx
test edi, edi
je 0x1000f222
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x1640], eax
mov eax, dword [0x10020b58]
call dword [eax + 0xac]
lea ecx, [edi + 0x648]
push ecx
mov ecx, dword [edi + 0x1640]
add ecx, eax
push ecx
call fcn.10013e49
mov eax, dword [0x10020b58]
lea esi, [edi + 0x1644]
pop ecx
pop ecx
push 0x105
push esi
push 0
call dword [eax + 0x128]
test eax, eax
je 0x1000ef1d
mov ecx, esi
call fcn.10009c51
mov dword [edi + 0x1854], eax
mov eax, dword [0x10020b58]
call dword [eax + 0x12c]
mov ecx, eax
call fcn.1000d8bf
mov dword [edi + 0x110], eax
mov ecx, dword [eax]
call fcn.1000da3a
test eax, eax
je 0x1000ef4c
mov dword [edi + 0x214], 3
jmp 0x1000ef5f
call fcn.1000d90f
xor ecx, ecx
test eax, eax
setg cl
inc ecx
mov dword [edi + 0x214], ecx
lea ecx, [edi + 0x220]
call fcn.10010281
mov dword [edi + 0x218], eax
call fcn.10010246
mov dword [edi + 0x21c], eax
lea esi, [edi + 0x114]
lea eax, [ebp - 0xc]
mov dword [edi + 0x224], ebx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x80
push eax
lea eax, [ebp - 0x28c]
mov dword [ebp - 4], 0x100
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [edi + 0x110]
push esi
push dword [eax]
mov eax, dword [0x10020b60]
push 0
call dword [eax + 0x6c]
test eax, eax
jne 0x1000efc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x10020b68]
push 0x1000
call dword [eax + 0x3c]
xor ecx, ecx
lea ebx, [edi + 0x228]
test eax, eax
mov edx, ebx
setg cl
mov dword [edi + 0x1850], ecx
call fcn.1000ee97
test ebx, ebx
je 0x1000effd
mov ecx, ebx
call fcn.10009c51
mov dword [edi + 0x434], eax
mov ecx, esi
call fcn.1000d70f
lea esi, [edi + 0xb0]
mov dword [edi + 0xac], eax
push ecx
mov edx, esi
mov ecx, eax
call fcn.1000d502
lea edx, [edi + 0xd0]
mov ecx, esi
call fcn.1000a03d
pop ecx
lea edx, [edi + 0x438]
mov ecx, ebx
call fcn.10009c6b
push 0
push esi
call fcn.1000b431
pop ecx
mov edx, eax
mov ecx, esi
call fcn.1000f226
pop ecx
lea edx, [edi + 0x100c]
mov ecx, eax
call fcn.1000d725
mov eax, dword [0x10020b58]
call dword [eax + 0x12c]
mov ecx, eax
call fcn.1000da8c
mov esi, 0x9c
movsx eax, al
push esi
push 0
push edi
mov dword [edi + 0x101c], eax
call fcn.1000adb3
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
call fcn.1000ec9a
mov ecx, eax
mov dword [edi + 0xa8], eax
call fcn.1000ecc3
push 0x104
lea ebx, [edi + 0x1020]
mov word [edi + 0x9c], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xc46
call fcn.1000abe4
mov ecx, dword [0x10020b58]
mov esi, eax
mov dword [esp], 0x104
lea eax, [ebp - 0x298]
push eax
push esi
mov dword [ebp - 4], esi
call dword [ecx + 0xec]
test eax, eax
jne 0x1000f0f0
mov eax, dword [0x10020b58]
push ebx
push esi
call dword [eax + 0x108]
lea eax, [ebp - 4]
push eax
call fcn.100093e4
mov eax, dword [0x10020b58]
lea esi, [edi + 0x1434]
mov dword [esp], 0x209
push esi
push str.USERPROFILE
call dword [eax + 0xec]
test eax, eax
jne 0x1000f145
push 0x1001defc
push ebx
push str._s_s
push 0x105
push esi
call fcn.1000ae40
mov eax, dword [0x10020b58]
add esp, 0x14
push esi
push str.USERPROFILE
call dword [eax + 0x108]
push 0x20a
lea eax, [edi + 0x122a]
mov ebx, str.TEMP
push eax
mov eax, dword [0x10020b58]
push ebx
call dword [eax + 0xec]
test eax, eax
jne 0x1000f173
mov eax, dword [0x10020b58]
push esi
push ebx
call dword [eax + 0x108]
push 0x40
lea eax, [ebp - 0x8c]
mov esi, str.SystemDrive
push eax
mov eax, dword [0x10020b58]
push esi
call dword [eax + 0xec]
test eax, eax
jne 0x1000f1a2
mov eax, dword [0x10020b58]
push 0x1001df1c
push esi
call dword [eax + 0x108]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x7f
push eax
lea eax, [edi + 0x199c]
push eax
mov eax, dword [0x10020b58]
call dword [eax + 0xbc]
lea eax, [ebp - 0xa50]
push eax
push 0
lea esi, [edi + 0x100c]
push esi
call fcn.1000b431
pop ecx
mov edx, eax
mov ecx, esi
call fcn.1000f226
pop ecx
push eax
call fcn.10013e49
push 0x20
lea eax, [edi + 0x1858]
push eax
lea eax, [ebp - 0xa50]
push eax
call fcn.10013e1b
lea eax, [ebp - 0xa50]
push eax
push 0x1e
push 0x14
lea ecx, [edi + 0x1878]
pop edx
call fcn.10009d38
add esp, 0x1c
call fcn.1000ea44
mov dword [edi + 0x1898], eax
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret