Function at 0x44af40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cba12
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x51fee0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 4], 0
call fcn.004a8550
add esp, 0xc
call fcn.0044fdc0
mov edi, 4
test al, al
jne 0x44afe8
mov esi, dword [0x521340]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub esi, eax
xor ecx, ecx
lea eax, [esi + 0x2f4]
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a63b0
push eax
call fcn.004a8200
add esp, 8
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44b04d
push str.get_temp_path
lea ecx, [ebp - 0x21c]
call fcn.00401ff0
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0042ef80
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44b046
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x44b4b4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.00401ff0
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x44b4f5
cmp ecx, edx
jg 0x44b4f5
cmp word [eax + ecx*2], 0x5c
je 0x44b098
push 1
push 0x4da458
lea ecx, [ebp - 0x224]
call fcn.0040b9f0
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x224]
push dword [eax - 0xc]
push eax
call fcn.0040b9f0
push 0xc
push str._updater.exe
lea ecx, [ebp - 0x224]
call fcn.0040b9f0
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 3
call fcn.0044fd90
test al, al
jne 0x44b118
mov esi, dword [0x521340]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x63]
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a63b0
push eax
call fcn.004a8200
add esp, 8
lea eax, [ebp - 0x22c]
push eax
call fcn.00430410
add esp, 4
mov edi, eax
mov edx, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 4
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov eax, str.geo
mov byte [ebp - 4], 5
test eax, 0xffff0000
jne 0x44b175
movzx esi, ax
push 0
push esi
call fcn.00403bc0
add esp, 8
test eax, eax
je 0x44b185
push esi
push eax
lea ecx, [ebp - 0x21c]
call fcn.004075c0
jmp 0x44b185
push str.geo
lea ecx, [ebp - 0x21c]
call fcn.0040b480
push edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x238]
push eax
mov byte [ebp - 4], 6
call fcn.0040b6d0
push str.userscope
push eax
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 7
call fcn.0040b790
cmp byte [ebx + 0x9c], 0
mov edx, 0x4de414
mov ecx, 0x4dd5e4
cmove ecx, edx
push ecx
push eax
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 8
call fcn.0040b790
add esp, 0x24
mov eax, dword [eax]
lea ecx, [ebp - 0x228]
push dword [eax - 0xc]
mov byte [ebp - 4], 9
push eax
call fcn.0040b9f0
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 8
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44b217
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b23a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b25d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b280
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b2a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.downloading_update
lea ecx, [ebp - 0x21c]
call fcn.00401ff0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.0042eef0
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b2ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x230]
call fcn.00438be0
add esp, 8
lea ecx, [ebp - 0x21c]
test al, al
jne 0x44b354
push str.download_updater_exe
call fcn.004213a0
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.0042ef80
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b34d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x44b46e
push str.executing_update
call fcn.00401ff0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.0042eef0
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b39a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp + 0xc]
push 0x4db418
push eax
call fcn.0040b610
add esp, 8
test al, al
jne 0x44b3c4
lea eax, [ebp + 0xc]
push 0x4ddcd4
push eax
call fcn.0040b610
add esp, 8
test al, al
je 0x44b3d3
push 0
push 0x4d9c60
lea ecx, [ebp + 0xc]
call fcn.004097a0
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x230], esp
mov esi, esp
push eax
call fcn.00404880
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov esi, esp
push eax
mov byte [ebp - 4], 0xd
call fcn.00404880
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 3
call fcn.004513c0
add esp, 8
lea ecx, [ebp - 0x21c]
push str.update_done
mov byte [ebp - 0x21d], al
call fcn.00401ff0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.0042eef0
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b468
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, byte [ebp - 0x21d]
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b491
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b4b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x44b4d5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7434
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.004044c0
int3