Function at 0x1011df49
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov dword [ebp - 0x264], eax
push esi
mov esi, 0x1004d05c
push edi
test eax, eax
jne 0x1011df83
push 0x1004d288
mov edx, 0xb4
mov ecx, esi
call fcn.100e970f
mov eax, dword [0x1004d2a0]
lea edi, [ebp - 0x248]
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov eax, dword [0x1004d2a4]
push 0xa
mov dword [ebp - 8], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov edi, 0x104
mov dword [ebp - 0x258], ebx
push edi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x254], ebx
push eax
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x1011e01b
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x1011dffa
movzx edi, di
or edi, 0x80070000
test edi, edi
js 0x1011e001
mov edi, 0x80004005
push 0x100349f4
push 1
push edi
push 0x4000000
call fcn.100ab973
add esp, 0x10
jmp 0x1011e1fe
cmp eax, edi
jbe 0x1011e030
push 0x1004d2a8
mov edx, 0xcb
mov ecx, esi
call fcn.100e970f
mov ax, word [ebp - 0x218]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x258]
push eax
push 0x1006f198
push 0x17
push ebx
push 0x1006f178
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x1011e062
push 0x1004d2c8
jmp 0x1011e006
mov ecx, dword [ebp - 0x258]
mov esi, 0x1004d420
mov eax, dword [ecx]
mov ebx, dword [eax + 0xc]
lea eax, [ebp - 0x254]
push eax
push 0x1006f188
sub esp, 0x10
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x101e07c0]
call ebx
mov edi, eax
test edi, edi
jns 0x1011e0a2
push 0x1004d2f4
jmp 0x1011e006
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx]
mov esi, dword [eax]
lea eax, [ebp - 0x250]
push eax
push 0x1006f168
push ecx
mov ecx, esi
call dword [0x101e07c0]
call esi
mov edi, eax
test edi, edi
jns 0x1011e0d3
push 0x1004d334
jmp 0x1011e006
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, esi
call dword [0x101e07c0]
call esi
mov edi, eax
test edi, edi
jns 0x1011e104
push 0x1004d374
jmp 0x1011e006
mov ebx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x24c]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x248]
push eax
push 1
push ecx
mov ecx, esi
call dword [0x101e07c0]
call esi
xor esi, esi
mov edi, eax
inc esi
cmp edi, esi
je 0x1011e1ed
test edi, edi
js 0x1011e1e2
cmp dword [ebp - 0x21c], esi
jne 0x1011e156
cmp dword [ebp - 0x248], 3
je 0x1011e16a
push 0x1004d3c0
mov edx, 0xe2
mov ecx, 0x1004d05c
call fcn.100e970f
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x234]
add eax, ebx
adc ecx, dword [ebp - 0x25c]
cmp ecx, dword [ebp - 0x25c]
jb 0x1011e1d6
ja 0x1011e18c
cmp eax, ebx
jb 0x1011e1d6
cmp dword [ebp - 0x240], 0
mov ebx, eax
mov dword [ebp - 0x25c], ecx
je 0x1011e1a9
push dword [ebp - 0x240]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
cmp dword [ebp - 0x23c], 0
je 0x1011e1be
push dword [ebp - 0x23c]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
push 0xa
xor eax, eax
lea edi, [ebp - 0x248]
and dword [ebp - 0x21c], eax
pop ecx
rep stosd dword es:[edi], eax
jmp 0x1011e10a
mov edi, 0x80070216
push 0x1004d400
jmp 0x1011e1e7
push 0x1004d3a0
push esi
jmp 0x1011e008
mov eax, dword [ebp - 0x264]
mov edx, dword [ebp - 0x25c]
mov dword [eax], ebx
mov dword [eax + 4], edx
cmp dword [ebp - 0x240], 0
je 0x1011e213
push dword [ebp - 0x240]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
cmp dword [ebp - 0x23c], 0
je 0x1011e228
push dword [ebp - 0x23c]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
je 0x1011e242
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101e07c0]
call esi
mov ecx, dword [ebp - 0x250]
test ecx, ecx
je 0x1011e25c
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101e07c0]
call esi
mov ecx, dword [ebp - 0x254]
test ecx, ecx
je 0x1011e276
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101e07c0]
call esi
mov ecx, dword [ebp - 0x258]
test ecx, ecx
je 0x1011e290
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101e07c0]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b88c0
leave
ret