Function at 0x40e700
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec8ff
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x52c0cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push str.GetNativeSystemInfo
push str.kernel32
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e76b
lea ecx, [ebp - 0x68]
push ecx
call eax
jmp 0x40e775
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x68]
cmp ax, 9
je 0x40e818
cmp ax, 6
je 0x40e818
cmp dword [0x532a30], 0x10
lea edi, [esi + 0x258]
mov eax, 0x532a1c
cmovae eax, dword [0x532a1c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x40e7d2
mov eax, dword [ecx]
jmp 0x40e7d4
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.00407230
lea ecx, [ebp - 0xb0]
call fcn.0041b4d0
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x40e7fc
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x98]
push str._s_s
push eax
call fcn.0041fcc0
add esp, 0x10
mov esi, eax
jmp 0x40e89e
cmp dword [0x532a30], 0x10
lea edi, [esi + 0x258]
mov eax, 0x532a1c
cmovae eax, dword [0x532a1c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x40e85d
mov eax, dword [ecx]
jmp 0x40e85f
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.00407230
lea ecx, [ebp - 0xb0]
call fcn.0041b4d0
add esp, 0x18
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x40e887
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x98]
push str._s_s
push eax
call fcn.0041fcc0
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x40e8d5
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x40e8ba
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00407160
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00409890
mov eax, dword [ebp - 0x84]
cmp eax, 0x10
jb 0x40e8f3
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.00407160
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x9c]
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
cmp eax, 0x10
jb 0x40e930
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00407160
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x40e95b
mov eax, dword [ecx]
jmp 0x40e95d
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.00407230
lea ecx, [ebp - 0xb0]
call fcn.0041b4d0
add esp, 0x18
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x40e985
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x44]
push str._suninst.exe
push eax
call fcn.0041fcc0
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x9c]
cmp eax, 0x10
jb 0x40e9b9
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00407160
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x84], 0xf
cmovae edx, dword [ebp - 0x2c]
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0xf
cmp byte [edx], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
mov dword [ebp - 0x14], reloc.WS2_32.dll_accept
jne 0x40ea0a
xor ecx, ecx
jmp 0x40ea19
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ea10
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.00406ed0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80]
push 0
push 0x513319
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.00406ed0
sub esp, 8
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x532ac4
call fcn.00415d10
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x40ea7b
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00407160
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x40eaaf
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.00407160
cmp dword [0x532940], 0x10
mov edx, 0x53292c
mov dword [ebp - 0x84], 0xf
cmovae edx, dword [0x53292c]
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
cmp byte [edx], 0
jne 0x40eae6
xor ecx, ecx
jmp 0x40eaf9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40eaf0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.00406ed0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
push 0xb
push str.DisplayName
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.00406ed0
sub esp, 8
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x532a4c
call fcn.00415d10
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x40eb5b
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00407160
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x40eb8f
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.00407160
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x44]
mov dword [ebp - 0x84], 0xf
cmovae edx, dword [ebp - 0x44]
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
cmp byte [edx], 0
jne 0x40ebbe
xor ecx, ecx
jmp 0x40ebcc
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ebc3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.00406ed0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x80]
push 0xf
push str.UninstallString
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.00406ed0
sub esp, 8
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x532a4c
call fcn.00415d10
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x40ec2e
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00407160
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x40ec62
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.00407160
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x84], 0xf
cmovae edx, dword [ebp - 0x2c]
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
cmp byte [edx], 0
jne 0x40ec91
xor ecx, ecx
jmp 0x40ec9f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ec96
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.00406ed0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x80]
push 0xb
push str.DisplayIcon
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.00406ed0
sub esp, 8
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x532a4c
call fcn.00415d10
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x40ed01
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00407160
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x40ed35
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.00407160
cmp dword [0x532aa8], 0x10
mov edx, 0x532a94
mov dword [ebp - 0x84], 0xf
cmovae edx, dword [0x532a94]
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
cmp byte [edx], 0
jne 0x40ed6c
xor ecx, ecx
jmp 0x40ed7a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ed71
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.00406ed0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x80]
push 0xe
push str.DisplayVersion
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.00406ed0
sub esp, 8
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x532a4c
call fcn.00415d10
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x40eddc
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00407160
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x40ee10
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.00407160
cmp dword [0x532a00], 0x10
mov edx, 0x5329ec
mov dword [ebp - 0x84], 0xf
cmovae edx, dword [0x5329ec]
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
cmp byte [edx], 0
jne 0x40ee47
xor ecx, ecx
jmp 0x40ee59
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ee50
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.00406ed0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x80]
push 9
push str.Publisher
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.00406ed0
sub esp, 8
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x532a4c
call fcn.00415d10
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x40eebb
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00407160
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x40eeeb
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.00407160
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40ef00
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00407160
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x40ef27
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00407160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004abe1b
mov esp, ebp
pop ebp
ret