Function at 0x42f4f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x598608
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x42f53c
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xb0]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov ecx, edi
mov dword [esp + 0x58], 0
call fcn.0042f760
mov dword [edi + 0x28], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x42f71f
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x42f715
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push 0
push 0x5abcd8
lea edx, [esp + 0x34]
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
push edx
push 1
push 0
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x42f715
push edi
push dword [esp + 0x18]
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x44]
call fcn.00444c00
sub esp, 0xc
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x40]
push dword [edi + 0x28]
call fcn.00444f30
call fcn.0050acc0
mov ebx, dword [0x640f9c]
xor esi, esi
test ebx, ebx
je 0x42f61c
mov eax, dword [esi + 0x5b585c]
jmp 0x42f622
mov eax, dword [esi + 0x5b58ec]
push eax
lea ecx, [esp + 0x24]
call fcn.0040c2d0
lea eax, [esp + 0x20]
mov byte [esp + 0x58], 2
push eax
push dword [edi + 0x28]
call fcn.0042e5a0
mov byte [esp + 0x58], 1
or ecx, 0xffffffff
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42f661
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, 0xc
jb 0x42f610
push dword [edi + 0x28]
call fcn.0042e6b0
push dword [edi + 0x28]
call fcn.00445050
mov ebx, dword [esp + 0x24]
push edi
push 1
push 0x42c600
push ebx
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
push 0
push ebx
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x142
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push 1
push 0x42c600
push ebx
mov esi, eax
call dword [sym.imp.COMCTL32.dll_RemoveWindowSubclass]
mov ebx, dword [ebp + 8]
test esi, esi
je 0x42f6fd
lea ecx, [esi - 1]
cmp ecx, 0x270f
ja 0x42f6da
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push esi
push eax
call fcn.004451e0
jmp 0x42f6fd
mov edx, dword [ebx]
lea eax, [esp + 0x24]
push eax
push 0
movzx eax, si
mov ecx, ebx
push eax
push 0x111
push ebx
mov dword [esp + 0x38], 0
call dword [edx + 0xa8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 0
call fcn.00444e20
push dword [esp + 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42f73e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4