Function at 0x4106a1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebx, [esi + 0xb0]
push ebx
push edi
mov dword [ebx], edi
call fcn.0048ed53
pop ecx
pop ecx
mov ecx, esi
call fcn.00410431
mov ecx, esi
call fcn.00413fc5
mov dword [esi + 0xb4], eax
push dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, esi
call fcn.0041515f
mov dword [ebp - 0x10], eax
mov eax, dword [0x4c69a8]
push edi
push eax
push 0xe801
push dword [esi + 4]
push dword [ebp - 0x10]
push 0x64
push edi
push edi
push 0x5600094c
push edi
push 0x4b0388
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push dword [ebx]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xc], eax
mov dword [esi + 0xb8], eax
push edi
push 0x430
push eax
call ebx
push edi
push 0x14
push 0x41e
push dword [ebp - 0xc]
call ebx
cmp dword [0x4bd200], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0x11
mov dword [ebp - 0x28], edi
mov dword [ebp - 8], edi
jne 0x4107e5
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0x4bc7e9
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, edi
jne 0x410774
cmp dword [ebp - 4], 0x4bc7e9
jne 0x4107dd
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4107d0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0048938d
mov eax, dword [ebp - 4]
push 1
lea ecx, [ebp - 0x24]
lea edi, [eax - 9]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, 0x6f
mov byte [edi - 1], 4
mov byte [edi], 8
and dword [edi + 3], 0
and dword [edi + 7], 0
mov dword [edi - 5], eax
call fcn.00489b9c
lea ecx, [edi - 9]
mov dword [ecx], eax
lea ecx, [ebp - 0x24]
call fcn.004893ad
xor edi, edi
inc dword [ebp - 8]
add dword [ebp - 0xc], 4
add dword [ebp - 4], 0x14
jmp 0x410762
mov eax, dword [ebp - 8]
mov dword [0x4bd200], eax
push 0x4bc7e0
push dword [0x4bd200]
push 0x444
push dword [esi + 0xb8]
call ebx
push 1
push edi
push 0x454
push dword [esi + 0xb8]
call ebx
cmp dword [esi + 0xd0], 1
jne 0x41081f
push 1
mov ecx, esi
call fcn.00410d46
mov ecx, esi
call fcn.004109a9
mov ecx, esi
call fcn.00410b81
push 0xfffffffffffffff0
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ch, 0x10
cmp eax, ecx
je 0x410853
push ecx
push 0xfffffffffffffff0
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push edi
push 0x454
push dword [esi + 0xb8]
call ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffa
movzx eax, ax
shl eax, 0x10
or al, 0x10
push eax
push edi
push 0x41f
mov dword [ebp - 0xc], eax
push dword [esi + 0xb4]
call ebx
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
cmp eax, 0x18
setle cl
dec ecx
and ecx, 8
add ecx, 0x10
mov eax, ecx
movzx eax, ax
mov ecx, eax
shl ecx, 0x10
or ecx, eax
push ecx
push edi
push 0x420
push dword [esi + 0xb4]
call ebx
push dword [ebp - 0xc]
push edi
push 0x41f
push dword [esi + 0xb8]
call ebx
cmp dword [esi + 0x2c], edi
je 0x4108d7
push dword [esi + 0xb8]
call fcn.004105a9
pop ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], edi
push dword [esi + 0xb8]
call fcn.0048eb50
add esp, 0xc
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push edi
push edi
push edi
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00410399
mov ecx, esi
call fcn.00414559
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10