Function at 0x43ad59
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
test edi, edi
je 0x43b0e7
mov word [edi], ax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
xor ebx, ebx
inc ebx
test eax, eax
js 0x43b092
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x43b0b2
mov eax, dword [ecx]
xor edx, edx
push edx
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x409538
push edx
push edx
push ecx
mov ecx, esi
call dword [0x5035f0]
call esi
mov esi, eax
test esi, esi
js 0x43aef0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [ebp - 0x10]
push ecx
mov ecx, esi
call dword [0x5035f0]
call esi
mov esi, eax
test esi, esi
js 0x43aec3
mov edx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x120]
call fcn.00439ecc
mov esi, eax
test esi, esi
js 0x43ae8a
push dword [ebp - 0xc]
mov edx, 0x104
mov ecx, edi
call fcn.0041f6cc
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
jns 0x43ae70
mov eax, dword [section..data]
cmp eax, section..data
je 0x43b097
test byte [eax + 0x1c], bl
je 0x43b097
cmp byte [eax + 0x19], 2
jb 0x43b097
call fcn.0042386b
push esi
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x25
mov edx, 0x409694
pop ecx
call fcn.00421fda
jmp 0x43b092
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x5035f0]
call esi
mov eax, ebx
jmp 0x43b0e9
mov eax, dword [section..data]
cmp eax, section..data
je 0x43b097
test byte [eax + 0x1c], bl
je 0x43b097
cmp byte [eax + 0x19], 2
jb 0x43b097
call fcn.0042386b
push esi
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x26
jmp 0x43ae60
mov eax, dword [section..data]
cmp eax, section..data
je 0x43af26
test byte [eax + 0x1c], bl
je 0x43af26
cmp byte [eax + 0x19], 2
jb 0x43af26
call fcn.0042386b
push esi
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x27
jmp 0x43af1b
mov eax, dword [section..data]
cmp eax, section..data
je 0x43af26
test byte [eax + 0x1c], bl
je 0x43af26
cmp byte [eax + 0x19], 2
jb 0x43af26
call fcn.0042386b
push esi
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x28
mov edx, 0x409694
pop ecx
call fcn.00421fda
lea eax, [ebp - 8]
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, eax
test esi, esi
js 0x43b05c
cmp dword [ebp - 8], 0
je 0x43b05c
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x120]
push eax
push ebx
push dword [ebp - 8]
push ecx
mov ecx, esi
call dword [0x5035f0]
call esi
mov esi, eax
test esi, esi
js 0x43b02c
mov edx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x120]
call fcn.00439ecc
mov esi, eax
test esi, esi
js 0x43aff0
push dword [ebp - 0xc]
mov edx, 0x104
mov ecx, edi
call fcn.0041f6cc
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
jns 0x43afe2
mov eax, dword [section..data]
cmp eax, section..data
je 0x43b097
test byte [eax + 0x1c], bl
je 0x43b097
cmp byte [eax + 0x19], 2
jb 0x43b097
call fcn.0042386b
push esi
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x29
jmp 0x43ae60
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
jmp 0x43ae79
mov eax, dword [section..data]
cmp eax, section..data
je 0x43b097
test byte [eax + 0x1c], bl
je 0x43b097
cmp byte [eax + 0x19], 2
jb 0x43b097
call fcn.0042386b
push esi
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2a
jmp 0x43ae60
mov eax, dword [section..data]
cmp eax, section..data
je 0x43b097
test byte [eax + 0x1c], bl
je 0x43b097
cmp byte [eax + 0x19], 2
jb 0x43b097
call fcn.0042386b
push esi
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2b
jmp 0x43ae60
mov eax, dword [section..data]
cmp eax, section..data
je 0x43b097
test byte [eax + 0x1c], bl
je 0x43b097
cmp byte [eax + 0x19], 2
jb 0x43b097
call fcn.0042386b
push esi
push eax
mov eax, dword [section..data]
mov edx, 0x409694
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2c
pop ecx
call fcn.00421fda
mov eax, dword [section..data]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x43b0b7
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5035f0]
call esi
and dword [ebp - 4], 0
mov eax, dword [section..data]
cmp eax, section..data
je 0x43b0e7
test byte [eax + 0x1c], bl
je 0x43b0e7
cmp byte [eax + 0x19], 2
jb 0x43b0e7
call fcn.0042386b
push eax
mov eax, dword [section..data]
mov edx, 0x409694
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2d
pop ecx
call fcn.004238e7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret