Function at 0x598ea0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x598ea8
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x599156
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x645354]
mov eax, dword [eax]
call fcn.00635a48
test al, al
je 0x5990f2
call fcn.00598980
lea edx, [ebp - 8]
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.00454428
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409adc
lea eax, [ebp - 4]
mov edx, 0x59916c
call fcn.00404198
mov eax, dword [ebp - 4]
call fcn.004097a4
test al, al
jne 0x598f25
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov edx, dword [0x65a254]
mov dword [eax + 0x444], edx
jmp 0x5990f2
lea edx, [ebp - 0xc]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x444]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [0x65a254]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x10]
pop eax
call fcn.004042a0
je 0x5990f2
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x444]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
mov eax, dword [0x65a254]
mov edx, dword [eax]
call dword [edx + 0x14]
pop edx
xchg edx, eax
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x5990f2
mov eax, dword [0x65a254]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5990f2
inc esi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [0x65a254]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, 0xa
xor edx, edx
call fcn.00404398
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x444]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.0040447c
test eax, eax
jne 0x5990ea
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x374]
mov dl, 1
call fcn.00555d1c
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d0]
mov dl, 1
call fcn.0045a094
mov eax, dword [0x645354]
mov eax, dword [eax]
mov eax, dword [eax + 0x32c]
mov edx, dword [eax]
call dword [edx + 0xb4]
test al, al
je 0x599064
lea edx, [ebp - 0x24]
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.00454428
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409adc
lea eax, [ebp - 0x20]
mov edx, 0x599184
call fcn.00404198
mov edx, dword [ebp - 0x20]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
call fcn.0061c45c
mov eax, dword [0x6456e0]
cmp byte [eax], 0
je 0x5990a8
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, dword [0x65a254]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x59919c
call fcn.004041dc
mov edx, dword [ebp - 0x28]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
jmp 0x5990ea
push 0x5991b8
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [0x65a254]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x34]
push 0x5991c8
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404250
mov edx, dword [ebp - 0x30]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
inc ebx
dec esi
jne 0x598fa1
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov ebx, dword [0x65a254]
mov dword [eax + 0x444], ebx
lea edx, [ebp - 0x3c]
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.00454428
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00409adc
lea eax, [ebp - 0x38]
mov edx, 0x59916c
call fcn.00404198
mov edx, dword [ebp - 0x38]
mov eax, dword [0x6456c8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59915d
lea eax, [ebp - 0x3c]
mov edx, 0xf
call fcn.00403f34
ret