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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x4700b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x28]
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 + 0x40], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433d71
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push ecx
push ebx
call eax
test eax, eax
jne 0x433d66
mov eax, 2
jmp 0x433d71
xor eax, eax
cmp dword [ebp - 0x154], eax
setne al
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x14c]
push 0x118
push 0
mov dword [esi + 0x64], 0xf
mov dword [esi + 0x60], 0
mov byte [esi + 0x50], 0
push eax
mov dword [ebp - 0x150], 0x11c
call fcn.0043fdf0
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x14c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x148]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x144]
mov dword [esi + 0x14], eax
call fcn.00434160
push dword [esi + 0x14]
mov dword [esi + 0x18], eax
push dword [esi + 0x10]
push dword [esi + 0xc]
call fcn.004341d0
mov dword [esi], eax
add esp, 0xc
movzx eax, word [ebp - 0x3c]
mov dword [esi + 0x20], eax
movzx eax, word [ebp - 0x3a]
mov dword [esi + 0x24], eax
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [ebp - 0x13c], ax
jne 0x433e18
xor ecx, ecx
jmp 0x433e30
lea ecx, [ebp - 0x13c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433e21
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00422600
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042afc0
mov ebx, eax
add esp, 8
cmp edi, ebx
je 0x433e8e
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x433e69
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00420d40
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x433e81
mov eax, dword [edi]
jmp 0x433e83
mov eax, edi
push ebx
mov ecx, edi
mov byte [eax], 0
call fcn.00402098
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x433ea3
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00420d40
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
cmp eax, 8
jb 0x433eca
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00422720
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0
lea eax, [ebp - 0x17c]
push eax
movups xmmword [ebp - 0x17c], xmm0
movups xmmword [ebp - 0x16c], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dx, word [ebp - 0x17c]
movzx eax, dx
test eax, eax
je 0x433f1c
cmp eax, 6
je 0x433f13
cmp eax, 9
jne 0x433f23
mov dword [esi + 0x40], 1
jmp 0x433f23
mov dword [esi + 0x40], 2
jmp 0x433f23
mov dword [esi + 0x40], 0
mov eax, dword [ebp - 0x168]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x160]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x14c]
cmp eax, 6
je 0x433fd1
cmp eax, 0xa
je 0x433fd1
cmp eax, 5
jne case.0x434014.2
mov ecx, dword [ebp - 0x148]
cmp ecx, 2
jne 0x433fa8
cmp byte [ebp - 0x36], 1
jne 0x433f87
cmp dx, 9
jne 0x433f87
pop edi
mov dword [esi + 0x1c], 1
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
shr eax, 0xe
not eax
and eax, 2
mov dword [esi + 0x1c], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne case.0x434014.2
mov eax, dword [ebp - 0x38]
shr eax, 9
not eax
and eax, ecx
mov dword [esi + 0x1c], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dbeb
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 - 0x158]
push ecx
push 0
push 0
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
call eax
mov eax, dword [ebp - 0x158]
dec eax
cmp eax, 0x2f
ja case.0x434014.2
movzx eax, byte [eax + 0x43405c]
jmp dword [eax*4 + 0x434050]
pop edi
mov dword [esi + 0x1c], 2
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
mov dword [esi + 0x1c], 0
xor ecx, ebp
pop esi
pop ebx
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret