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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1a8
mov eax, dword [0x4b206c]
xor eax, esp
mov dword [esp + 0x1a4], eax
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x24]
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov dword [esi + 0x3c], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push 0x492eb0
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414bb6
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
push dword [esp + 0x18]
call eax
test eax, eax
jne 0x414bad
mov eax, 2
jmp 0x414bb6
xor eax, eax
cmp dword [esp + 0x18], eax
setne al
mov dword [esi + 0x48], eax
lea eax, [esp + 0x8c]
push 0x118
push 0
mov dword [esi + 0x60], 0xf
mov dword [esi + 0x5c], 0
mov byte [esi + 0x4c], 0
push eax
mov dword [esp + 0x94], 0x11c
call fcn.00463e50
add esp, 0xc
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
push eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
call fcn.00414a40
mov dword [esi], eax
add esp, 4
movzx eax, word [esp + 0x19c]
mov dword [esi + 0x1c], eax
movzx eax, word [esp + 0x19e]
mov dword [esi + 0x20], eax
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
cmp word [esp + 0x9c], ax
jne 0x414c5f
xor ecx, ecx
jmp 0x414c7f
lea ecx, [esp + 0x9c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414c70
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x60]
call fcn.00401a46
lea edx, [esp + 0x58]
lea ecx, [esp + 0x70]
call fcn.004136b0
mov ecx, eax
mov dword [esp + 0x14], ecx
cmp edi, ecx
je 0x414d16
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x414cf1
mov ecx, dword [edi]
inc eax
cmp eax, 0x1000
jb 0x414ce4
test cl, 0x1f
jne 0x414f68
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x414f6d
sub ecx, eax
cmp ecx, 4
jb 0x414f72
cmp ecx, 0x23
ja 0x414f77
mov ecx, eax
push ecx
call fcn.00460c6b
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x414d09
mov eax, dword [edi]
jmp 0x414d0b
mov eax, edi
push ecx
mov ecx, edi
mov byte [eax], 0
call fcn.00405f64
mov eax, dword [esp + 0x84]
cmp eax, 0x10
jb 0x414d61
mov ecx, dword [esp + 0x70]
inc eax
cmp eax, 0x1000
jb 0x414d58
test cl, 0x1f
jne 0x414f7c
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x414f81
sub ecx, eax
cmp ecx, 4
jb 0x414f86
cmp ecx, 0x23
ja 0x414f8b
mov ecx, eax
push ecx
call fcn.00460c6b
add esp, 4
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
cmp eax, 8
jb 0x414dd1
mov ecx, dword [esp + 0x58]
inc eax
cmp eax, 0x7fffffff
ja 0x414f90
add eax, eax
cmp eax, 0x1000
jb 0x414dc8
test cl, 0x1f
jne 0x414f95
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x414f9a
sub ecx, eax
cmp ecx, 4
jb 0x414f9f
cmp ecx, 0x23
ja 0x414fa4
mov ecx, eax
push ecx
call fcn.00460c6b
add esp, 4
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea eax, [esp + 0x20]
movaps xmmword [esp + 0x20], xmm0
push eax
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov cx, word [esp + 0x20]
movzx eax, cx
test eax, eax
je 0x414e19
cmp eax, 6
je 0x414e10
cmp eax, 9
jne 0x414e20
mov dword [esi + 0x3c], 1
jmp 0x414e20
mov dword [esi + 0x3c], 2
jmp 0x414e20
mov dword [esi + 0x3c], 0
mov eax, dword [esp + 0x34]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x8c]
cmp eax, 6
je 0x414ec9
cmp eax, 0xa
je 0x414ec9
cmp eax, 5
jne case.0x414f0a.2
mov eax, dword [esp + 0x90]
cmp eax, 2
jne 0x414e98
cmp byte [esp + 0x1a2], 1
jne 0x414e70
cmp cx, 9
je case.0x414f0a.1
mov eax, dword [esp + 0x1a0]
shr eax, 0xe
not eax
and eax, 2
mov dword [esi + 0x18], eax
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne case.0x414f0a.2
mov eax, dword [esp + 0x1a0]
shr eax, 9
not eax
and eax, 1
mov dword [esi + 0x18], eax
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
push str.GetProductInfo
push 0x492eb0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call eax
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, 0x2f
ja case.0x414f0a.2
movzx eax, byte [eax + 0x414fb8]
jmp dword [eax*4 + 0x414fac]
mov dword [esi + 0x18], 2
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x18], 1
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop edi
mov dword [esi + 0x18], 0
pop esi
xor ecx, esp
call fcn.00460c27
mov esp, ebp
pop ebp
ret
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
nop dword [eax]
dec edi
inc ecx
add byte [ecx], dl
dec edi
inc ecx
add byte [ebx + 0x4f], cl
inc ecx
add byte [eax], al
add al, byte [edx]
add byte [edx], al
add byte [ecx], al
add dword [ecx], eax
add dword [edx], eax
add dword [ecx], eax
add dword [ecx], eax
add al, byte [ecx]
add dword [edx], eax
add al, byte [edx]
add al, byte [edx]
add al, byte [ecx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add ah, cl
int3