Function at 0x44dd10
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63d5b5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x54], esi
test esi, esi
jne 0x44dd62
xor al, al
jmp 0x44df56
mov ecx, esi
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44dd82
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0042e850
sub esp, 8
mov dword [ebp - 4], 0
mov eax, esp
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
sub esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00492e40
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00498600
test al, al
je 0x44de4a
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004981d0
lea ecx, [ebp - 0x1c]
call fcn.00497b60
test eax, eax
je 0x44de4a
lea ecx, [ebp - 0x1c]
call fcn.00489bb0
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00497b60
cmp esi, eax
jne 0x44de47
mov ecx, edi
call fcn.00440aa0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [edi + 4], 1
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], eax
jmp 0x44df0b
mov esi, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x50], xmm0
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x44dead
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
push 0
push dword [ebx + 0xc]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, dword [ebp - 0x54]
test esi, esi
jne 0x44de8a
mov byte [ebp - 0x55], 0
jmp 0x44df0f
mov ecx, edi
call fcn.00440aa0
push esi
mov dword [edi + 4], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push dword [ebp - 0x54]
mov dword [edi + 8], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x44df0b
mov ecx, esi
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44dec7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x70]
call fcn.0042e850
mov ecx, edi
call fcn.00440aa0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov dword [edi + 4], 1
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x70]
mov dword [edi + 8], eax
call fcn.0042f900
mov byte [ebp - 0x55], 1
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x44df4b
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x44df4b
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x659730]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x44df4b
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x659730]
mov ecx, edi
call esi
lea ecx, [ebp - 0x40]
call fcn.0042f900
mov al, byte [ebp - 0x55]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc