Function at 0x591040
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x6bdf72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
call fcn.0062da70
lea ecx, [esp + 0x14]
mov dword [esp + 0xd8], 0
call fcn.0060fe70
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 1
call fcn.0060d180
push 0x6c
push 0xf1
push 0x10
lea ecx, [esp + 0x54]
mov byte [esp + 0xe4], 2
call fcn.00548440
push 0x6c
push 0xf1
push 0xfe
lea ecx, [esp + 0x74]
mov byte [esp + 0xe4], 3
call fcn.00548440
mov eax, dword [esi]
mov edi, dword [0x70eac8]
mov ecx, esi
mov byte [esp + 0xd8], 4
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], 0x3f
call dword [eax + 0x18]
test ax, ax
jne 0x591150
lea ecx, [esp + 0x68]
mov byte [esp + 0xd8], 3
call fcn.00548470
lea ecx, [esp + 0x48]
mov byte [esp + 0xd8], 2
call fcn.00548470
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 1
call fcn.0060d280
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 0
call fcn.0060ffb0
lea ecx, [esp + 0x30]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0061f9a0
xor ax, ax
jmp 0x5913a6
mov al, byte [esp + 0xe0]
cmp al, 6
je 0x591347
cmp al, 7
je 0x591347
cmp al, 8
je 0x591347
cmp al, 9
je 0x591347
movsx ecx, di
mov esi, 1
mov dword [esp + 0x1c], ecx
lea eax, [ecx - 2]
cmp eax, esi
jle 0x5911cb
mov eax, esi
lea ecx, [eax + eax*4]
push 0
push 1
lea eax, [esp + 0xb4]
lea edx, [ecx*2 + 0x70eaca]
lea ecx, [esp + 0x50]
push edx
push eax
call fcn.00548ea0
lea ecx, [esp + 0xac]
call fcn.0060d280
mov ecx, dword [esp + 0x1c]
inc esi
movsx eax, si
add ecx, 0xfffffffe
cmp eax, ecx
jl 0x59118c
mov ecx, dword [esp + 0x1c]
lea ebx, [edi - 2]
cmp bx, di
jge 0x5912b7
movsx edi, bx
mov eax, ecx
lea edx, [edi + edi*4]
sub eax, edi
mov dword [esp + 0x24], eax
add ebx, eax
lea ebp, [edx*2 + 0x70eaca]
jmp 0x5911f4
mov ecx, dword [esp + 0x1c]
lea eax, [ecx - 2]
cmp edi, eax
jne 0x591243
push 0
lea eax, [esp + 0x44]
push ebp
push eax
lea ecx, [esp + 0x54]
call fcn.00549520
mov esi, eax
push ecx
mov byte [esp + 0xdc], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
call fcn.0060fe80
lea ecx, [esp + 0x18]
call fcn.006101a0
mov cx, word [esi + 4]
mov byte [esp + 0xd8], 4
mov word [esp + 0x18], cx
lea ecx, [esp + 0x40]
jmp 0x591291
dec ecx
cmp edi, ecx
jne 0x591296
push 0xfe
lea edx, [esp + 0x2c]
push ebp
push edx
lea ecx, [esp + 0x54]
call fcn.00549520
mov esi, eax
push ecx
mov byte [esp + 0xdc], 6
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
call fcn.0060fe80
lea ecx, [esp + 0x18]
call fcn.006101a0
mov ax, word [esi + 4]
mov byte [esp + 0xd8], 4
mov word [esp + 0x18], ax
lea ecx, [esp + 0x28]
call fcn.0060ffb0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
call fcn.0061fd50
mov eax, dword [esp + 0x24]
inc edi
add ebp, 0xa
dec eax
mov dword [esp + 0x24], eax
jne 0x5911f0
movsx eax, bx
push 0
lea ecx, [esp + 0x2c]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x70eaca]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00549520
mov esi, eax
push ecx
mov byte [esp + 0xdc], 7
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
call fcn.0060fe80
lea ecx, [esp + 0x18]
call fcn.006101a0
mov dx, word [esi + 4]
lea ecx, [esp + 0x28]
mov word [esp + 0x18], dx
mov byte [esp + 0xd8], 4
call fcn.0060ffb0
lea eax, [esp + 0x30]
push 0
lea ecx, [esp + 0xb0]
push eax
push ecx
mov ecx, 0x71b8f8
call fcn.0061a8f0
lea ecx, [esp + 0xac]
call fcn.0060d280
lea edx, [esp + 0x12]
lea ecx, [esp + 0x68]
push edx
push 0xc8
call fcn.005493e0
lea ecx, [esp + 0x68]
mov byte [esp + 0xd8], 3
call fcn.00548470
lea ecx, [esp + 0x48]
mov byte [esp + 0xd8], 2
call fcn.00548470
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 1
call fcn.0060d280
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 0
call fcn.0060ffb0
lea ecx, [esp + 0x30]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0061f9a0
mov ax, 1
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret 4