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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5edd1f
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x6c45ac]
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 0x5349f9
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push ecx
push edi
call eax
test eax, eax
jne 0x5349ee
mov eax, 2
jmp 0x5349f9
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.005a88e0
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.00536030
push 1
push 0x600418
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 2
call fcn.00536070
lea ecx, [ebp - 0x16c]
test eax, eax
je 0x534a97
mov byte [ebp - 4], 1
call fcn.00536040
xor edi, edi
jmp 0x534ac7
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push eax
push 0x600474
call fcn.00536160
mov edi, dword [ebp - 0x160]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 1
call fcn.00536040
push dword [esi + 0x14]
mov dword [esi + 0x18], edi
push dword [esi + 0x10]
push dword [esi + 0xc]
call fcn.00534f30
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 0x534b10
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.00535570
mov edi, eax
lea ecx, [esi + 0x28]
add esp, 8
cmp ecx, edi
je 0x534b73
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 0x534ba7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x534b9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x534d56
push edx
push ecx
call fcn.00590bf9
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 0x534bf7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x534bed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x534d5b
push edx
push ecx
call fcn.00590bf9
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 0x534c49
cmp eax, 6
je 0x534c40
cmp eax, 9
jne 0x534c50
mov dword [esi + 0x40], 1
jmp 0x534c50
mov dword [esi + 0x40], 2
jmp 0x534c50
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 0x534cc2
cmp eax, 0xa
je 0x534cc2
cmp eax, 5
jne case.0x534d07.2
mov eax, dword [ebp - 0x154]
cmp eax, 2
jne 0x534ca9
cmp byte [ebp - 0x42], 1
jne 0x534c96
cmp cx, 9
je case.0x534d07.1
mov eax, dword [ebp - 0x44]
shr eax, 0xe
not eax
and eax, 2
mov dword [esi + 0x1c], eax
jmp 0x534d39
cmp eax, 1
jne case.0x534d07.2
mov eax, dword [ebp - 0x44]
shr eax, 9
not eax
and eax, 1
mov dword [esi + 0x1c], eax
jmp 0x534d39
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.0x534d07.2
movzx eax, byte [eax + 0x534d74]
jmp dword [eax*4 + 0x534d60]
mov dword [esi + 0x1c], 2
jmp 0x534d39
mov dword [esi + 0x1c], 1
jmp 0x534d39
mov dword [esi + 0x1c], 3
jmp 0x534d39
mov dword [esi + 0x1c], 4
jmp 0x534d39
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.00590be8
mov esp, ebp
pop ebp
ret
call fcn.005acd68
call fcn.005acd68
pop ss
dec ebp
push ebx
add byte [eax], ah
dec ebp
push ebx
add byte [esi], cl
dec ebp
push ebx
add byte [ecx], ch
dec ebp
push ebx
add byte [edx], dh
dec ebp
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