Function at 0x403800
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cfdc
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x43f004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
push 0x11c
lea eax, [ebp - 0x1e0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00411660
add esp, 0xc
mov dword [ebp - 0x1e0], 0x11c
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x32c], 0
push eax
push 0x64
push 0
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
test eax, eax
jne 0x4038ca
mov eax, dword [ebp - 0x32c]
push eax
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - 0x1dc], esi
mov dword [ebp - 0x1d8], edi
jmp 0x40393f
cmp dword [ebp - 0x1dc], 6
jne 0x40393f
cmp dword [ebp - 0x1d8], 2
jne 0x40393f
push 1
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 0x11c
mov edi, eax
mov esi, edx
lea eax, [ebp - 0x328]
push 0
push eax
call fcn.00411660
add esp, 0xc
mov dword [ebp - 0x328], 0x11c
lea eax, [ebp - 0x328]
mov dword [ebp - 0x320], 3
push esi
push edi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, dword [ebp - 0x1d8]
test eax, eax
mov edx, 3
cmovne ecx, edx
mov dword [ebp - 0x1d8], ecx
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
lea ecx, [ebp - 0x204]
push ecx
cmove eax, dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call eax
mov eax, dword [ebp - 0x1dc]
cmp eax, 0xa
jne 0x4039be
cmp byte [ebp - 0xc6], 1
je 0x4039a6
push 0x11
push str.Windows_10_Server
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 0xa
jne 0x4039be
cmp byte [ebp - 0xc6], 1
jne 0x403c3e
push 0xa
push str.Windows_10
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 6
jne 0x403b71
mov eax, dword [ebp - 0x1d8]
cmp eax, 3
jne 0x403a3b
cmp byte [ebp - 0xc6], 1
je 0x403a14
push 0x16
push str.Windows_Server_2012_R2
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 6
jne 0x403b71
mov eax, dword [ebp - 0x1d8]
cmp eax, 3
jne 0x403a3b
cmp byte [ebp - 0xc6], 1
jne 0x403c3e
push 0xb
push str.Windows_8.1
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 6
jne 0x403b71
mov eax, dword [ebp - 0x1d8]
cmp eax, 2
jne 0x403aa9
cmp byte [ebp - 0xc6], 1
je 0x403a82
push 0x13
push str.Windows_Server_2012
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 6
jne 0x403b71
mov eax, dword [ebp - 0x1d8]
cmp eax, 2
jne 0x403aa9
cmp byte [ebp - 0xc6], 1
jne 0x403c3e
push 9
push str.Windows_8
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 6
jne 0x403b71
mov eax, dword [ebp - 0x1d8]
cmp eax, 1
jne 0x403b11
cmp byte [ebp - 0xc6], al
je 0x403aee
push 0x16
push str.Windows_Server_2008_R2
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 6
jne 0x403b71
mov eax, dword [ebp - 0x1d8]
cmp eax, 1
jne 0x403b11
cmp byte [ebp - 0xc6], al
jne 0x403c3e
push 9
push str.Windows_7
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 6
jne 0x403b71
mov eax, dword [ebp - 0x1d8]
test eax, eax
jne 0x403c3e
cmp byte [ebp - 0xc6], 1
je 0x403b59
push 0x13
push str.Windows_Server_2008
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 6
jne 0x403b71
cmp dword [ebp - 0x1d8], 0
jne 0x403c3e
cmp byte [ebp - 0xc6], 1
jne 0x403c3e
push 0xd
push str.Windows_Vista
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 5
jne 0x403c2a
mov eax, dword [ebp - 0x1d8]
cmp eax, 2
jne 0x403be3
cmp byte [ebp - 0xc6], 1
jne 0x403bc0
cmp word [ebp - 0x204], 9
jne 0x403bc0
push 0xe
push str.Windows_XP_x64
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 5
jne 0x403c2a
mov eax, dword [ebp - 0x1d8]
cmp eax, 2
jne 0x403be3
push 0x13
push str.Windows_Server_2003
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 5
jne 0x403c2a
mov eax, dword [ebp - 0x1d8]
cmp eax, 1
jne 0x403c0b
push 0xa
push str.Windows_XP
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 5
jne 0x403c2a
mov eax, dword [ebp - 0x1d8]
test eax, eax
jne 0x403c3e
push 0xc
push str.Windows_2000
lea ecx, [ebp - 0xc0]
call fcn.004011b0
mov eax, dword [ebp - 0x1dc]
cmp eax, 5
jae 0x403c3e
push 7
push str.unknown
lea ecx, [ebp - 0xc0]
call fcn.004011b0
cmp word [ebp - 0xcc], 0
je 0x403e02
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
push 0x80
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00411660
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 0xe
push str._Service_Pack
call fcn.004011b0
movzx eax, word [ebp - 0xcc]
push eax
push 0x43aa90
lea eax, [ebp - 0x90]
push 0x80
push eax
call fcn.00401550
lea edi, [ebp - 0x90]
add esp, 0x10
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x403cc0
mov edx, dword [ebp - 0x94]
sub edi, ecx
mov ecx, dword [ebp - 0x98]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x403d0f
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [ebp - 0x98], eax
lea esi, [ebp - 0xa8]
cmovae esi, dword [ebp - 0xa8]
lea eax, [ebp - 0x90]
add esi, ecx
push eax
push esi
call fcn.00410be0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x403d2f
lea eax, [ebp - 0x90]
mov byte [ebp - 0x32c], 0
push eax
push dword [ebp - 0x32c]
lea ecx, [ebp - 0xa8]
push edi
call fcn.0040b600
cmp dword [ebp - 0x94], 0x10
lea ecx, [ebp - 0xa8]
mov esi, dword [ebp - 0xac]
mov eax, esi
cmovae ecx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x98]
mov edx, dword [ebp - 0xb0]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x403d8a
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc0]
cmovae eax, dword [ebp - 0xc0]
lea esi, [eax + edx]
push esi
call fcn.00410be0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x403da3
mov byte [ebp - 0x32c], 0
lea ecx, [ebp - 0xc0]
push dword [ebp - 0x32c]
push edi
call fcn.0040b600
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x403e02
mov eax, dword [ebp - 0xa8]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x403df8
lea esi, [edx + 0x23]
cmp esi, edx
jbe 0x404029
mov edx, esi
test cl, 0x1f
jne 0x404029
mov eax, dword [eax - 4]
cmp eax, ecx
jae 0x404029
sub ecx, eax
cmp ecx, 4
jb 0x404029
cmp ecx, 0x23
ja 0x404029
push edx
push eax
call fcn.0040ec96
add esp, 8
push str.IsWow64Process
push 0x43a914
mov dword [ebp - 0x32c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x403e5b
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x403e5b
push eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], al
push 0x43a457
jmp 0x403e9b
cmp dword [ebp - 0x32c], 0
mov edx, 0x43a930
mov eax, 0x43a934
mov dword [ebp - 0x98], 0
cmove edx, eax
mov dword [ebp - 0x94], 0xf
mov ecx, edx
mov byte [ebp - 0xa8], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403e90
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.004011b0
push ecx
lea edx, [ebp - 0xc0]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x348]
call fcn.0040a890
add esp, 4
mov edi, dword [ebp - 0x330]
lea ecx, [ebp - 0xa8]
push ecx
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.0040a9c0
mov edx, dword [ebp - 0x334]
add esp, 4
cmp edx, 0x10
jb 0x403f36
mov ecx, dword [ebp - 0x348]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403f2c
lea esi, [edx + 0x23]
cmp esi, edx
jbe 0x40402e
mov edx, esi
test al, 0x1f
jne 0x40402e
mov ecx, dword [ecx - 4]
cmp ecx, eax
jae 0x40402e
sub eax, ecx
cmp eax, 4
jb 0x40402e
cmp eax, 0x23
ja 0x40402e
push edx
push ecx
call fcn.0040ec96
add esp, 8
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], 0xf
mov byte [ebp - 0x348], 0
cmp edx, 0x10
jb 0x403fab
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403fa1
lea esi, [edx + 0x23]
cmp esi, edx
jbe 0x404033
mov edx, esi
test al, 0x1f
jne 0x404033
mov ecx, dword [ecx - 4]
cmp ecx, eax
jae 0x404033
sub eax, ecx
cmp eax, 4
jb 0x404033
cmp eax, 0x23
ja 0x404033
push edx
push ecx
call fcn.0040ec96
add esp, 8
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp edx, 0x10
jb 0x40400c
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404002
lea esi, [edx + 0x23]
cmp esi, edx
jbe 0x404038
mov edx, esi
test al, 0x1f
jne 0x404038
mov ecx, dword [ecx - 4]
cmp ecx, eax
jae 0x404038
sub eax, ecx
cmp eax, 4
jb 0x404038
cmp eax, 0x23
ja 0x404038
push edx
push ecx
call fcn.0040ec96
add esp, 8
mov eax, edi
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.0040e7db
mov esp, ebp
pop ebp
ret
call fcn.0041524e
call fcn.0041524e
call fcn.0041524e
call fcn.0041524e
int3