Function at 0x441780
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x480f98
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a30f8]
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 0x4419ed
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push eax
call edx
mov dword [esp + 0x20], eax
mov eax, dword [0x4a1014]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x83c], esi
call fcn.00440930
test eax, eax
jne 0x441834
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a1010]
je 0x4419ed
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4419ed
push esi
call fcn.00461ef0
add esp, 4
jmp 0x4419ed
push ebp
lea eax, [esp + 0x18]
push str.update
push eax
call fcn.0043fb50
add esp, 0xc
test eax, eax
je 0x441868
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call fcn.0041de70
call fcn.00429930
add esp, 4
cmp eax, esi
jne 0x4418f6
push 0x800
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.00461880
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.0041deb0
push ebp
push 0x487a6c
push eax
mov byte [esp + 0x844], 1
mov dword [esp + 0x24], 1
call fcn.0043fb50
add esp, 0xc
test eax, eax
je 0x4418dc
push ecx
mov ecx, esp
mov dword [esp + 0x828], esp
push ebp
call fcn.0041de70
call fcn.00429930
add esp, 4
cmp eax, esi
je 0x4418dc
xor bl, bl
jmp 0x4418de
mov bl, 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x838], esi
call fcn.0041c130
test bl, bl
jne 0x4419e4
cmp dword [edi + 0x14], esi
jne 0x441903
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 0x44191e
call fcn.00401340
mov dword [edi + 0x14], eax
mov edi, dword [edi + 0x14]
test esi, esi
je 0x4419e4
test edi, edi
je 0x4419e4
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 0x4419d4
mov ecx, dword [esi]
mov edx, dword [ecx + 0x54]
push edi
push esi
call edx
movzx eax, ax
test ax, ax
je 0x4419e4
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.0041deb0
push ebp
lea eax, [esp + 0x1c]
push str.update
push eax
mov byte [esp + 0x844], 2
call fcn.0043fb50
add esp, 0xc
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0041c130
lea ecx, [esp + 0x14]
call fcn.0041c130
mov eax, esi
jmp 0x4419ef
lea ecx, [esp + 0x14]
call fcn.0041c130
mov eax, 1
jmp 0x4419ef
lea ecx, [esp + 0x14]
call fcn.0041c130
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.00461862
add esp, 0x828
ret 4