Function at 0x458630
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4fb018
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 [0x51c1e0]
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 [0x51c1d0]
movdqu xmmword [esp + 0xf4], xmm0
cmp ecx, 1
jne 0x4586c4
and eax, 0xffffff
mov ecx, 0x553590
jmp 0x4586eb
cmp ecx, 5
jne 0x4586d5
and eax, 0xffffff
mov ecx, 0x553650
jmp 0x4586eb
cmp ecx, 3
jne 0x4586e6
and eax, 0xffffff
mov ecx, 0x553710
jmp 0x4586eb
mov ecx, 0x5534d0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], ecx
push eax
call fcn.004744b0
push str..ldbk
push eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x238], 0
push eax
call fcn.0041d830
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 0x458739
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.00458540
mov edi, eax
add esp, 0x18
lea eax, [esp + 0xb4]
cmp eax, edi
je 0x4587ce
cmp dword [esp + 0xc8], 8
jb 0x4587a1
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 0x4587de
push dword [esp + 0x34]
call esi
add esp, 4
push 0x100
lea eax, [esp + 0x120]
push 0
push eax
call fcn.004f2052
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.004aa4e0
mov edx, eax
add esp, 4
test edx, edx
jne 0x45884d
lea eax, [esp + 0x11c]
push eax
push eax
call fcn.004a95f0
lea eax, [esp + 0x124]
push eax
call fcn.004aa4e0
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 0x458876
xor ecx, ecx
jmp 0x45888f
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x458880
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458880
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.0041c8d0
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.004741a0
lea eax, [esp + 0xd8]
mov byte [esp + 0x23c], 4
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x90], 0
call fcn.00426cf0
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 0x458970
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 0x4589a0
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.00481ac0
mov ecx, eax
mov byte [esp + 0x238], 6
call fcn.0041c410
mov ecx, eax
mov byte [esp + 0x234], 7
call fcn.00426c00
mov ecx, eax
mov byte [esp + 0x230], 8
cmp dword [ecx + 0x14], 8
jb 0x4589fb
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.0047e610
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.004912d0
add esp, 0x14
cmp dword [esp + 0x7c], 8
jb 0x458a43
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 0x458a6a
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 0x458a91
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 0x458ac6
push dword [esp + 0x84]
call esi
add esp, 4
cmp dword [esp + 0xc4], 0
je 0x458b0d
mov edi, dword [esp + 0x30]
mov ecx, edi
push 5
call fcn.00464ba0
push dword [ebp + 0xc]
lea eax, [esp + 0xb8]
mov ecx, 0x553190
push eax
push dword [edi + 0x7b0]
call fcn.0046b500
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x560]
test ecx, ecx
je 0x458b0d
push 1
call fcn.004b0e80
cmp dword [esp + 0xb0], 8
jb 0x458b23
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 0x458b59
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.004f188a
mov esp, ebp
pop ebp
ret 8