Function at 0x440d20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4839c8
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x830]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x840]
xor esi, esi
mov edi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [edi + 8]
cmp eax, esi
je 0x440f8d
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push eax
call edx
mov dword [esp + 0x20], eax
mov eax, dword [0x4a4014]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x83c], esi
call fcn.0043fd40
test eax, eax
jne 0x440dd4
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a4010]
je 0x440f8d
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x440f8d
push esi
call fcn.00462471
add esp, 4
jmp 0x440f8d
push ebp
lea eax, [esp + 0x18]
push str.update
push eax
call fcn.0043f080
add esp, 0xc
test eax, eax
je 0x440e08
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call fcn.0041d280
call fcn.00429050
add esp, 4
cmp eax, esi
jne 0x440e96
push 0x800
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.00461950
add esp, 0xc
push 1
push 0x1a
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call fcn.0041d2c0
push ebp
push 0x48a924
push eax
mov byte [esp + 0x844], 1
mov dword [esp + 0x24], 1
call fcn.0043f080
add esp, 0xc
test eax, eax
je 0x440e7c
push ecx
mov ecx, esp
mov dword [esp + 0x828], esp
push ebp
call fcn.0041d280
call fcn.00429050
add esp, 4
cmp eax, esi
je 0x440e7c
xor bl, bl
jmp 0x440e7e
mov bl, 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x838], esi
call fcn.0041b2e0
test bl, bl
jne 0x440f84
cmp dword [edi + 0x14], esi
jne 0x440ea3
call fcn.00401340
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
cmp dword [edi + 0x14], 0
mov esi, eax
jne 0x440ebe
call fcn.00401340
mov dword [edi + 0x14], eax
mov edi, dword [edi + 0x14]
test esi, esi
je 0x440f84
test edi, edi
je 0x440f84
mov edi, dword [esp + 0x20]
mov ecx, dword [ebp]
mov ebx, dword [esi]
mov eax, edi
cdq
push edx
push eax
mov eax, dword [ebx + 0x30]
push ecx
push esi
call eax
test eax, eax
jne 0x440f74
mov ecx, dword [esi]
mov edx, dword [ecx + 0x54]
push edi
push esi
call edx
movzx eax, ax
test ax, ax
je 0x440f84
mov dword [esp + 0x826], 0
mov ecx, 0x5c
mov word [esp + 0x824], ax
lea edx, [esp + 0x824]
mov eax, 0x3a
mov word [esp + 0x828], cx
push edx
lea ecx, [esp + 0x1c]
mov word [esp + 0x82a], ax
call fcn.0041d2c0
push ebp
lea eax, [esp + 0x1c]
push str.update
push eax
mov byte [esp + 0x844], 2
call fcn.0043f080
add esp, 0xc
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0041b2e0
lea ecx, [esp + 0x14]
call fcn.0041b2e0
mov eax, esi
jmp 0x440f8f
lea ecx, [esp + 0x14]
call fcn.0041b2e0
mov eax, 1
jmp 0x440f8f
lea ecx, [esp + 0x14]
call fcn.0041b2e0
xor eax, eax
mov ecx, dword [esp + 0x830]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.00461932
add esp, 0x828
ret 4