Function at 0x4011a0
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44bf67
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x45f2c0]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov eax, dword [0x45f2c0]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x174], esi
mov dword [esp + 0x170], ebx
mov byte [esp + 0x160], bl
lea eax, [esp + 0x15c]
push eax
push edi
mov ecx, 0x44f8b8
mov dword [esp + 0x2d0], ebx
call fcn.00401090
test al, al
jne 0x401238
cmp dword [esp + 0x174], 0x10
jb 0x401795
mov ecx, dword [esp + 0x160]
push ecx
jmp 0x40178d
mov eax, dword [ebp + 8]
cmp eax, 8
jne 0x40127e
cmp dword [esp + 0x174], 0x10
mov eax, dword [esp + 0x160]
jae 0x401258
lea eax, [esp + 0x160]
push ebx
lea edx, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edx
call fcn.00402440
mov byte [esp + 0x2c8], 1
mov ecx, dword [esp + 0x28]
call fcn.0040ca30
jmp 0x4012fa
cmp eax, 9
jne 0x4012b9
cmp dword [esp + 0x174], 0x10
mov eax, dword [esp + 0x160]
jae 0x40129b
lea eax, [esp + 0x160]
push ebx
lea edx, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edx
call fcn.00402440
mov ecx, dword [esp + 0x28]
call fcn.0040cbb0
jmp 0x4012fa
cmp eax, 0xd
jne 0x401318
cmp dword [esp + 0x174], 0x10
mov eax, dword [esp + 0x160]
jae 0x4012d6
lea eax, [esp + 0x160]
push ebx
lea edx, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edx
call fcn.00402440
mov byte [esp + 0x2c8], 2
mov ecx, dword [esp + 0x28]
call fcn.0040cc90
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x40177b
push eax
call fcn.0043261c
add esp, 4
jmp 0x40177b
cmp eax, 0x12
jne 0x40151c
push 0x110
lea edx, [esp + 0x19c]
push ebx
push edx
call fcn.00433ff0
add esp, 0xc
lea eax, [esp + 0x194]
push eax
mov dword [esp + 0x198], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x1a4], 2
jne 0x401456
cmp dword [esp + 0x198], 6
jb 0x401456
mov dword [esp + 0x190], esi
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], 0
lea ecx, [esp + 0x178]
push ecx
mov bl, 3
push edi
mov ecx, 0x44f8c0
mov byte [esp + 0x2d0], bl
call fcn.00401090
test al, al
je 0x4013c9
cmp dword [esp + 0x190], 0x10
mov eax, dword [esp + 0x17c]
jae 0x4013ba
lea eax, [esp + 0x17c]
push eax
call fcn.00432af1
mov esi, eax
add esp, 4
test esi, esi
jne 0x4013d1
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov esi, eax
cmp dword [esp + 0x174], 0x10
mov eax, dword [esp + 0x160]
jae 0x4013e9
lea eax, [esp + 0x160]
push 0
lea edx, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edx
call fcn.00402440
mov byte [esp + 0x2c8], 4
mov ecx, dword [esp + 0x28]
push esi
call fcn.0040ce70
mov byte [esp + 0x2cc], bl
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
add esp, 4
cmp eax, ecx
je 0x40142e
push eax
call fcn.0043261c
add esp, 4
push edi
mov esi, 0x44f8cc
call fcn.00401000
lea ecx, [esp + 0x178]
call fcn.00404d30
lea ecx, [esp + 0x15c]
call fcn.00404d30
jmp 0x401795
cmp dword [esp + 0x174], 0x10
mov eax, dword [esp + 0x160]
jae 0x40146e
lea eax, [esp + 0x160]
push ebx
lea edx, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edx
call fcn.00402440
mov byte [esp + 0x2c8], 5
mov ecx, dword [esp + 0x28]
call fcn.0040ca30
test eax, eax
mov byte [esp + 0x2c8], 0
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
sete bl
cmp eax, ecx
je 0x4014b4
push eax
call fcn.0043261c
add esp, 4
test bl, bl
je 0x40150c
xor eax, eax
mov byte [esp + 0x2b0], 0
mov dword [esp + 0x2b1], eax
mov word [esp + 0x2b5], ax
mov byte [esp + 0x2b7], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4014e5
or eax, 0xffffffff
push 0xa
push 8
lea edx, [esp + 0x2b8]
push edx
push eax
call fcn.00432c01
add esp, 0x10
push edi
lea esi, [esp + 0x2b4]
call fcn.00401000
jmp 0x40177b
push edi
mov esi, 0x44f8cc
call fcn.00401000
jmp 0x40177b
cmp eax, 0x13
jne 0x40174f
lea eax, [esp + 0x12c]
push eax
call fcn.0040a4a0
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], ebx
lea esi, [esp + 0x14]
call fcn.00404b40
lea esi, [esp + 0x1c]
call fcn.00404b40
lea edi, [esp + 0x178]
lea ecx, [esp + 0x12c]
mov byte [esp + 0x2c8], 9
call fcn.0040a770
test eax, eax
jne 0x4015ac
mov eax, esi
call fcn.00404230
lea eax, [esp + 0x14]
call fcn.00404230
mov esi, edi
call fcn.00407db0
lea esi, [esp + 0x12c]
call fcn.0040a520
lea ecx, [esp + 0x15c]
call fcn.00404d30
jmp 0x401795
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x4015c0
mov ecx, dword [esp + 0x17c]
cmp ecx, ebx
je 0x401723
mov eax, dword [esp + 0x180]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x401723
lea esi, [esp + 0x178]
call fcn.004020e0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x130]
push edx
call fcn.0040a570
lea edi, [esp + 0x14]
mov byte [esp + 0x2c8], 0xa
call fcn.00402100
lea eax, [esp + 0x24]
mov byte [esp + 0x2c8], 9
call fcn.00404230
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], ebx
je 0x401715
mov ecx, 0x5c
lea esi, [esp + 0x14]
call fcn.00401db0
mov ecx, eax
cmp ecx, 0xffffffff
je 0x401715
mov eax, dword [edi - 0xc]
sub eax, ecx
mov ecx, esi
push ecx
sub eax, 1
lea ecx, [esp + 0x24]
call fcn.00401e30
lea edi, [esp + 0x1c]
mov byte [esp + 0x2c8], 0xb
call fcn.00402100
lea eax, [esp + 0x20]
mov byte [esp + 0x2c8], 9
call fcn.00404230
lea edx, [esp + 0x2b0]
push edx
mov ecx, 0x44f8d8
call fcn.004047f0
mov esi, eax
mov byte [esp + 0x2c8], 0xc
call fcn.00401dd0
push eax
mov eax, esi
call fcn.00401eb0
mov bl, al
add esp, 4
lea eax, [esp + 0x2b0]
mov byte [esp + 0x2c8], 9
call fcn.00404230
test bl, bl
je 0x401713
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x178]
call fcn.004020e0
mov eax, dword [eax]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4016fa
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x14]
mov edx, 0x44f8f0
call fcn.0040d010
xor ebx, ebx
add dword [esp + 0x18], 1
mov edi, dword [esp + 0x18]
jmp 0x4015c0
lea eax, [esp + 0x1c]
call fcn.00404230
lea eax, [esp + 0x14]
call fcn.00404230
lea esi, [esp + 0x178]
call fcn.00407db0
lea esi, [esp + 0x12c]
call fcn.0040a520
jmp 0x40177b
cmp eax, 0x5a
jne 0x40177b
lea esi, [esp + 0x178]
call fcn.0040efe0
lea edx, [esp + 0x15c]
mov byte [esp + 0x2c8], 0xd
call fcn.004036a0
mov ecx, esi
call fcn.00404d30
cmp dword [esp + 0x174], 0x10
jb 0x401795
mov eax, dword [esp + 0x160]
push eax
call fcn.0043261c
add esp, 4
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0043244e
mov esp, ebp
pop ebp
ret 8