Function at 0x4235f8
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
xor eax, eax
mov esi, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
push edi
test esi, esi
je 0x423951
mov word [esi], ax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
xor ebx, ebx
mov edi, 0x46a020
inc ebx
test eax, eax
js 0x423907
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x42391d
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push 0
push edx
lea edx, [ebp - 0x14]
push edx
push 0x402fe0
push 0
push 0
push ecx
call dword [eax + 0xc]
mov ecx, eax
test ecx, ecx
js 0x423774
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x120]
push edx
push ebx
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov ecx, eax
test ecx, ecx
js 0x423748
mov edx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x120]
call fcn.00422756
mov ecx, eax
test ecx, ecx
js 0x423710
push dword [ebp - 0xc]
mov edx, 0x104
mov ecx, esi
call fcn.00414563
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
jns 0x423700
mov eax, dword [0x46a020]
cmp eax, edi
je 0x42390c
test byte [eax + 0x1c], bl
je 0x42390c
cmp byte [eax + 0x19], 2
jb 0x42390c
push esi
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x25
mov edx, 0x4030f4
pop ecx
call fcn.00412c68
jmp 0x423907
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, ebx
jmp 0x423951
mov eax, dword [0x46a020]
cmp eax, edi
je 0x42390c
test byte [eax + 0x1c], bl
je 0x42390c
cmp byte [eax + 0x19], 2
jb 0x42390c
push ecx
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x26
jmp 0x4236f0
mov eax, dword [0x46a020]
cmp eax, edi
je 0x4237a9
test byte [eax + 0x1c], bl
je 0x4237a9
cmp byte [eax + 0x19], 2
jb 0x4237a9
push ecx
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x27
jmp 0x42379e
mov eax, dword [0x46a020]
cmp eax, edi
je 0x4237a9
test byte [eax + 0x1c], bl
je 0x4237a9
cmp byte [eax + 0x19], 2
jb 0x4237a9
push ecx
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x28
mov edx, 0x4030f4
pop ecx
call fcn.00412c68
lea eax, [ebp - 8]
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, eax
test ecx, ecx
js 0x4238d2
cmp dword [ebp - 8], 0
je 0x4238d2
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x120]
push edx
push ebx
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov ecx, eax
test ecx, ecx
js 0x4238a3
mov edx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x120]
call fcn.00422756
mov ecx, eax
test ecx, ecx
js 0x423868
push dword [ebp - 0xc]
mov edx, 0x104
mov ecx, esi
call fcn.00414563
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
jns 0x42385a
mov eax, dword [0x46a020]
cmp eax, edi
je 0x42390c
test byte [eax + 0x1c], bl
je 0x42390c
cmp byte [eax + 0x19], 2
jb 0x42390c
push esi
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x29
jmp 0x4236f0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x423709
mov eax, dword [0x46a020]
cmp eax, edi
je 0x42390c
test byte [eax + 0x1c], bl
je 0x42390c
cmp byte [eax + 0x19], 2
jb 0x42390c
push ecx
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2a
jmp 0x4236f0
mov eax, dword [0x46a020]
cmp eax, edi
je 0x42390c
test byte [eax + 0x1c], bl
je 0x42390c
cmp byte [eax + 0x19], 2
jb 0x42390c
push ecx
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2b
jmp 0x4236f0
mov eax, dword [0x46a020]
cmp eax, edi
je 0x42390c
test byte [eax + 0x1c], bl
je 0x42390c
cmp byte [eax + 0x19], 2
jb 0x42390c
push ecx
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
mov edx, 0x4030f4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2c
pop ecx
call fcn.00412c68
mov eax, dword [0x46a020]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x423922
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebp - 4], 0
mov eax, dword [0x46a020]
cmp eax, edi
je 0x42394f
test byte [eax + 0x1c], bl
je 0x42394f
cmp byte [eax + 0x19], 2
jb 0x42394f
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x4030f4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2d
pop ecx
call fcn.004110b1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret