Function at 0x44b660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccf2e
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x524ee0]
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 dword [ebp - 0x350], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x33c], 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.004a9c90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44b729
push str.get_temp_path
lea ecx, [ebp - 0x334]
call fcn.00401ff0
lea eax, [ebp - 0x334]
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004305c0
mov edx, dword [ebp - 0x334]
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 0x44b722
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x44be7d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x338]
call fcn.00401ff0
mov eax, dword [ebp - 0x338]
mov byte [ebp - 4], 2
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x44bebe
cmp ecx, edx
jg 0x44bebe
cmp word [eax + ecx*2], 0x5c
je 0x44b774
push 1
push 0x4dfbc0
lea ecx, [ebp - 0x338]
call fcn.0040b920
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x338]
push dword [eax - 0xc]
push eax
call fcn.0040b920
push 0xc
push str._updater.exe
lea ecx, [ebp - 0x338]
call fcn.0040b920
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 3
call fcn.00450e10
test al, al
jne 0x44b825
xor esi, esi
lea ecx, [ecx]
call fcn.004a96f9
movd xmm0, eax
cvtdq2pd xmm0, xmm0
inc esi
movsd qword [ebp + esi*8 - 0x338], xmm0
cmp esi, 0x23
jb 0x44b7c0
xor ecx, ecx
mov edi, edi
mov eax, 0x22
cmp ecx, eax
jge 0x44b81f
lea esp, [esp]
movsd xmm0, qword [ebp + eax*8 - 0x330]
movsd xmm1, qword [ebp + eax*8 - 0x338]
comisd xmm0, xmm1
jbe 0x44b81a
movsd qword [ebp + eax*8 - 0x330], xmm1
movsd qword [ebp + eax*8 - 0x338], xmm0
dec eax
cmp eax, ecx
jg 0x44b7f0
inc ecx
cmp ecx, 0x23
jl 0x44b7e0
lea eax, [ebp - 0x344]
push eax
call fcn.00431bb0
add esp, 4
mov edi, eax
mov edx, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 4
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
mov eax, str.geo
mov byte [ebp - 4], 5
test eax, 0xffff0000
jne 0x44b882
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44b892
push esi
push eax
lea ecx, [ebp - 0x334]
call fcn.004074c0
jmp 0x44b892
push str.geo
lea ecx, [ebp - 0x334]
call fcn.0040b3b0
push edi
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x348]
push eax
mov byte [ebp - 4], 6
call fcn.0040b600
push str.userscope
push eax
lea eax, [ebp - 0x34c]
push eax
mov byte [ebp - 4], 7
call fcn.0040b6c0
cmp byte [ebx + 0x9c], 0
mov edx, 0x4e3a64
mov ecx, 0x4e2c0c
cmove ecx, edx
push ecx
push eax
lea eax, [ebp - 0x354]
push eax
mov byte [ebp - 4], 8
call fcn.0040b6c0
add esp, 0x24
mov eax, dword [eax]
lea ecx, [ebp - 0x340]
push dword [eax - 0xc]
mov byte [ebp - 4], 9
push eax
call fcn.0040b920
mov edx, dword [ebp - 0x354]
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 0x44b924
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34c]
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 0x44b947
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x348]
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 0x44b96a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x334]
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 0x44b98d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x344]
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 0x44b9b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
mov eax, str.downloading_update
mov byte [ebp - 4], 0xa
test eax, 0xffff0000
jne 0x44b9f7
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44ba09
push esi
push eax
lea ecx, [ebp - 0x334]
call fcn.004074c0
jmp 0x44ba09
push 0x12
push str.downloading_update
lea ecx, [ebp - 0x334]
call fcn.00409670
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x334]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.00430530
mov edx, dword [ebp - 0x334]
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 0x44ba45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0x33c]
call fcn.00439d80
add esp, 8
test al, al
jne 0x44bb3c
call fcn.00450f40
test al, al
jne 0x44baa9
mov esi, dword [0x526340]
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]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7aa0
push eax
call fcn.004a98f0
add esp, 8
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
mov eax, str.download_updater_exe
mov byte [ebp - 4], 0xc
test eax, 0xffff0000
jne 0x44baf0
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44bb00
push esi
push eax
lea ecx, [ebp - 0x334]
call fcn.004074c0
jmp 0x44bb00
push str.download_updater_exe
lea ecx, [ebp - 0x334]
call fcn.0040b3b0
lea eax, [ebp - 0x334]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.004305c0
mov edx, dword [ebp - 0x334]
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 0x44bb35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x44be37
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
mov eax, str.executing_update
mov byte [ebp - 4], 0xe
test eax, 0xffff0000
jne 0x44bb83
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44bb95
push esi
push eax
lea ecx, [ebp - 0x334]
call fcn.004074c0
jmp 0x44bb95
push 0x10
push str.executing_update
lea ecx, [ebp - 0x334]
call fcn.00409670
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x334]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.00430530
mov edx, dword [ebp - 0x334]
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 0x44bbd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [0x526340]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x14
idiv ecx
cmp edx, 0x12
jne 0x44bc0e
push 4
call fcn.004a834d
mov esi, eax
call fcn.004a96f9
mov dword [esi], eax
push esi
mov dword [0x526340], eax
call fcn.004a831e
add esp, 8
mov eax, dword [ebp + 0xc]
mov edx, 0x4e0b10
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x44bc3e
test si, si
je 0x44bc3a
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x44bc3e
add ecx, 4
add edx, 4
test si, si
jne 0x44bc18
xor ecx, ecx
jmp 0x44bc43
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
jne 0x44bc87
mov edx, 0x4e330c
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x44bc79
test si, si
je 0x44bc75
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x44bc79
add ecx, 4
add edx, 4
test si, si
jne 0x44bc53
xor ecx, ecx
jmp 0x44bc7e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
je 0x44bc99
push 0
push 0x4df410
lea ecx, [ebp + 0xc]
call fcn.00409670
mov eax, dword [ebp + 0xc]
lea esi, [eax - 0x10]
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0x344], esp
mov eax, dword [ecx]
mov dword [ebp - 0x33c], esp
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x44bccc
cmp ecx, dword [esi]
jne 0x44bccc
mov ebx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x44bd09
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x44bce0
call fcn.00409970
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.004a98f5
add esp, 0x10
mov ecx, dword [ebp - 0x33c]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
mov esi, dword [ebp - 0x338]
push ecx
mov ecx, dword [esi - 0x10]
mov byte [ebp - 4], 0x10
mov eax, dword [ecx]
mov dword [ebp - 0x33c], esp
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x44bd4b
cmp ecx, dword [esi - 0x10]
jne 0x44bd4b
lea ebx, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x44bd85
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x44bd5f
call fcn.00409970
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.004a98f5
add esp, 0x10
mov ecx, dword [ebp - 0x33c]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 3
call fcn.00452900
mov bl, al
mov eax, dword [0x524ab0]
add esp, 8
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x334], eax
mov eax, str.update_done
mov byte [ebp - 4], 0x11
test eax, 0xffff0000
jne 0x44bde5
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x44bdf7
push esi
push eax
lea ecx, [ebp - 0x334]
call fcn.004074c0
jmp 0x44bdf7
push 0xb
push str.update_done
lea ecx, [ebp - 0x334]
call fcn.00409670
mov ecx, dword [ebp - 0x350]
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x334]
push eax
mov byte [ebp - 4], 0x12
call fcn.00430530
mov edx, dword [ebp - 0x334]
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 0x44be37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x340]
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 0x44be5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x338]
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 0x44be7d
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 0x44be9e
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.004a8b24
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00404410
int3