Function at 0x458b70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4fb898
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x547320]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x547320]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 8]
movdqu xmm0, xmmword [str._.ldbk_]
mov eax, dword [0x51c300]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x104], eax
mov eax, dword [ecx + 0x7b0]
mov ecx, eax
movdqu xmmword [esp + 0xe4], xmm0
sar ecx, 0x18
movdqu xmm0, xmmword [0x51c2f0]
movdqu xmmword [esp + 0xf4], xmm0
cmp ecx, 1
jne 0x458c04
and eax, 0xffffff
mov ecx, 0x553590
jmp 0x458c2b
cmp ecx, 5
jne 0x458c15
and eax, 0xffffff
mov ecx, 0x553650
jmp 0x458c2b
cmp ecx, 3
jne 0x458c26
and eax, 0xffffff
mov ecx, 0x553710
jmp 0x458c2b
mov ecx, 0x5534d0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], ecx
push eax
call fcn.00474a10
push str..ldbk
push eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x238], 0
push eax
call fcn.0041dae0
add esp, 0xc
mov byte [esp + 0x230], 2
cmp dword [esp + 0x28], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x458c79
push dword [esp + 0x14]
call esi
add esp, 4
sub esp, 0x18
mov dword [esp + 0x40], 7
mov ecx, esp
mov dword [esp + 0x3c], 0
xor eax, eax
mov word [esp + 0x2c], ax
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [esp + 0xd4]
push eax
call fcn.0040ab10
lea ecx, [esp + 0x4c]
call fcn.00458a80
mov edi, eax
add esp, 0x18
lea eax, [esp + 0xb4]
cmp eax, edi
je 0x458d0e
cmp dword [esp + 0xc8], 8
jb 0x458ce1
push dword [esp + 0xb4]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xc8], 7
push edi
lea ecx, [esp + 0xb8]
mov dword [esp + 0xc8], 0
mov word [esp + 0xb8], ax
call fcn.0040a810
cmp dword [esp + 0x48], 8
jb 0x458d1e
push dword [esp + 0x34]
call esi
add esp, 4
push 0x100
lea eax, [esp + 0x120]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x11c]
push 0x80
push str.multiplay_backup_file_text
push 0x80
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [esp + 0x11c]
push eax
call fcn.004aaca0
mov edx, eax
add esp, 4
test edx, edx
jne 0x458d8d
lea eax, [esp + 0x11c]
push eax
push eax
call fcn.004a9db0
lea eax, [esp + 0x124]
push eax
call fcn.004aaca0
add esp, 0xc
mov edx, eax
xor eax, eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
cmp word [edx], ax
jne 0x458db6
xor ecx, ecx
jmp 0x458dcf
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x458dc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458dc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xa4]
call fcn.0040aeb0
mov byte [esp + 0x230], 3
lea ecx, [esp + 0x9c]
mov eax, dword [esp + 0xac]
cmp dword [esp + 0xb0], 8
cmovae ecx, dword [esp + 0x9c]
lea edx, [eax + eax]
add ecx, edx
lea eax, [esp + 0x9c]
cmp dword [esp + 0xb0], 8
cmovae eax, dword [esp + 0x9c]
add eax, edx
lea edx, [esp + 0x108]
push edx
lea edx, [esp + 0xe8]
push edx
push ecx
push eax
lea ecx, [esp + 0xac]
call fcn.0041cb60
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00474700
lea eax, [esp + 0xd8]
mov byte [esp + 0x23c], 4
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x90], 0
call fcn.00426fa0
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x94]
call fcn.0040a880
cmp dword [esp + 0xec], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x458eb0
push dword [esp + 0xd8]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xec], 7
cmp dword [esp + 0x34], 8
mov dword [esp + 0xe8], 0
mov word [esp + 0xd8], ax
jb 0x458ee0
push dword [esp + 0x20]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x23c], 5
call fcn.00482230
mov ecx, eax
mov byte [esp + 0x238], 6
call fcn.0041c6a0
mov ecx, eax
mov byte [esp + 0x234], 7
call fcn.00426eb0
mov ecx, eax
mov byte [esp + 0x230], 8
cmp dword [ecx + 0x14], 8
jb 0x458f3b
mov ecx, dword [ecx]
cmp dword [esp + 0xb0], 8
lea eax, [esp + 0x9c]
push ecx
cmovae eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x14]
push str.ldbk
push eax
call fcn.0047ed90
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.004919d0
add esp, 0x14
cmp dword [esp + 0x7c], 8
jb 0x458f83
push dword [esp + 0x68]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
cmp dword [esp + 0x64], 8
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
jb 0x458faa
push dword [esp + 0x50]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
cmp dword [esp + 0x48], 8
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jb 0x458fd1
push dword [esp + 0x34]
call esi
add esp, 4
xor eax, eax
mov byte [esp + 0x230], 3
cmp dword [esp + 0x98], 8
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
jb 0x459006
push dword [esp + 0x84]
call esi
add esp, 4
cmp dword [esp + 0xc4], 0
je 0x45904d
mov edi, dword [esp + 0x30]
mov ecx, edi
push 5
call fcn.00465100
push dword [ebp + 0xc]
lea eax, [esp + 0xb8]
mov ecx, 0x553190
push eax
push dword [edi + 0x7b0]
call fcn.0046ba60
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x560]
test ecx, ecx
je 0x45904d
push 1
call fcn.004b1650
cmp dword [esp + 0xb0], 8
jb 0x459063
push dword [esp + 0x9c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
cmp dword [esp + 0xc8], 8
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
jb 0x459099
push dword [esp + 0xb4]
call esi
add esp, 4
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004f203a
mov esp, ebp
pop ebp
ret 8