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

Disassembly:
push 0x27c
mov eax, 0x48e712
call fcn.0046c611
mov dword [ebp - 0x254], ecx
xor ebx, ebx
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x264], ebx
call fcn.0041021a
lea ecx, [ebp - 0xfc]
call fcn.0041021a
push 9
pop ecx
xor eax, eax
mov dword [ebp - 4], ebx
mov esi, 0x11c
lea edi, [ebp - 0x288]
push esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.0046a8c0
add esp, 0xc
mov dword [ebp - 0x250], esi
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x260], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov ecx, ebx
call fcn.0043a8c1
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea ecx, [eax + 0xa4]
lea edi, [eax + 0xa8]
lea eax, [ebp - 0x25c]
push eax
push ecx
push ebx
call esi
push 0
push 4
lea eax, [ebp - 0x258]
push eax
push edi
push ebx
call esi
cmp dword [ebp - 0x260], 0
je 0x43ac79
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp dword [ebp - 0x24c], 6
jne 0x43aad3
mov edx, dword [ebp - 0x258]
lea ecx, [ebp - 0x58]
call fcn.004216b2
mov esi, eax
xor ebx, ebx
lea ecx, [ebp - 0x40]
inc ebx
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x25c]
call fcn.004216b2
push ecx
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0043acd1
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0043acf6
pop ecx
push ebx
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00410240
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x130]
call fcn.0041052e
lea ecx, [ebp - 0xa4]
call fcn.00410512
xor esi, esi
lea ecx, [ebp - 0x70]
push esi
push ebx
call fcn.00403790
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403790
push esi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00403790
lea ecx, [ebp - 0x58]
jmp 0x43ab6d
mov edx, dword [ebp - 0x248]
lea ecx, [ebp - 0x70]
call fcn.004216b2
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x24c]
call fcn.004216b2
push ecx
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.0043acd1
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.0043acf6
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 9
inc ebx
lea ecx, [ebp - 0xa4]
push ebx
push eax
call fcn.00410240
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x130]
call fcn.0041052e
lea ecx, [ebp - 0xa4]
call fcn.00410512
xor esi, esi
lea ecx, [ebp - 0x58]
push esi
push ebx
call fcn.00403790
push esi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00403790
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403790
lea ecx, [ebp - 0x70]
push 0
push ebx
mov byte [ebp - 4], 0
call fcn.00403790
movzx edx, word [ebp - 0x13a]
lea ecx, [ebp - 0x70]
call fcn.00405dcc
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
movzx edx, word [ebp - 0x13c]
call fcn.00405dcc
push ecx
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.0043acd1
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x58]
call fcn.0043acf6
pop ecx
push ebx
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.00410240
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0xfc]
call fcn.0041052e
lea ecx, [ebp - 0xa4]
call fcn.00410512
xor esi, esi
lea ecx, [ebp - 0x58]
push esi
push ebx
call fcn.00403790
push esi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00403790
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403790
push esi
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.00403790
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0xc8], eax
call fcn.0043acad
mov byte [ebp - 0xc4], al
mov eax, dword [ebp - 0x240]
push 0x59
mov dword [ebp - 0xc0], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
movzx eax, word [ebp - 0x138]
mov dword [ebp - 0xb8], eax
movzx eax, word [ebp - 0x288]
setne byte [ebp - 0xbc]
cmp byte [ebp - 0x136], 1
mov dword [ebp - 0xb4], eax
setne byte [ebp - 0xb0]
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x130]
push eax
call fcn.00406c0e
lea ecx, [ebp - 0xfc]
call fcn.00410512
lea ecx, [ebp - 0x130]
call fcn.00410512
mov eax, dword [ebp - 0x254]
call fcn.0046c5c0
ret