Function at 0x441eff
Capabilities:
Check os version
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2fc5
mov eax, dword fs:[0]
push eax
mov eax, 0x152c
call fcn.004bf2f0
mov eax, dword [0x52fe80]
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 esi, edx
xor ebx, ebx
xor eax, eax
mov edi, 0x206
mov dword [ebp - 0x1534], ebx
push edi
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push ebx
push eax
call fcn.004bf240
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x441f62
mov esi, dword [esi]
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.004c033a
xor eax, eax
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.004bf240
add esp, 0x14
lea eax, [ebp - 0x420]
push ebx
push 0x1c
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1058]
call fcn.00406c40
push str.liebaoManualUpgrade_
lea ecx, [ebp - 0x1058]
mov dword [ebp - 4], ebx
call fcn.00406da0
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x1040]
call fcn.00406c40
mov esi, 0x50f8e4
mov byte [ebp - 4], 1
push esi
call fcn.00405d70
pop ecx
push eax
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x1040]
call fcn.004073c0
inc eax
lea ecx, [ebp - 0x1040]
push eax
push ebx
lea eax, [ebp - 0x1100]
push eax
call fcn.004095a0
push eax
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 2
call fcn.00406d10
lea ecx, [ebp - 0x1100]
mov byte [ebp - 4], 1
call fcn.00402a40
xor eax, eax
mov dword [ebp - 0x152c], ebx
push edi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x1530], ebx
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x1530]
lea edx, [ebp - 0x152c]
lea ecx, [ebp - 0x628]
push eax
call fcn.00441e6b
pop ecx
test eax, eax
je 0x44253b
mov ecx, dword [ebp - 0x1530]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x152c]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x218]
push ecx
push 0x50de60
push 0x104
push eax
call fcn.004c03dd
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x1058]
push eax
call fcn.00406da0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1040]
call fcn.00406da0
push esi
lea ecx, [ebp - 0x1040]
call fcn.00406da0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1148]
call fcn.00406c40
push str.liebaoManualUpgrade_
lea ecx, [ebp - 0x1148]
mov byte [ebp - 4], 4
call fcn.00406da0
lea eax, [ebp - 0x1148]
push eax
lea ecx, [ebp - 0x1130]
call fcn.004086d0
push 2
push ebx
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1528]
call fcn.00414cb0
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], 6
push eax
call fcn.0040a8f0
pop ecx
test al, al
je 0x442240
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x1528]
call fcn.00414e90
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1060], 0
je 0x442231
cmp dword [ebp - 0x105c], 8
lea eax, [ebp - 0x1070]
lea ecx, [ebp - 0x1100]
cmovae eax, dword [ebp - 0x1070]
push eax
call fcn.00406c40
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1058]
cmp dword [ebp - 0x1044], 8
lea ecx, [ebp - 0x1160]
cmovae eax, dword [ebp - 0x1058]
push eax
call fcn.00406c40
lea eax, [ebp - 0x1100]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1160]
push eax
call fcn.004091a0
pop ecx
pop ecx
test eax, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1160]
setne bl
call fcn.00402a40
lea ecx, [ebp - 0x1100]
mov byte [ebp - 4], 7
call fcn.00402a40
test bl, bl
je 0x4421f1
lea eax, [ebp - 0x1070]
push 1
push eax
call fcn.0040a420
pop ecx
pop ecx
lea eax, [ebp - 0x10e8]
push eax
lea ecx, [ebp - 0x1528]
call fcn.00414e90
push eax
lea ecx, [ebp - 0x1070]
mov byte [ebp - 4], 0xa
call fcn.00408750
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 7
call fcn.00408720
cmp dword [ebp - 0x1060], 0
jne 0x44215d
xor ebx, ebx
lea ecx, [ebp - 0x1070]
mov byte [ebp - 4], 6
call fcn.00408720
lea ecx, [ebp - 0x1528]
mov byte [ebp - 4], 5
call fcn.00414d80
lea ecx, [ebp - 0x1130]
mov byte [ebp - 4], 4
call fcn.00408720
lea ecx, [ebp - 0x1148]
mov byte [ebp - 4], 1
call fcn.00402a40
push esi
lea ecx, [ebp - 0x1058]
call fcn.00406da0
lea eax, [ebp - 0x1058]
push eax
lea ecx, [ebp - 0x10b8]
call fcn.004086d0
xor edx, edx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x10b8]
call fcn.0040aa30
lea eax, [ebp - 0x10b8]
push eax
call fcn.0040a8d0
pop ecx
test al, al
jne 0x4422c7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10b8]
call fcn.00408720
mov byte [ebp - 4], bl
jmp 0x44253e
mov esi, str.ManualUpgrade.exe
lea eax, [ebp - 0x1040]
push esi
push eax
lea eax, [ebp - 0x10e8]
push eax
call fcn.00424515
add esp, 0xc
push eax
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 0xd
call fcn.004086d0
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 0xf
call fcn.00402a40
push esi
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0x10e8]
push eax
call fcn.00424515
add esp, 0xc
push eax
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 0x10
call fcn.004086d0
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 0x12
call fcn.00402a40
lea eax, [ebp - 0x1118]
push eax
call fcn.0040a8d0
pop ecx
test al, al
je 0x442532
lea edx, [ebp - 0x10a0]
lea ecx, [ebp - 0x1118]
call fcn.0040af20
xor eax, eax
push 0x7fe
mov word [ebp - 0x1028], ax
lea eax, [ebp - 0x1026]
push ebx
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x1040]
lea ecx, [ebp - 0x1088]
push eax
call fcn.00406c10
lea eax, [ebp - 0x1534]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x1088]
call fcn.00406e30
mov eax, dword [eax]
cmp word [eax - 2], 0x5c
jne 0x4423c0
mov eax, dword [ebp - 0x1078]
lea ecx, [ebp - 0x1088]
dec eax
push eax
call fcn.00406df0
cmp dword [ebp - 0x1074], 8
lea eax, [ebp - 0x1088]
push ebx
cmovae eax, dword [ebp - 0x1088]
push eax
push 0x50ead8
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1028]
push str.__browser_version_s___upgrade_config_url_s___browser_app_dir__s____type_update_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
push 0x1fc
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push ebx
push eax
call fcn.004bf240
add esp, 0x24
lea ecx, [ebp - 0x828]
call fcn.00442574
test al, al
je 0x442459
lea edx, [ebp - 0x828]
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x442429
lea edi, [ebp - 0x1028]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x44243f
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x118
lea eax, [ebp - 0x127c]
mov dword [ebp - 0x1280], 0x11c
push ebx
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x1280]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x511078
lea ecx, [ebp - 0x10d0]
call fcn.00406c40
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x127c], 6
jb 0x4424b2
push 0x50fbbc
lea ecx, [ebp - 0x10d0]
call fcn.00406d50
cmp dword [ebp - 0x108c], 8
lea ecx, [ebp - 0x10a0]
push 5
cmovae ecx, dword [ebp - 0x10a0]
lea edx, [ebp - 0x1028]
cmp dword [ebp - 0x10bc], 8
lea eax, [ebp - 0x10d0]
push ebx
cmovae eax, dword [ebp - 0x10d0]
push edx
push ecx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10d0]
mov byte [ebp - 4], 0x14
call fcn.00402a40
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 0x12
call fcn.00402a40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x10a0]
call fcn.00408720
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 0xb
call fcn.00408720
mov byte [ebp - 4], 1
jmp 0x4422b4
mov dword [ebp - 4], 0xf
jmp 0x44250f
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1040]
call fcn.00402a40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1058]
call fcn.00402a40
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.004bc1bd
mov esp, ebp
pop ebp
ret