Function at 0x407c80
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44934e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x118
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x154]
push 0
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.00434150
add esp, 0xc
mov dword [ebp - 0x158], 0x11c
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4082a6
sub esp, 0x18
mov ecx, esp
push 0x463538
call fcn.00417a50
lea ecx, [ebp - 0x198]
call fcn.00405960
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x407d34
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
push 0x462e64
call fcn.00417a50
lea ecx, [ebp - 0x180]
call fcn.00405960
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x407d5a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x16c]
mov esi, eax
cmp edx, 0x10
jb 0x407da4
mov ecx, dword [ebp - 0x180]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407d9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082c4
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
cmp edx, 0x10
jb 0x407e00
mov ecx, dword [ebp - 0x198]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407df6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082c4
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 0x188], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
push eax
test esi, esi
je 0x407e27
call esi
jmp 0x407e2d
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x154]
cmp eax, 0xa
jne 0x407e54
cmp dword [ebp - 0x150], 0
jne 0x4082a1
xor eax, eax
cmp byte [ebp - 0x3e], 1
setne al
inc eax
jmp 0x40829c
cmp eax, 6
jne 0x408247
mov eax, dword [ebp - 0x150]
cmp eax, 3
jne 0x407e79
xor eax, eax
cmp byte [ebp - 0x3e], 1
setne al
add eax, 3
jmp 0x40829c
cmp eax, 2
jne 0x408224
sub esp, 0x18
cmp byte [ebp - 0x3e], 1
jne 0x407f69
mov dword [ebp - 0x15c], esp
mov esi, esp
sub esp, 0x18
mov dword [0x462990], 1
mov ecx, esp
push 0x46311c
call fcn.00417a50
mov ecx, esi
call fcn.00405960
mov esi, esp
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
push 0x463344
call fcn.00417a50
mov ecx, esi
call fcn.00405960
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov edx, connect
lea ecx, [ebp - 0x1b0]
call fcn.00405a90
add esp, 0x30
cmp dword [eax + 0x14], 0x10
jb 0x407efb
mov eax, dword [eax]
push eax
call fcn.00438c1e
mov edx, dword [ebp - 0x19c]
add esp, 4
cmp eax, 0x55f0
setge al
mov byte [ebp - 0x161], al
cmp edx, 0x10
jb 0x407f52
mov ecx, dword [ebp - 0x1b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407f42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082c9
push edx
push ecx
call fcn.0041d6b3
mov al, byte [ebp - 0x161]
add esp, 8
test al, al
je 0x408213
mov dword [0x462990], 0x12
jmp 0x408213
mov dword [ebp - 0x160], esp
mov edi, esp
sub esp, 0x18
mov dword [0x462990], 4
mov dword [ebp - 0x15c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x46341c
call fcn.00417a50
mov ecx, esi
call fcn.00405960
mov esi, esp
mov dword [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
push 0x463344
call fcn.00417a50
mov ecx, esi
call fcn.00405960
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov edx, connect
mov ecx, edi
call fcn.00405a90
add esp, 0x18
mov dword [ebp - 4], 3
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x462ccc
call fcn.00417a50
mov ecx, esi
call fcn.00405960
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
call fcn.00407a70
mov ecx, dword [0x462990]
test eax, eax
mov edx, 0x10
cmovg ecx, edx
add esp, 0x18
mov dword [ebp - 0x168], esp
mov edi, esp
sub esp, 0x18
mov dword [0x462990], ecx
mov dword [ebp - 0x160], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x46341c
call fcn.00417a50
mov ecx, esi
call fcn.00405960
mov esi, esp
mov dword [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
push 0x463344
call fcn.00417a50
mov ecx, esi
call fcn.00405960
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov edx, connect
mov ecx, edi
call fcn.00405a90
add esp, 0x18
mov dword [ebp - 4], 5
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x462b4c
call fcn.00417a50
mov ecx, esi
call fcn.00405960
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
call fcn.00407a70
mov ecx, dword [0x462990]
test eax, eax
mov edx, 0x11
cmovg ecx, edx
add esp, 0x18
mov dword [ebp - 0x168], esp
mov edi, esp
sub esp, 0x18
mov dword [0x462990], ecx
mov dword [ebp - 0x160], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x46341c
call fcn.00417a50
mov ecx, esi
call fcn.00405960
mov esi, esp
mov dword [ebp - 4], 6
sub esp, 0x18
mov ecx, esp
push 0x463344
call fcn.00417a50
mov ecx, esi
call fcn.00405960
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov edx, connect
mov ecx, edi
call fcn.00405a90
add esp, 0x18
mov dword [ebp - 4], 7
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x462ef4
call fcn.00417a50
mov ecx, esi
call fcn.00405960
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
call fcn.00407a70
mov ecx, dword [0x462990]
test eax, eax
mov edx, 0x13
cmovg ecx, edx
add esp, 0x18
mov dword [ebp - 0x168], esp
mov edi, esp
sub esp, 0x18
mov dword [0x462990], ecx
mov dword [ebp - 0x160], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x46341c
call fcn.00417a50
mov ecx, esi
call fcn.00405960
mov esi, esp
mov dword [ebp - 4], 8
sub esp, 0x18
mov ecx, esp
push 0x463344
call fcn.00417a50
mov ecx, esi
call fcn.00405960
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov edx, connect
mov ecx, edi
call fcn.00405a90
add esp, 0x18
mov dword [ebp - 4], 9
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x462b1c
call fcn.00417a50
mov ecx, esi
call fcn.00405960
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
call fcn.00407a70
mov ecx, dword [0x462990]
add esp, 0x30
test eax, eax
mov edx, 2
cmovg ecx, edx
mov dword [0x462990], ecx
mov eax, dword [ebp - 0x154]
cmp eax, 6
jne 0x408247
mov eax, dword [ebp - 0x150]
test eax, eax
jne 0x408234
cmp byte [ebp - 0x3e], 1
setne al
add eax, 7
jmp 0x40829c
cmp eax, 1
jne 0x4082a1
xor eax, eax
cmp byte [ebp - 0x3e], 1
setne al
add eax, 9
jmp 0x40829c
cmp eax, 5
jne 0x4082a1
mov ecx, dword [ebp - 0x150]
cmp ecx, 2
jne 0x40827c
cmp byte [ebp - 0x3e], 1
jne 0x408270
cmp word [ebp - 0x38], 9
jne 0x408270
mov dword [0x462990], 0xc
jmp 0x4082a1
mov dword [0x462990], 0xd
jmp 0x4082a1
cmp ecx, 1
jne 0x40828d
mov dword [0x462990], 0xe
jmp 0x4082a1
mov eax, dword [0x462990]
test ecx, ecx
mov edx, 0xf
cmove eax, edx
mov dword [0x462990], eax
mov eax, dword [0x462990]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d041
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00436cca
call fcn.00436cca
int3