Function at 0x410610
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.0048f238
pop ecx
pop ecx
mov ecx, esi
call fcn.004103a0
mov ecx, esi
call fcn.00413f3f
mov dword [esi + 0xb4], eax
push dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, esi
call fcn.004150d9
mov dword [ebp - 0x10], eax
mov eax, dword [0x4c7a90]
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 0x4b1388
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 [0x4be2c8], 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 0x410754
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0x4bd8b1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, edi
jne 0x4106e3
cmp dword [ebp - 4], 0x4bd8b1
jne 0x41074c
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x41073f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0048994a
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.0048a159
lea ecx, [edi - 9]
mov dword [ecx], eax
lea ecx, [ebp - 0x24]
call fcn.0048996a
xor edi, edi
inc dword [ebp - 8]
add dword [ebp - 0xc], 4
add dword [ebp - 4], 0x14
jmp 0x4106d1
mov eax, dword [ebp - 8]
mov dword [0x4be2c8], eax
push 0x4bd8a8
push dword [0x4be2c8]
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 0x41078e
push 1
mov ecx, esi
call fcn.00410cb5
mov ecx, esi
call fcn.00410918
mov ecx, esi
call fcn.00410af0
push 0xfffffffffffffff0
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ch, 0x10
cmp eax, ecx
je 0x4107c2
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 0x410846
push dword [esi + 0xb8]
call fcn.00410518
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.0048f035
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.00410308
mov ecx, esi
call fcn.004144d3
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10