Function at 0x44ac30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a578
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
call fcn.0040bce0
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x44ac77
push 0x80004005
call fcn.0040c390
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x44acad
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0040c110
mov esi, dword [ebp - 0x14]
push 0
push 0x10
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [esi - 8]
mov edi, eax
push esi
call fcn.00551cd2
add esp, 8
test eax, eax
js 0x44ae53
cmp eax, dword [esi - 8]
jg 0x44ae53
xor ecx, ecx
mov dword [esi - 0xc], eax
or ebx, 0xffffffff
mov word [esi + eax*2], cx
test edi, edi
jne 0x44acf1
mov dword [ebp - 0x10], ecx
jmp 0x44ae20
push ecx
lea ecx, [esi - 0x10]
mov edi, esp
call fcn.0040c3c0
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [edi], eax
call fcn.0044a980
call fcn.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x44ad25
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x44ad5a
push 0x104
lea ecx, [ebp - 0x18]
call fcn.0040c110
mov edi, dword [ebp - 0x18]
push 0
push 0x19
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [edi - 8]
mov dword [ebp - 0x20], eax
push edi
call fcn.00551cd2
add esp, 8
test eax, eax
js 0x44ae53
cmp eax, dword [edi - 8]
jg 0x44ae53
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x20], ecx
jne 0x44ad9a
mov dword [ebp - 0x10], ecx
jmp 0x44ae03
push ecx
lea ecx, [edi - 0x10]
mov ebx, esp
call fcn.0040c3c0
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebx], eax
call fcn.0044a980
lea ecx, [ebp - 0x1c]
call fcn.004fbab0
push ecx
mov byte [ebp - 4], 2
mov ebx, esp
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040c3c0
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebx], eax
call fcn.0044a980
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
add edx, 0xfffffff0
mov dword [ebp - 0x10], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44ae03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44ae20
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x44ae3e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040c390
int3