Function at 0x440a50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645f39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
call fcn.005bc840
push 0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.005bcb20
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x440a93
lea eax, [ebp - 0x34]
push esi
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bea0
mov byte [ebp - 4], 1
push 0xc
push str.license.dat
lea ecx, [ebp - 0x18]
call fcn.00401710
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x440aed
push edi
lea ecx, [ebp - 0x10]
call fcn.00401400
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], edi
jge 0x440afc
push 0x80070057
call fcn.004011d0
xor ecx, ecx
push esi
push ecx
push ecx
push 0x1c
mov dword [esi - 0xc], edi
push ecx
mov word [esi + 0x208], cx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x440b43
cmp eax, 1
je 0x440b43
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440b22
sub eax, edx
sar eax, 1
js 0x440af2
cmp eax, dword [esi - 8]
jg 0x440af2
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
jmp 0x440b80
mov eax, esi
lea edx, [eax + 2]
jmp 0x440b50
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440b50
sub eax, edx
sar eax, 1
js 0x440af2
cmp eax, dword [esi - 8]
jg 0x440af2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.0041be60
push eax
lea ecx, [ebp - 0x10]
call fcn.004078d0
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
push esi
call fcn.004011f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
push 0x17
push str.MicrosoftWindows1064
lea ecx, [ebp - 0x14]
call fcn.00401710
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x2d
push str.WLCStructuredQuerySchemaProp71898AC21CDB.bin
lea ecx, [ebp - 0x14]
call fcn.00401710
lea ecx, [ebp - 0x98]
call fcn.0043bd60
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
push eax
call fcn.00423ca0
mov edi, dword [edi]
add edi, 0x18
lea ecx, [ebp - 0x94]
push edi
push ecx
call fcn.0043fe30
mov edi, dword [ebp - 0x14]
add esp, 8
push edi
lea ecx, [ebp - 0x98]
call fcn.00423ca0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x64]
mov dword [ebp + 8], edx
mov byte [ebp - 4], 8
mov ecx, edx
call fcn.004a2510
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x94]
call fcn.0041f5f0
mov byte [ebp - 4], 5
mov dword [ebp - 0x98], vtable.SecC::CSerialObject.0
mov byte [ebp - 4], 3
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440c53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440c70
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
test edx, edx
jg 0x440c95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 8
jb 0x440cae
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0060faf6
add esp, 4
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], dx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4