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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8aaf
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x170], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xf
mov byte [esi + 0x28], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x40], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53e209
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push ecx
push edi
call eax
test eax, eax
jne 0x53e1fe
mov eax, 2
jmp 0x53e209
xor eax, eax
cmp dword [ebp - 0x160], eax
setne al
mov dword [esi + 0x4c], eax
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0xf
mov byte [esi + 0x50], 0
push 0x118
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x15c], 0x11c
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x16c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x154]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x150]
mov dword [esi + 0x14], eax
call fcn.0053f840
push 1
push 0x60b418
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 2
call fcn.0053f880
lea ecx, [ebp - 0x16c]
test eax, eax
je 0x53e2a7
mov byte [ebp - 4], 1
call fcn.0053f850
xor edi, edi
jmp 0x53e2d7
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push eax
push 0x60b474
call fcn.0053f970
mov edi, dword [ebp - 0x160]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 1
call fcn.0053f850
push dword [esi + 0x14]
mov dword [esi + 0x18], edi
push dword [esi + 0x10]
push dword [esi + 0xc]
call fcn.0053e740
mov dword [esi], eax
lea ecx, [ebp - 0x148]
movzx eax, word [ebp - 0x48]
lea edx, [ecx + 2]
mov dword [esi + 0x20], eax
add esp, 0xc
movzx eax, word [ebp - 0x46]
mov dword [esi + 0x24], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x53e320
sub ecx, edx
lea eax, [ebp - 0x148]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b566
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0053ed80
mov edi, eax
lea ecx, [esi + 0x28]
add esp, 8
cmp ecx, edi
je 0x53e383
call fcn.00404812
movups xmm0, xmmword [edi]
movups xmmword [esi + 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x38], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x53e3b7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x53e3ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53e566
push edx
push ecx
call fcn.0059a7b3
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x53e407
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x53e3fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53e56b
push edx
push ecx
call fcn.0059a7b3
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x174], 0
lea eax, [ebp - 0x194]
push eax
movups xmmword [ebp - 0x194], xmm0
movups xmmword [ebp - 0x184], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov cx, word [ebp - 0x194]
movzx eax, cx
test eax, eax
je 0x53e459
cmp eax, 6
je 0x53e450
cmp eax, 9
jne 0x53e460
mov dword [esi + 0x40], 1
jmp 0x53e460
mov dword [esi + 0x40], 2
jmp 0x53e460
mov dword [esi + 0x40], 0
mov eax, dword [ebp - 0x180]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x178]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x158]
cmp eax, 6
je 0x53e4d2
cmp eax, 0xa
je 0x53e4d2
cmp eax, 5
jne case.0x53e517.2
mov eax, dword [ebp - 0x154]
cmp eax, 2
jne 0x53e4b9
cmp byte [ebp - 0x42], 1
jne 0x53e4a6
cmp cx, 9
je case.0x53e517.1
mov eax, dword [ebp - 0x44]
shr eax, 0xe
not eax
and eax, 2
mov dword [esi + 0x1c], eax
jmp 0x53e549
cmp eax, 1
jne case.0x53e517.2
mov eax, dword [ebp - 0x44]
shr eax, 9
not eax
and eax, 1
mov dword [esi + 0x1c], eax
jmp 0x53e549
push str.GetProductInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x164]
push ecx
push 0
push 0
push dword [ebp - 0x154]
push dword [ebp - 0x158]
call eax
mov eax, dword [ebp - 0x164]
dec eax
cmp eax, 0x81
ja case.0x53e517.2
movzx eax, byte [eax + 0x53e584]
jmp dword [eax*4 + 0x53e570]
mov dword [esi + 0x1c], 2
jmp 0x53e549
mov dword [esi + 0x1c], 1
jmp 0x53e549
mov dword [esi + 0x1c], 3
jmp 0x53e549
mov dword [esi + 0x1c], 4
jmp 0x53e549
mov dword [esi + 0x1c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059a7a2
mov esp, ebp
pop ebp
ret
call fcn.005b6928
call fcn.005b6928
daa
in eax, 83
add byte [eax], dh
in eax, 0x53
add byte [esi], bl
in eax, 0x53
add byte [ecx], bh
in eax, 0x53
add byte [edx - 0x1b], al
push ebx
add byte [eax], al
add al, 4
add dword [ecx + eax], eax
add al, byte [edx]
add al, byte [edx]
add al, 2
add al, byte [edx]
add al, byte [ecx]
add al, byte [edx]
add al, 4
add al, 4
add al, 4
add al, byte [ecx + eax]
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add byte [esp + eax], al
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 1
add al, 1
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 1
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add eax, dword [ebx]
add al, 4
add dword [ecx], eax
add al, 4
add dword [ecx], eax
int3