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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x45d06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x28]
mov dword [edi], 0
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [edi + 0x40], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a041
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x15c], 0
push ecx
push esi
call eax
test eax, eax
jne 0x41a036
mov eax, 2
jmp 0x41a041
xor eax, eax
cmp dword [ebp - 0x15c], eax
setne al
mov dword [edi + 0x4c], eax
lea eax, [ebp - 0x154]
push 0x118
push 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
push eax
mov byte [edi + 0x50], 0
mov dword [ebp - 0x158], 0x11c
call fcn.0042b810
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x154]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x150]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x14c]
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x15c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x15c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a11d
mov esi, dword [ebp - 0x15c]
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x160]
push eax
push 0x45651c
mov dword [ebp - 0x168], esi
call fcn.0041bfd0
test esi, esi
je 0x41a115
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x160]
jmp 0x41a11f
xor eax, eax
push dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x18], eax
call fcn.00419de0
mov dword [edi], eax
lea esi, [ebp - 0x144]
movzx eax, word [ebp - 0x44]
lea ecx, [esi + 2]
mov dword [edi + 0x20], eax
add esp, 4
movzx eax, word [ebp - 0x42]
mov dword [edi + 0x24], eax
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41a160
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x41a199
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x144]
add esi, esi
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a470
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x1c], ax
jmp 0x41a249
cmp esi, 0x7ffffffe
ja 0x41a516
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x41a1b9
mov ebx, 0x7ffffffe
jmp 0x41a1c3
mov eax, 0xa
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
test eax, eax
jne 0x41a1d4
xor ecx, ecx
mov dword [ebp - 0x15c], ecx
jmp 0x41a21e
cmp eax, 0x7fffffff
ja 0x41a51b
add eax, eax
cmp eax, 0x1000
jb 0x41a20d
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x41a520
push ecx
call fcn.004296cc
add esp, 4
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ebp - 0x15c], ecx
mov dword [ecx - 4], eax
jmp 0x41a21e
push eax
call fcn.004296cc
add esp, 4
mov dword [ebp - 0x15c], eax
mov ecx, eax
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x144]
add esi, esi
mov dword [ebp - 8], ebx
push esi
push eax
push ecx
call fcn.0042b290
mov eax, dword [ebp - 0x15c]
lea ebx, [edi + 0x28]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi], cx
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.0041c040
mov esi, eax
cmp ebx, esi
je 0x41a2df
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x41a2ad
xor dl, dl
lea ecx, [eax + 1]
mov eax, dword [ebx]
jne 0x41a525
cmp ecx, 0x1000
jb 0x41a2a4
test al, 0x1f
jne 0x41a525
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x41a525
sub eax, ecx
cmp eax, 4
jb 0x41a525
cmp eax, 0x23
ja 0x41a525
mov eax, ecx
push eax
call fcn.0042945d
add esp, 4
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
movups xmm0, xmmword [esi]
movups xmmword [ebx], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebx + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x41a32f
xor dl, dl
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x34]
jne 0x41a525
cmp ecx, 0x1000
jb 0x41a326
test al, 0x1f
jne 0x41a525
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x41a525
sub eax, ecx
cmp eax, 4
jb 0x41a525
cmp eax, 0x23
ja 0x41a525
mov eax, ecx
push eax
call fcn.0042945d
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp eax, 8
jb 0x41a394
mov ecx, dword [ebp - 0x1c]
inc eax
cmp eax, 0x7fffffff
ja 0x41a525
add eax, eax
cmp eax, 0x1000
jb 0x41a38b
test cl, 0x1f
jne 0x41a525
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41a525
sub ecx, eax
cmp ecx, 4
jb 0x41a525
cmp ecx, 0x23
ja 0x41a525
mov ecx, eax
push ecx
call fcn.0042945d
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x190]
push eax
movups xmmword [ebp - 0x190], xmm0
movups xmmword [ebp - 0x180], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov cx, word [ebp - 0x190]
movzx eax, cx
test eax, eax
je 0x41a3e6
cmp eax, 6
je 0x41a3dd
cmp eax, 9
jne 0x41a3ed
mov dword [edi + 0x40], 1
jmp 0x41a3ed
mov dword [edi + 0x40], 2
jmp 0x41a3ed
mov dword [edi + 0x40], 0
mov eax, dword [ebp - 0x17c]
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 0x174]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x154]
cmp eax, 6
je 0x41a47e
cmp eax, 0xa
je 0x41a47e
cmp eax, 5
jne case.0x41a4c1.2
mov eax, dword [ebp - 0x150]
cmp eax, 2
jne 0x41a454
cmp byte [ebp - 0x3e], 1
jne 0x41a433
cmp cx, 9
je case.0x41a4c1.1
mov eax, dword [ebp - 0x40]
shr eax, 0xe
not eax
and eax, 2
mov dword [edi + 0x1c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429462
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne case.0x41a4c1.2
mov eax, dword [ebp - 0x40]
shr eax, 9
not eax
and eax, 1
mov dword [edi + 0x1c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429462
mov esp, ebp
pop ebp
ret
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 - 0x16c]
push ecx
push 0
push 0
push dword [ebp - 0x150]
push dword [ebp - 0x154]
call eax
mov eax, dword [ebp - 0x16c]
dec eax
cmp eax, 0x2f
ja case.0x41a4c1.2
movzx eax, byte [eax + 0x41a538]
jmp dword [eax*4 + 0x41a52c]
mov dword [edi + 0x1c], 2
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429462
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x1c], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429462
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
mov dword [edi + 0x1c], 0
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00429462
mov esp, ebp
pop ebp
ret
call fcn.004029a9
call fcn.0042a083
call fcn.0042a083
call fcn.0042e703
nop
loop 0x41a4d2
inc ecx
add al, cl
movsb byte es:[edi], byte [esi]
inc ecx
add ah, bh
movsb byte es:[edi], byte [esi]
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