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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529829
mov eax, dword fs:[0]
push eax
mov eax, 0x14fc
call fcn.004f5710
mov eax, dword [0x581d10]
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 - 0x1504], ebx
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.004f28b0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x457db9
mov esi, dword [esi]
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.004f52ad
xor eax, eax
push edi
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push ebx
push eax
call fcn.004f28b0
add esp, 0x14
lea eax, [ebp - 0x628]
push ebx
push 0x1c
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x1040]
call fcn.00417260
push str.liebaoManualUpgrade_
lea ecx, [ebp - 0x1040]
mov dword [ebp - 4], ebx
call fcn.004173e0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1058]
call fcn.00417260
mov esi, 0x559c0c
mov byte [ebp - 4], 1
push esi
call fcn.00416680
pop ecx
push eax
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x1058]
call fcn.0041b0d0
inc eax
lea ecx, [ebp - 0x1058]
push eax
push ebx
lea eax, [ebp - 0x10e8]
push eax
call fcn.0041a570
push eax
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 2
call fcn.004202a0
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 1
call fcn.00417360
xor eax, eax
mov dword [ebp - 0x14fc], ebx
push edi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x1500], ebx
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x1500]
lea edx, [ebp - 0x14fc]
lea ecx, [ebp - 0x420]
push eax
call fcn.00457cc2
pop ecx
test eax, eax
je 0x458379
mov ecx, dword [ebp - 0x1500]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x14fc]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x218]
push ecx
push str._d._d._d._d
push 0x104
push eax
call fcn.004f5350
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x1040]
push eax
call fcn.004173e0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1058]
call fcn.004173e0
push esi
lea ecx, [ebp - 0x1058]
call fcn.004173e0
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.00417260
push str.liebaoManualUpgrade_
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 4
call fcn.004173e0
push ecx
push ecx
lea eax, [ebp - 0x10e8]
mov ecx, esp
push eax
call fcn.0041a660
lea ecx, [ebp - 0x1130]
call fcn.004195a0
push 2
push ebx
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14f8]
call fcn.00421a30
lea eax, [ebp - 0x1130]
mov byte [ebp - 4], 6
push eax
call fcn.0041bae0
pop ecx
test al, al
je 0x458067
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x14f8]
call fcn.00421bb0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1060], 0
je 0x458058
cmp dword [ebp - 0x105c], 8
lea eax, [ebp - 0x1070]
push ecx
cmovae eax, dword [ebp - 0x1070]
lea esi, [ebp - 0x1040]
cmp dword [ebp - 0x102c], 8
push ecx
cmovae esi, dword [ebp - 0x1040]
mov ecx, esp
push eax
call fcn.0041c2a0
push ecx
push ecx
mov ecx, esp
push esi
call fcn.0041c2a0
call fcn.00419350
add esp, 0x10
test al, al
jne 0x458015
lea eax, [ebp - 0x1070]
push 1
push eax
call fcn.0041b8d0
pop ecx
pop ecx
lea eax, [ebp - 0x1100]
push eax
lea ecx, [ebp - 0x14f8]
call fcn.00421bb0
push eax
lea ecx, [ebp - 0x1070]
mov byte [ebp - 4], 8
call fcn.00419650
lea ecx, [ebp - 0x1100]
mov byte [ebp - 4], 7
call fcn.00419620
cmp dword [ebp - 0x1060], 0
jne 0x457fbd
mov esi, 0x559c0c
lea ecx, [ebp - 0x1070]
mov byte [ebp - 4], 6
call fcn.00419620
lea ecx, [ebp - 0x14f8]
mov byte [ebp - 4], 5
call fcn.00421b00
lea ecx, [ebp - 0x1130]
mov byte [ebp - 4], 4
call fcn.00419620
lea ecx, [ebp - 0x10e8]
mov byte [ebp - 4], 1
call fcn.00417360
push esi
lea ecx, [ebp - 0x1040]
call fcn.004173e0
push ecx
push ecx
lea eax, [ebp - 0x1040]
mov ecx, esp
push eax
call fcn.0041a660
lea ecx, [ebp - 0x10a0]
call fcn.004195a0
xor edx, edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10a0]
call fcn.0041bc40
lea eax, [ebp - 0x10a0]
push eax
call fcn.0041bac0
pop ecx
test al, al
jne 0x4580f7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10a0]
call fcn.00419620
mov byte [ebp - 4], bl
jmp 0x45837c
mov esi, str.ManualUpgrade.exe
lea eax, [ebp - 0x1058]
push esi
push eax
lea eax, [ebp - 0x1100]
push eax
call fcn.0043ab3d
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, esp
push eax
call fcn.0041a660
lea ecx, [ebp - 0x1118]
call fcn.004195a0
lea ecx, [ebp - 0x1100]
mov byte [ebp - 4], 0xd
call fcn.00417360
push esi
lea eax, [ebp - 0x10a0]
push eax
lea eax, [ebp - 0x1100]
push eax
call fcn.0043ab3d
add esp, 4
mov byte [ebp - 4], 0xe
mov ecx, esp
push eax
call fcn.0041a660
lea ecx, [ebp - 0x10b8]
call fcn.004195a0
lea ecx, [ebp - 0x1100]
mov byte [ebp - 4], 0x10
call fcn.00417360
lea eax, [ebp - 0x1118]
push eax
call fcn.0041bac0
pop ecx
test al, al
je 0x458370
lea edx, [ebp - 0x10b8]
lea ecx, [ebp - 0x1118]
call fcn.0041c020
xor eax, eax
push 0x7fe
mov word [ebp - 0x1028], ax
lea eax, [ebp - 0x1026]
push ebx
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x1058]
lea ecx, [ebp - 0x1088]
push eax
call fcn.00417230
lea eax, [ebp - 0x1504]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1088]
call fcn.0041a410
mov eax, dword [eax]
cmp word [eax - 2], 0x5c
jne 0x4581fe
mov eax, dword [ebp - 0x1078]
lea ecx, [ebp - 0x1088]
dec eax
push eax
call fcn.00418330
cmp dword [ebp - 0x1074], 8
lea eax, [ebp - 0x1088]
push ebx
cmovae eax, dword [ebp - 0x1088]
push eax
push 0x54f960
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.004f28b0
add esp, 0x24
lea ecx, [ebp - 0x828]
call fcn.004583b2
test al, al
je 0x458297
lea edx, [ebp - 0x828]
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x458267
lea edi, [ebp - 0x1028]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x45827d
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 - 0x124c]
mov dword [ebp - 0x1250], 0x11c
push ebx
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x1250]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x55b570
lea ecx, [ebp - 0x10d0]
call fcn.00417260
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x124c], 6
jb 0x4582f0
push str.runas
lea ecx, [ebp - 0x10d0]
call fcn.00417390
cmp dword [ebp - 0x10a4], 8
lea ecx, [ebp - 0x10b8]
push 5
cmovae ecx, dword [ebp - 0x10b8]
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], 0x12
call fcn.00417360
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 0x10
call fcn.00417360
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x10b8]
call fcn.00419620
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 9
call fcn.00419620
mov byte [ebp - 4], 1
jmp 0x4580e4
mov dword [ebp - 4], 0xd
jmp 0x45834d
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1058]
call fcn.00417360
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1040]
call fcn.00417360
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.004f1cdb
mov esp, ebp
pop ebp
ret