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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5efb4f
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x6c75ac]
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 0x5364e9
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push ecx
push edi
call eax
test eax, eax
jne 0x5364de
mov eax, 2
jmp 0x5364e9
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.005aa3d0
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.00537b20
push 1
push 0x602418
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 2
call fcn.00537b60
lea ecx, [ebp - 0x16c]
test eax, eax
je 0x536587
mov byte [ebp - 4], 1
call fcn.00537b30
xor edi, edi
jmp 0x5365b7
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push eax
push 0x602474
call fcn.00537c50
mov edi, dword [ebp - 0x160]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 1
call fcn.00537b30
push dword [esi + 0x14]
mov dword [esi + 0x18], edi
push dword [esi + 0x10]
push dword [esi + 0xc]
call fcn.00536a20
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 0x536600
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.00537060
mov edi, eax
lea ecx, [esi + 0x28]
add esp, 8
cmp ecx, edi
je 0x536663
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 0x536697
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x53668d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x536846
push edx
push ecx
call fcn.005926e9
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 0x5366e7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5366dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53684b
push edx
push ecx
call fcn.005926e9
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 0x536739
cmp eax, 6
je 0x536730
cmp eax, 9
jne 0x536740
mov dword [esi + 0x40], 1
jmp 0x536740
mov dword [esi + 0x40], 2
jmp 0x536740
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 0x5367b2
cmp eax, 0xa
je 0x5367b2
cmp eax, 5
jne case.0x5367f7.2
mov eax, dword [ebp - 0x154]
cmp eax, 2
jne 0x536799
cmp byte [ebp - 0x42], 1
jne 0x536786
cmp cx, 9
je case.0x5367f7.1
mov eax, dword [ebp - 0x44]
shr eax, 0xe
not eax
and eax, 2
mov dword [esi + 0x1c], eax
jmp 0x536829
cmp eax, 1
jne case.0x5367f7.2
mov eax, dword [ebp - 0x44]
shr eax, 9
not eax
and eax, 1
mov dword [esi + 0x1c], eax
jmp 0x536829
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.0x5367f7.2
movzx eax, byte [eax + 0x536864]
jmp dword [eax*4 + 0x536850]
mov dword [esi + 0x1c], 2
jmp 0x536829
mov dword [esi + 0x1c], 1
jmp 0x536829
mov dword [esi + 0x1c], 3
jmp 0x536829
mov dword [esi + 0x1c], 4
jmp 0x536829
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.005926d8
mov esp, ebp
pop ebp
ret
call fcn.005ae858
call fcn.005ae858
pop es
push 1745879123
push ebx
add dh, bh
push ebx
add byte [ecx], bl
push 0x68220053
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