Function at 0x10116200
Capabilities:
Check os version
Encode data using xor

Disassembly:
sub esp, 0x1d4
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x1cc], eax
push ebx
mov dword [esp + 0x24], 0
mov eax, dword [0x10227c40]
push ebp
push esi
push edi
cmp byte [eax + 0x3345], 0
mov dword [esp + 0x14], ecx
je 0x10116d50
mov eax, dword [0x10229e7c]
cmp dword [eax], 0
je 0x10116d50
mov eax, dword [0x10227c48]
mov ecx, edx
push 0
push str.userid
mov edi, dword [eax + 0x18]
mov esi, dword [eax + 0x10]
mov eax, dword [edx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x24]
mov ecx, esi
call edx
mov ecx, dword [edi]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, edi
call edx
mov edi, eax
test edi, edi
je 0x10116d50
xorps xmm0, xmm0
mov dword [esp + 0x48], 0
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0xf
mov ecx, edi
mov byte [esp + 0x38], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x160]
call eax
mov ecx, dword [edi]
mov ebp, eax
mov edx, dword [ecx + 0x270]
mov ecx, edi
call edx
mov ecx, dword [edi + 8]
mov byte [esp + 0x12], al
mov edx, dword [ecx + 0x24]
lea ecx, [edi + 8]
call edx
mov byte [esp + 0x13], al
test al, al
je 0x101162fe
mov ecx, dword [0x10227c3c]
mov ecx, dword [ecx + 0xb4]
mov esi, dword [ecx]
test esi, esi
je 0x101162fe
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [esi + 0x9d8]
push eax
mov edx, dword [ecx + 0x14]
lea ecx, [esi + 0x9d8]
call edx
mov byte [esp + 0x12], al
mov eax, dword [str.M_CH]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov al, byte [0x101f6d5c]
mov byte [esp + 0x34], al
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 5
jl 0x10116312
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push 0x101d6e4f
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword fs:[0x2c]
mov edx, dword [0x102296ac]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x104e2020]
cmp ecx, dword [edx + 4]
jle 0x101163a8
push 0x104e2020
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e2020], 0xffffffff
jne 0x101163a8
mov edx, 0xc60bf9f2
mov ecx, 0x101f6899
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x104e2020
mov dword [0x104e1f7c], eax
call fcn.1019d76a
add esp, 4
mov ebx, dword [0x104e1f7c]
lea eax, [esp + 0x158]
push eax
mov ecx, edi
add ebx, edi
call fcn.10190ae0
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x158]
mov dword [esp + 0x7c], 0
movups xmmword [esp + 0x68], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101163e1
sub ecx, edx
lea eax, [esp + 0x158]
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.10027bd0
cmp byte [esp + 0x12], 0
jne 0x10116461
cmp ebp, 1
je 0x101164aa
test ebp, ebp
je 0x101164aa
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov edi, dword [esp + 0x48]
sub eax, edi
push 7
push str.DEAD
cmp eax, 7
jb 0x10116452
cmp ecx, 0x10
lea esi, [esp + 0x40]
lea eax, [edi + 7]
cmovae esi, dword [esp + 0x40]
mov dword [esp + 0x50], eax
lea eax, [esi + edi]
push eax
call fcn.1019ead0
add esp, 0xc
mov byte [esi + edi + 7], 0
jmp 0x10116461
push dword [esp + 0x38]
lea ecx, [esp + 0x44]
push 7
call fcn.10028320
cmp ebp, 2
jne 0x101164aa
mov edx, dword [esp + 0x4c]
mov eax, edx
mov ecx, dword [esp + 0x48]
sub eax, ecx
push 0xc
push str._Terrorist_
cmp eax, 0xc
jb 0x101164a2
cmp edx, 0x10
lea esi, [esp + 0x40]
lea eax, [ecx + 0xc]
cmovae esi, dword [esp + 0x40]
add esi, ecx
mov dword [esp + 0x50], eax
push esi
call fcn.1019ead0
add esp, 0xc
mov byte [esi + 0xc], 0
jmp 0x101164f7
push dword [esp + 0x38]
push 0xc
jmp 0x101164ee
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov edi, dword [esp + 0x48]
sub eax, edi
push 0x14
push str._Counter_Terrorist_
cmp eax, 0x14
jb 0x101164e8
cmp ecx, 0x10
lea esi, [esp + 0x40]
lea eax, [edi + 0x14]
cmovae esi, dword [esp + 0x40]
mov dword [esp + 0x50], eax
lea eax, [esi + edi]
push eax
call fcn.1019ead0
add esp, 0xc
mov byte [esi + edi + 0x14], 0
jmp 0x101164f7
push dword [esp + 0x38]
push 0x14
lea ecx, [esp + 0x48]
call fcn.10028320
mov edx, dword [esp + 0x48]
mov ebp, 0x7fffffff
mov esi, dword [esp + 0x78]
mov eax, ebp
sub eax, edx
cmp eax, esi
jb 0x10116d69
cmp dword [esp + 0x4c], 0x10
lea ecx, [esp + 0x38]
push esi
cmovae ecx, dword [esp + 0x3c]
lea eax, [esp + 0x6c]
cmp dword [esp + 0x80], 0x10
cmovae eax, dword [esp + 0x6c]
push eax
push edx
push ecx
push ecx
push dword [esp + 0x44]
lea ecx, [esp + 0xf8]
call fcn.10029a80
mov ecx, dword [esp + 0xf4]
mov eax, ecx
mov edi, dword [esp + 0xf0]
sub eax, edi
push 3
push 0x101f694c
cmp eax, 3
jb 0x10116598
cmp ecx, 0x10
lea esi, [esp + 0xe8]
lea eax, [edi + 3]
cmovae esi, dword [esp + 0xe8]
mov dword [esp + 0xf8], eax
lea eax, [esi + edi]
push eax
call fcn.1019ead0
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0xe0]
jmp 0x101165aa
push dword [esp + 0x38]
lea ecx, [esp + 0xec]
push 3
call fcn.10028320
mov dword [esp + 0xc0], 0
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc4], 0
xorps xmm0, xmm0
movups xmmword [esp + 0xb0], xmm0
push ebx
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xb4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0xc4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.10020690
mov dword [esp + 0x60], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x64], 0
movups xmm0, xmmword [eax]
push 3
push 0x101f6948
movups xmmword [esp + 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [esp + 0x6c]
mov eax, edx
mov ecx, dword [esp + 0x68]
sub eax, ecx
cmp eax, 3
jb 0x1011667e
cmp edx, 0x10
lea esi, [esp + 0x58]
lea eax, [ecx + 3]
cmovae esi, dword [esp + 0x58]
add esi, ecx
mov dword [esp + 0x68], eax
push esi
call fcn.1019ead0
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [esp + 0x50]
jmp 0x1011668d
push dword [esp + 0x38]
lea ecx, [esp + 0x5c]
push 3
call fcn.10028320
push dword [esp + 0x14]
mov dword [esp + 0xac], 0
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x9c], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x9c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0xac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.10020690
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [esp + 0x20], xmm0
movq qword [esp + 0x18], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x10
jb 0x1011674d
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116738
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d6e
push ecx
push edx
call fcn.1019d45c
movups xmm0, xmmword [esp + 0x28]
add esp, 8
movq xmm1, qword [esp + 0x18]
mov ecx, dword [esp + 0xac]
movq qword [esp + 0x48], xmm1
movups xmmword [esp + 0x38], xmm0
cmp ecx, 0x10
jb 0x10116794
mov edx, dword [esp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1011678a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d6e
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0xf
mov byte [esp + 0x98], 0
cmp ecx, 0x10
jb 0x101167e8
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101167de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d6e
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], 0
cmp ecx, 0x10
jb 0x10116839
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1011682f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d6e
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0xf
mov byte [esp + 0xb0], 0
cmp ecx, 0x10
jb 0x10116893
mov edx, dword [esp + 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116889
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d6e
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov eax, dword [0x10227c3c]
lea ecx, [esp + 0x38]
cmp dword [esp + 0x4c], 0x10
cmovae ecx, dword [esp + 0x38]
mov eax, dword [eax + 8]
push ecx
push 0
mov edx, dword [eax + 0x1c]
push edx
mov eax, dword [edx]
mov eax, dword [eax + 0x68]
call eax
add esp, 0xc
cmp byte [esp + 0x13], 0
jne 0x10116929
cmp byte [esp + 0x12], 0
je 0x10116929
mov ecx, ebx
mov dword [esp + 0x120], 0
xorps xmm0, xmm0
mov dword [esp + 0x124], 0
movups xmmword [esp + 0x110], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101168f0
sub ecx, edx
push ecx
push ebx
lea ecx, [esp + 0x118]
call fcn.10027bd0
lea eax, [esp + 0x110]
mov edx, 0x101f694c
push eax
lea ecx, [esp + 0x12c]
call fcn.10024920
mov edi, eax
mov ebx, 3
jmp 0x1011695e
xorps xmm0, xmm0
mov dword [esp + 0x108], 0
movups xmmword [esp + 0xf8], xmm0
mov dword [esp + 0x10c], 0xf
lea edi, [esp + 0xf8]
mov byte [esp + 0xf8], 0
mov ebx, 4
mov edx, dword [esp + 0x48]
sub ebp, edx
mov esi, dword [esp + 0x78]
cmp ebp, esi
jb 0x10116d73
cmp dword [esp + 0x4c], 0x10
lea ecx, [esp + 0x38]
push esi
cmovae ecx, dword [esp + 0x3c]
lea eax, [esp + 0x6c]
cmp dword [esp + 0x80], 0x10
cmovae eax, dword [esp + 0x6c]
push eax
push edx
push ecx
push ecx
push dword [esp + 0x44]
lea ecx, [esp + 0x158]
call fcn.10029a80
push edi
lea eax, [esp + 0x144]
push eax
push dword [esp + 0x38]
lea ecx, [esp + 0x8c]
call fcn.10029890
mov ecx, dword [esp + 0x94]
mov eax, ecx
mov edi, dword [esp + 0x90]
sub eax, edi
push 3
push 0x101f6948
cmp eax, 3
jb 0x10116a11
cmp ecx, 0x10
lea esi, [esp + 0x88]
lea eax, [edi + 3]
cmovae esi, dword [esp + 0x88]
mov dword [esp + 0x98], eax
lea eax, [esi + edi]
push eax
call fcn.1019ead0
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0x80]
jmp 0x10116a23
push dword [esp + 0x38]
lea ecx, [esp + 0x8c]
push 3
call fcn.10028320
push dword [esp + 0x14]
mov dword [esp + 0xdc], 0
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe0], 0
xorps xmm0, xmm0
movups xmmword [esp + 0xcc], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xcc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0xdc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.10020690
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [esp + 0x20], xmm0
movq qword [esp + 0x18], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x10
jb 0x10116ae3
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116ace
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d78
push ecx
push edx
call fcn.1019d45c
movups xmm0, xmmword [esp + 0x28]
add esp, 8
movq xmm1, qword [esp + 0x18]
mov ecx, dword [esp + 0xdc]
movq qword [esp + 0x48], xmm1
movups xmmword [esp + 0x38], xmm0
cmp ecx, 0x10
jb 0x10116b2a
mov edx, dword [esp + 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116b20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d78
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0xf
mov byte [esp + 0xc8], 0
cmp ecx, 0x10
jb 0x10116b84
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116b7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d78
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0xf
mov byte [esp + 0x80], 0
cmp ecx, 0x10
jb 0x10116bde
mov edx, dword [esp + 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116bd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d78
push ecx
push edx
call fcn.1019d45c
add esp, 8
test bl, 4
je 0x10116c22
mov ecx, dword [esp + 0x10c]
and ebx, 0xfffffffb
cmp ecx, 0x10
jb 0x10116c22
mov edx, dword [esp + 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116c18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d78
push ecx
push edx
call fcn.1019d45c
add esp, 8
test bl, 2
je 0x10116c81
mov ecx, dword [esp + 0x13c]
cmp ecx, 0x10
jb 0x10116c63
mov edx, dword [esp + 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116c59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d78
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0xf
mov byte [esp + 0x128], 0
test bl, 1
je 0x10116cc2
mov ecx, dword [esp + 0x124]
cmp ecx, 0x10
jb 0x10116cc2
mov edx, dword [esp + 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116cb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d78
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov eax, dword [0x10227c3c]
lea ecx, [esp + 0x38]
cmp dword [esp + 0x4c], 0x10
cmovae ecx, dword [esp + 0x38]
mov eax, dword [eax + 8]
push ecx
push 0
mov edx, dword [eax + 0x1c]
push edx
mov eax, dword [edx]
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [esp + 0x88]
add esp, 0xc
cmp ecx, 0x10
jb 0x10116d1e
mov edx, dword [esp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116d14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d7d
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x10
jb 0x10116d50
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10116d46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10116d7d
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1019d163
add esp, 0x1d4
ret
call fcn.10003500
call fcn.101a26e6
call fcn.10003500
call fcn.101a26e6
call fcn.101a26e6
int3