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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x4b93f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x120]
push esi
push edi
push 0x11c
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0
push eax
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x144], xmm0
call fcn.0044c180
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x43d2b0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004495f3
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push str.kernel32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43d2d8
lea ecx, [ebp - 0x154]
push ecx
call eax
jmp 0x43d2e5
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x110]
cmp eax, 2
jne 0x43d962
mov eax, dword [ebp - 0x11c]
cmp eax, 4
jbe 0x43d90d
push 0x4a1628
mov ecx, ebx
call fcn.00409b20
cmp dword [ebp - 0x11c], 6
jne case.0x43d50c.5
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x43d46a
push ecx
mov ecx, esp
push str.CurrentVersion
call fcn.00403710
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call fcn.00403710
push ecx
mov ecx, esp
push str.HKEY_LOCAL_MACHINE
call fcn.00403710
lea eax, [ebp - 0x128]
push eax
call fcn.0042c710
lea eax, [ebp - 0x128]
push 0x4a78d8
push eax
call fcn.00409f10
add esp, 0x18
test al, al
je 0x43d387
mov dword [ebp - 0x124], 0x1b
push str.Windows_8
jmp 0x43d3e8
lea eax, [ebp - 0x128]
push 0x4a4a1c
push eax
call fcn.00409f10
add esp, 8
test al, al
je 0x43d3b0
mov dword [ebp - 0x124], 0x1e
push str.Windows_8.1
jmp 0x43d3e8
lea eax, [ebp - 0x128]
push 0x4a4a24
push eax
call fcn.00409f10
add esp, 8
test al, al
je 0x43d3d9
mov dword [ebp - 0x124], 0x1f
push str.Windows_10
jmp 0x43d3e8
mov dword [ebp - 0x124], 0x20
push str.Windows
mov ecx, ebx
call fcn.0040a2c0
push ecx
mov ecx, esp
push str.CurrentMajorVersionNumber
call fcn.00403710
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call fcn.00403710
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042c910
add esp, 8
mov esi, eax
mov ecx, esp
push str.CurrentMinorVersionNumber
call fcn.00403710
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call fcn.00403710
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042c910
add esp, 0xc
cmp esi, 0xa
jne 0x43d45d
test eax, eax
jne 0x43d45d
push str.Windows_10
mov ecx, ebx
mov dword [ebp - 0x124], 0x1f
call fcn.00409b20
lea ecx, [ebp - 0x128]
call fcn.00409060
jmp 0x43d4c9
cmp eax, 1
jne 0x43d498
mov ecx, ebx
cmp byte [ebp - 6], al
jne 0x43d487
mov dword [ebp - 0x124], 0x17
push str.Windows_7
jmp 0x43d4c4
mov dword [ebp - 0x124], 0x19
push str.Windows_Server_2008_R2
jmp 0x43d4c4
test eax, eax
jne 0x43d4c9
cmp byte [ebp - 6], 1
mov ecx, ebx
jne 0x43d4b5
mov dword [ebp - 0x124], 0x13
push str.Windows_Vista
jmp 0x43d4c4
mov dword [ebp - 0x124], 0x15
push str.Windows_Server_2008
call fcn.0040a2c0
push str.GetProductInfo
push str.kernel32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x130]
push ecx
push 0
push 0
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call eax
mov eax, dword [ebp - 0x130]
dec eax
cmp eax, 0x2f
ja case.0x43d50c.5
movzx eax, byte [eax + 0x43dcac]
jmp dword [eax*4 + 0x43dc64]
push 0x4a7a20
jmp 0x43d588
push 0x4a7a28
jmp 0x43d588
push str.Home_Premium_Edition
jmp 0x43d588
push str.Home_Basic_Edition
jmp 0x43d588
push str.Enterprise_Edition
jmp 0x43d588
push str.Business_Edition
jmp 0x43d588
push str.Starter_Edition
jmp 0x43d588
push str.HPC_Server_Edition
jmp 0x43d588
push str.Datacenter_Edition
jmp 0x43d588
push str.Datacenter_Edition__core_installation_
jmp 0x43d588
push str.Enterprise_Edition__core_installation_
jmp 0x43d588
push str.Enterprise_Edition_for_Itanium_based_Systems
jmp 0x43d588
push str.Small_Business_Server
jmp 0x43d588
push str.Small_Business_Server_Premium_Edition
jmp 0x43d588
push str.Standard_Edition
jmp 0x43d588
push str.Standard_Edition__core_installation_
jmp 0x43d588
push str.Web_Server_Edition
mov ecx, ebx
call fcn.0040a2c0
cmp dword [ebp - 0x11c], 5
jne 0x43d7ab
mov eax, dword [ebp - 0x118]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 2
jne 0x43d6dd
push 0x59
call esi
test eax, eax
je 0x43d5ca
mov dword [ebp - 0x124], 0x11
push str.Windows_Server_2003_R2_
jmp 0x43d619
mov eax, dword [ebp - 8]
test eax, 0x2000
je 0x43d5db
push str.Windows_Storage_Server_2003
jmp 0x43d60f
test eax, 0x8000
je 0x43d5e9
push str.Windows_Home_Server_2003
jmp 0x43d60f
cmp byte [ebp - 6], 1
jne 0x43d60a
cmp word [ebp - 0x154], 9
jne 0x43d60a
mov dword [ebp - 0x124], 0xe
push str.Windows_XP_Professional_x64_Edition
jmp 0x43d619
push str.Windows_Server_2003_
mov dword [ebp - 0x124], 0xf
mov ecx, ebx
call fcn.0040a2c0
cmp byte [ebp - 6], 1
je 0x43d6ca
mov ax, word [ebp - 0x154]
cmp ax, 6
jne 0x43d65a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x124], 0x10
test al, al
jns 0x43d64f
push str.Datacenter_Edition_for_Itanium_based_Systems
jmp 0x43d6c3
test al, 2
je 0x43d6ca
push str.Enterprise_Edition_for_Itanium_based_Systems
jmp 0x43d6c3
cmp ax, 9
mov eax, dword [ebp - 8]
jne 0x43d68c
mov dword [ebp - 0x124], 0x10
test al, al
jns 0x43d678
push str.Datacenter_x64_Edition
jmp 0x43d6c3
mov ecx, ebx
test al, 2
je 0x43d685
push str.Enterprise_x64_Edition
jmp 0x43d6c5
push str.Standard_x64_Edition
jmp 0x43d6c5
test eax, 0x4000
je 0x43d69a
push str.Compute_Cluster_Edition
jmp 0x43d6c3
test al, al
jns 0x43d6a5
push str.Datacenter_Edition
jmp 0x43d6c3
test al, 2
je 0x43d6b0
push str.Enterprise_Edition
jmp 0x43d6c3
test eax, 0x400
je 0x43d6be
push str.Web_Edition
jmp 0x43d6c3
push str.Standard_Edition
mov ecx, ebx
call fcn.0040a2c0
cmp dword [ebp - 0x11c], 5
jne 0x43d7ab
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x43d755
push str.Windows_XP
mov ecx, ebx
mov dword [ebp - 0x124], 0xd
call fcn.0040a2c0
test dword [ebp - 8], 0x200
mov ecx, ebx
je 0x43d70a
push str.Home_Edition
jmp 0x43d70f
push str.Professional
call fcn.0040a2c0
push 0x57
call esi
test eax, eax
je 0x43d723
push str.Media_Center_Edition
jmp 0x43d73f
push 0x58
call esi
test eax, eax
je 0x43d732
push str.Starter_Edition
jmp 0x43d73f
push 0x56
call esi
test eax, eax
je 0x43d746
push str.Tablet_PC_Edition
mov ecx, ebx
call fcn.0040a2c0
cmp dword [ebp - 0x11c], 5
jne 0x43d7ab
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x43d7ab
push str.Windows_2000
mov ecx, ebx
call fcn.0040a2c0
cmp byte [ebp - 6], 1
jne 0x43d77c
mov dword [ebp - 0x124], 0xb
push str.Professional
jmp 0x43d7a4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x124], 0xc
test al, al
jns 0x43d794
push str.Datacenter_Server
jmp 0x43d7a4
test al, 2
je 0x43d79f
push str.Advanced_Server
jmp 0x43d7a4
push str.Server
mov ecx, ebx
call fcn.0040a2c0
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d7b4
sub ecx, edx
sar ecx, 1
je 0x43d7df
push 0x4a4a84
mov ecx, ebx
call fcn.0040a2c0
lea eax, [ebp - 0x10c]
mov ecx, ebx
push eax
call fcn.0040a2c0
call fcn.00402250
mov ecx, eax
test ecx, ecx
je 0x43dc58
mov eax, dword [ecx]
call dword [eax + 0xc]
push ecx
add eax, 0x10
mov ecx, esp
push str.CurrentBuildNumber
mov dword [ebp - 0x128], eax
call fcn.00403710
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call fcn.00403710
push ecx
mov ecx, esp
push str.HKEY_LOCAL_MACHINE
call fcn.00403710
lea eax, [ebp - 0x12c]
push eax
call fcn.0042c710
mov edi, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
add esp, 0x10
cmp dword [edi - 0xc], 0
jne 0x43d851
push dword [ebp - 0x114]
push str.__Build__d_
jmp 0x43d857
push edi
push str.__Build__s_
push eax
call fcn.0041ad10
add esp, 0xc
lea eax, [ebp - 0x12c]
push str.9431
push eax
call fcn.00409f10
add esp, 8
test al, al
je 0x43d884
push str._Preview
mov ecx, ebx
call fcn.0040a2c0
mov esi, dword [ebp - 0x128]
mov ecx, ebx
push dword [esi - 0xc]
push esi
call fcn.00403910
cmp dword [ebp - 0x11c], 6
jb 0x43d8c3
mov ax, word [ebp - 0x154]
cmp ax, 9
jne 0x43d8b2
push str.__64_bit
jmp 0x43d8bc
test ax, ax
jne 0x43d8c3
push str.__32_bit
mov ecx, ebx
call fcn.0040a2c0
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d8dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x43dc41
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x124]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004495f3
mov esp, ebp
pop ebp
ret
jne 0x43d938
cmp dword [ebp - 0x118], 0
jne 0x43dc41
push str.Windows_NT4
mov ecx, ebx
mov dword [ebp - 0x124], 6
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 3
jne 0x43dc41
cmp dword [ebp - 0x118], 0x33
jne 0x43dc41
mov dword [ebp - 0x124], 5
push str.Windows_NT_3.51
jmp 0x43dc3a
cmp eax, 1
jne 0x43da43
cmp dword [ebp - 0x11c], 4
jne 0x43dc41
mov eax, dword [ebp - 0x118]
cmp eax, 0x5a
jne 0x43d99f
push str.Windows_Millennium_Edition
mov ecx, ebx
mov dword [ebp - 0x124], 0xa
call fcn.0040a2c0
mov eax, dword [ebp - 0x118]
cmp eax, 0xa
jne 0x43d9f0
cmp dword [ebp - 0x114], 0x887
jb 0x43d9d1
push str.Windows_98_Second_Edition
mov ecx, ebx
mov dword [ebp - 0x124], 9
call fcn.0040a2c0
mov eax, dword [ebp - 0x118]
cmp eax, 0xa
jne 0x43d9f0
push str.Windows_98
mov ecx, ebx
mov dword [ebp - 0x124], 8
call fcn.0040a2c0
mov eax, dword [ebp - 0x118]
cmp eax, 0xa
jae 0x43da1a
cmp dword [ebp - 0x114], 0x438
jbe 0x43da1a
push str.Windows_95_OEM_Service_Release_2
mov ecx, ebx
mov dword [ebp - 0x124], 4
call fcn.0040a2c0
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0x11c], 4
jne 0x43dc41
test eax, eax
jne 0x43dc41
mov dword [ebp - 0x124], 3
push str.Windows_95
jmp 0x43dc3a
cmp eax, 3
jne 0x43dc41
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], 7
cmp eax, 1
jne 0x43da80
cmp dword [ebp - 0x118], 0
jne 0x43dc41
push str.Windows_CE_1.0
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x43db0f
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x43dab0
push str.Windows_CE_2.0
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x43db0f
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x43dad2
push str.Windows_CE_2.1
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x43db0f
mov eax, dword [ebp - 0x118]
cmp eax, 0xb
jne 0x43daf4
push str.Windows_CE_2.11
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x43db0f
mov eax, dword [ebp - 0x118]
cmp eax, 0xc
jne 0x43dc41
push str.Windows_CE_2.12
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 3
jne 0x43db33
cmp dword [ebp - 0x118], 0
jne 0x43dc41
push str.Windows_CE_3.0
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 4
jne 0x43dbc2
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x43db63
push str.Windows_CE_4.0
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 4
jne 0x43dbc2
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x43db85
push str.Windows_CE_4.1
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 4
jne 0x43dbc2
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x43dba7
push str.Windows_CE_4.2
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 4
jne 0x43dbc2
mov eax, dword [ebp - 0x118]
cmp eax, 0x15
jne 0x43dc41
push str.Windows_CE_4.21
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jne 0x43dc27
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x43dbee
push str.Windows_CE_5.0
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jne 0x43dc27
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x43dc10
push str.Windows_CE_5.1
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jne 0x43dc27
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x43dc41
push str.Windows_CE_5.2
mov ecx, ebx
call fcn.0040a2c0
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jne 0x43dc41
cmp dword [ebp - 0x118], 0
jne 0x43dc41
push str.Windows_CE_6.0
mov ecx, ebx
call fcn.0040a2c0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x124]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004495f3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402080
nop
adc edx, ebp
inc ebx
add byte [eax], ch
aad 0x43
add byte [ecx], ah
aad 0x43
add byte [edi], ch
aad 0x43
add byte [esi], dh
aad 0x43
add byte [ebp - 0x2b], dh
inc ebx
add byte [ebx - 0x2b], cl
inc ebx
add byte [edi - 0x2b], ah
inc ebx
add byte [0x520043d5], bh
aad 0x43
add byte [ebp + edx*8 + 0x43], bh
add byte [ecx - 0x2b], bl
inc ebx
add byte [eax - 0x2b], ah
inc ebx
add byte [ebx + 0x440043d5], al
aad 0x43
add byte [esi - 0x2b], ch
inc ebx
add byte [edx], bl
aad 0x43
add byte [edi + 0x43d5], cl
add dword [edx], eax
add edx, dword [ecx]
add al, 5
push es
pop es
add ecx, dword [eax]
or dword [edx], ecx
or ecx, dword [ecx + edx]
or eax, 286331150
adc dword [ecx], edx
adc dword [edi], ecx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc dword [ecx], edx
adc ah, cl
int3