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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2927
mov eax, dword fs:[0]
push eax
mov eax, 0x152c
call fcn.004bf5a0
mov eax, dword [0x52de80]
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.004bf4f0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4414f9
mov esi, dword [esi]
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.004c05ea
xor eax, eax
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.004bf4f0
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.004045f0
push str.liebaoManualUpgrade_
lea ecx, [ebp - 0x1058]
mov dword [ebp - 4], ebx
call fcn.00404750
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x1040]
call fcn.004045f0
mov esi, 0x50c8fc
mov byte [ebp - 4], 1
push esi
call fcn.00402df0
pop ecx
push eax
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x1040]
call fcn.004056c0
inc eax
lea ecx, [ebp - 0x1040]
push eax
push ebx
lea eax, [ebp - 0x1100]
push eax
call fcn.00409540
push eax
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 2
call fcn.004046c0
lea ecx, [ebp - 0x1100]
mov byte [ebp - 4], 1
call fcn.00402120
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.004bf4f0
add esp, 0xc
lea eax, [ebp - 0x1530]
lea edx, [ebp - 0x152c]
lea ecx, [ebp - 0x628]
push eax
call fcn.00441402
pop ecx
test eax, eax
je 0x441ad4
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 0x50c710
push 0x104
push eax
call fcn.004c068d
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x1058]
push eax
call fcn.00404750
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1040]
call fcn.00404750
push esi
lea ecx, [ebp - 0x1040]
call fcn.00404750
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1148]
call fcn.004045f0
push str.liebaoManualUpgrade_
lea ecx, [ebp - 0x1148]
mov byte [ebp - 4], 4
call fcn.00404750
lea eax, [ebp - 0x1148]
push eax
lea ecx, [ebp - 0x1130]
call fcn.00408670
push 2
push ebx
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1528]
call fcn.004157f0
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], 6
push eax
call fcn.0040a710
pop ecx
test al, al
je 0x4417d7
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x1528]
call fcn.004159d0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1060], 0
je 0x4417c8
cmp dword [ebp - 0x105c], 8
lea eax, [ebp - 0x1070]
lea ecx, [ebp - 0x1100]
cmovae eax, dword [ebp - 0x1070]
push eax
call fcn.004045f0
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.004045f0
lea eax, [ebp - 0x1100]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1160]
push eax
call fcn.00409140
pop ecx
pop ecx
test eax, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1160]
setne bl
call fcn.00402120
lea ecx, [ebp - 0x1100]
mov byte [ebp - 4], 7
call fcn.00402120
test bl, bl
je 0x441788
lea eax, [ebp - 0x1070]
push 1
push eax
call fcn.0040a150
pop ecx
pop ecx
lea eax, [ebp - 0x10e8]
push eax
lea ecx, [ebp - 0x1528]
call fcn.004159d0
push eax
lea ecx, [ebp - 0x1070]
mov byte [ebp - 4], 0xa
call fcn.004086f0
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 7
call fcn.004086c0
cmp dword [ebp - 0x1060], 0
jne 0x4416f4
xor ebx, ebx
lea ecx, [ebp - 0x1070]
mov byte [ebp - 4], 6
call fcn.004086c0
lea ecx, [ebp - 0x1528]
mov byte [ebp - 4], 5
call fcn.004158c0
lea ecx, [ebp - 0x1130]
mov byte [ebp - 4], 4
call fcn.004086c0
lea ecx, [ebp - 0x1148]
mov byte [ebp - 4], 1
call fcn.00402120
push esi
lea ecx, [ebp - 0x1058]
call fcn.00404750
lea eax, [ebp - 0x1058]
push eax
lea ecx, [ebp - 0x10b8]
call fcn.00408670
xor edx, edx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x10b8]
call fcn.0040a850
lea eax, [ebp - 0x10b8]
push eax
call fcn.0040a6f0
pop ecx
test al, al
jne 0x44185e
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10b8]
call fcn.004086c0
mov byte [ebp - 4], bl
jmp 0x441ad7
mov esi, str.ManualUpgrade.exe
lea eax, [ebp - 0x1040]
push esi
push eax
lea eax, [ebp - 0x10e8]
push eax
call fcn.0042444e
add esp, 0xc
push eax
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 0xd
call fcn.00408670
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 0xf
call fcn.00402120
push esi
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0x10e8]
push eax
call fcn.0042444e
add esp, 0xc
push eax
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 0x10
call fcn.00408670
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 0x12
call fcn.00402120
lea eax, [ebp - 0x1118]
push eax
call fcn.0040a6f0
pop ecx
test al, al
je 0x441acb
lea eax, [ebp - 0x10a0]
push eax
lea eax, [ebp - 0x1118]
push eax
call fcn.0040ac60
xor eax, eax
push 0x7fe
mov word [ebp - 0x1028], ax
lea eax, [ebp - 0x1026]
push ebx
push eax
call fcn.004bf4f0
add esp, 0x14
lea eax, [ebp - 0x1040]
lea ecx, [ebp - 0x1088]
push eax
call fcn.004045c0
lea eax, [ebp - 0x1534]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x1088]
call fcn.004047e0
mov eax, dword [eax]
cmp word [eax - 2], 0x5c
jne 0x441959
mov eax, dword [ebp - 0x1078]
lea ecx, [ebp - 0x1088]
dec eax
push eax
call fcn.004047a0
cmp dword [ebp - 0x1074], 8
lea eax, [ebp - 0x1088]
push ebx
cmovae eax, dword [ebp - 0x1088]
push eax
push 0x50d550
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.004bf4f0
add esp, 0x24
lea ecx, [ebp - 0x828]
call fcn.00441b0d
test al, al
je 0x4419f2
lea edx, [ebp - 0x828]
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x4419c2
lea edi, [ebp - 0x1028]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4419d8
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.004bf4f0
add esp, 0xc
lea eax, [ebp - 0x1280]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x50f004
lea ecx, [ebp - 0x10d0]
call fcn.004045f0
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x127c], 6
jb 0x441a4b
push 0x50ca90
lea ecx, [ebp - 0x10d0]
call fcn.00404700
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.00402120
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 0x12
call fcn.00402120
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x10a0]
call fcn.004086c0
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 0xb
call fcn.004086c0
mov byte [ebp - 4], 1
jmp 0x44184b
mov dword [ebp - 4], 0xf
jmp 0x441aa8
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1040]
call fcn.00402120
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1058]
call fcn.00402120
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.004bc45f
mov esp, ebp
pop ebp
ret