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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f25ea
mov eax, dword fs:[0]
push eax
mov eax, 0x152c
call fcn.004bf250
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.004bf1a0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4415c9
mov esi, dword [esi]
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.004c029a
xor eax, eax
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.004bf1a0
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.004045b0
push str.liebaoManualUpgrade_
lea ecx, [ebp - 0x1058]
mov dword [ebp - 4], ebx
call fcn.00404710
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x1040]
call fcn.004045b0
mov esi, 0x50c8cc
mov byte [ebp - 4], 1
push esi
call fcn.00402db0
pop ecx
push eax
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x1040]
call fcn.00405680
inc eax
lea ecx, [ebp - 0x1040]
push eax
push ebx
lea eax, [ebp - 0x1100]
push eax
call fcn.00409500
push eax
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 2
call fcn.00404680
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.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x1530]
lea edx, [ebp - 0x152c]
lea ecx, [ebp - 0x628]
push eax
call fcn.004414d2
pop ecx
test eax, eax
je 0x441ba4
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 0x50c6d0
push 0x104
push eax
call fcn.004c033d
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x1058]
push eax
call fcn.00404710
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1040]
call fcn.00404710
push esi
lea ecx, [ebp - 0x1040]
call fcn.00404710
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1148]
call fcn.004045b0
push str.liebaoManualUpgrade_
lea ecx, [ebp - 0x1148]
mov byte [ebp - 4], 4
call fcn.00404710
lea eax, [ebp - 0x1148]
push eax
lea ecx, [ebp - 0x1130]
call fcn.00408630
push 2
push ebx
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1528]
call fcn.00415840
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], 6
push eax
call fcn.0040a800
pop ecx
test al, al
je 0x4418a7
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x1528]
call fcn.00415a20
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1060], 0
je 0x441898
cmp dword [ebp - 0x105c], 8
lea eax, [ebp - 0x1070]
lea ecx, [ebp - 0x1100]
cmovae eax, dword [ebp - 0x1070]
push eax
call fcn.004045b0
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.004045b0
lea eax, [ebp - 0x1100]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1160]
push eax
call fcn.00409100
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 0x441858
lea eax, [ebp - 0x1070]
push 1
push eax
call fcn.0040a330
pop ecx
pop ecx
lea eax, [ebp - 0x10e8]
push eax
lea ecx, [ebp - 0x1528]
call fcn.00415a20
push eax
lea ecx, [ebp - 0x1070]
mov byte [ebp - 4], 0xa
call fcn.004086b0
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 7
call fcn.00408680
cmp dword [ebp - 0x1060], 0
jne 0x4417c4
xor ebx, ebx
lea ecx, [ebp - 0x1070]
mov byte [ebp - 4], 6
call fcn.00408680
lea ecx, [ebp - 0x1528]
mov byte [ebp - 4], 5
call fcn.00415910
lea ecx, [ebp - 0x1130]
mov byte [ebp - 4], 4
call fcn.00408680
lea ecx, [ebp - 0x1148]
mov byte [ebp - 4], 1
call fcn.00402120
push esi
lea ecx, [ebp - 0x1058]
call fcn.00404710
lea eax, [ebp - 0x1058]
push eax
lea ecx, [ebp - 0x10b8]
call fcn.00408630
xor edx, edx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x10b8]
call fcn.0040a940
lea eax, [ebp - 0x10b8]
push eax
call fcn.0040a7e0
pop ecx
test al, al
jne 0x44192e
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10b8]
call fcn.00408680
mov byte [ebp - 4], bl
jmp 0x441ba7
mov esi, str.ManualUpgrade.exe
lea eax, [ebp - 0x1040]
push esi
push eax
lea eax, [ebp - 0x10e8]
push eax
call fcn.0042449e
add esp, 0xc
push eax
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 0xd
call fcn.00408630
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.0042449e
add esp, 0xc
push eax
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 0x10
call fcn.00408630
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 0x12
call fcn.00402120
lea eax, [ebp - 0x1118]
push eax
call fcn.0040a7e0
pop ecx
test al, al
je 0x441b9b
lea eax, [ebp - 0x10a0]
push eax
lea eax, [ebp - 0x1118]
push eax
call fcn.0040ad50
xor eax, eax
push 0x7fe
mov word [ebp - 0x1028], ax
lea eax, [ebp - 0x1026]
push ebx
push eax
call fcn.004bf1a0
add esp, 0x14
lea eax, [ebp - 0x1040]
lea ecx, [ebp - 0x1088]
push eax
call fcn.00404580
lea eax, [ebp - 0x1534]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x1088]
call fcn.004047a0
mov eax, dword [eax]
cmp word [eax - 2], 0x5c
jne 0x441a29
mov eax, dword [ebp - 0x1078]
lea ecx, [ebp - 0x1088]
dec eax
push eax
call fcn.00404760
cmp dword [ebp - 0x1074], 8
lea eax, [ebp - 0x1088]
push ebx
cmovae eax, dword [ebp - 0x1088]
push eax
push 0x50d510
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.004bf1a0
add esp, 0x24
lea ecx, [ebp - 0x828]
call fcn.00441bdd
test al, al
je 0x441ac2
lea edx, [ebp - 0x828]
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x441a92
lea edi, [ebp - 0x1028]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x441aa8
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.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x1280]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x50f000
lea ecx, [ebp - 0x10d0]
call fcn.004045b0
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x127c], 6
jb 0x441b1b
push 0x50ca60
lea ecx, [ebp - 0x10d0]
call fcn.004046c0
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.00408680
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 0xb
call fcn.00408680
mov byte [ebp - 4], 1
jmp 0x44191b
mov dword [ebp - 4], 0xf
jmp 0x441b78
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.004bc11d
mov esp, ebp
pop ebp
ret