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

Disassembly:
sub esp, 0x1d4
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x1cc], eax
push ebx
mov dword [esp + 0x24], 0
mov eax, dword [0x10229c78]
push ebp
push esi
push edi
cmp byte [eax + 0x3345], 0
mov dword [esp + 0x14], ecx
je 0x10119870
mov eax, dword [0x1022bebc]
cmp dword [eax], 0
je 0x10119870
mov eax, dword [0x10229c80]
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 0x10119870
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 0x10118e0e
mov ecx, dword [0x10229c74]
mov ecx, dword [ecx + 0xb4]
mov esi, dword [ecx]
test esi, esi
je 0x10118e0e
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.FVLA6]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov al, byte [0x101fa5b0]
mov byte [esp + 0x34], al
mov eax, 0x3521cfb3
mov cl, bl
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 5
jl 0x10118e22
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push 0x101d9e4f
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword fs:[0x2c]
mov edx, dword [0x1022b6ec]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10453bfc]
cmp ecx, dword [edx + 4]
jle 0x10118ec0
push 0x10453bfc
call fcn.101a0794
add esp, 4
cmp dword [0x10453bfc], 0xffffffff
jne 0x10118ec0
mov edx, 0xc60bf9f2
mov ecx, 0x101f9889
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x10453bfc
mov dword [0x10453b58], eax
call fcn.101a074a
add esp, 4
mov ebx, dword [0x10453b58]
lea eax, [esp + 0x158]
push eax
mov ecx, edi
add ebx, edi
call fcn.10193ac0
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]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10118f00
sub ecx, edx
lea eax, [esp + 0x158]
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.10027e90
cmp byte [esp + 0x12], 0
jne 0x10118f80
cmp ebp, 1
je 0x10118fc9
test ebp, ebp
je 0x10118fc9
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 0x10118f71
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.101a1ab0
add esp, 0xc
mov byte [esi + edi + 7], 0
jmp 0x10118f80
push dword [esp + 0x38]
lea ecx, [esp + 0x44]
push 7
call fcn.100285e0
cmp ebp, 2
jne 0x10118fc9
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 0x10118fc1
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.101a1ab0
add esp, 0xc
mov byte [esi + 0xc], 0
jmp 0x10119016
push dword [esp + 0x38]
push 0xc
jmp 0x1011900d
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 0x10119007
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.101a1ab0
add esp, 0xc
mov byte [esi + edi + 0x14], 0
jmp 0x10119016
push dword [esp + 0x38]
push 0x14
lea ecx, [esp + 0x48]
call fcn.100285e0
mov edx, dword [esp + 0x48]
mov ebp, 0x7fffffff
mov esi, dword [esp + 0x78]
mov eax, ebp
sub eax, edx
cmp eax, esi
jb 0x10119889
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.10029d40
mov ecx, dword [esp + 0xf4]
mov eax, ecx
mov edi, dword [esp + 0xf0]
sub eax, edi
push 3
push 0x101f9980
cmp eax, 3
jb 0x101190b7
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.101a1ab0
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0xe0]
jmp 0x101190c9
push dword [esp + 0x38]
lea ecx, [esp + 0xec]
push 3
call fcn.100285e0
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.10020840
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 0x101f997c
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 0x1011919d
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.101a1ab0
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [esp + 0x50]
jmp 0x101191ac
push dword [esp + 0x38]
lea ecx, [esp + 0x5c]
push 3
call fcn.100285e0
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.10020840
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 0x1011926c
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10119257
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011988e
push ecx
push edx
call fcn.101a043c
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 0x101192b3
mov edx, dword [esp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101192a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011988e
push ecx
push edx
call fcn.101a043c
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 0x10119307
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101192fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011988e
push ecx
push edx
call fcn.101a043c
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 0x10119358
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1011934e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011988e
push ecx
push edx
call fcn.101a043c
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 0x101193b2
mov edx, dword [esp + 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101193a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011988e
push ecx
push edx
call fcn.101a043c
add esp, 8
mov eax, dword [0x10229c74]
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 0x10119449
cmp byte [esp + 0x12], 0
je 0x10119449
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 dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10119410
sub ecx, edx
push ecx
push ebx
lea ecx, [esp + 0x118]
call fcn.10027e90
lea eax, [esp + 0x110]
mov edx, 0x101f9980
push eax
lea ecx, [esp + 0x12c]
call fcn.10024be0
mov edi, eax
mov ebx, 3
jmp 0x1011947e
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 0x10119893
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.10029d40
push edi
lea eax, [esp + 0x144]
push eax
push dword [esp + 0x38]
lea ecx, [esp + 0x8c]
call fcn.10029b50
mov ecx, dword [esp + 0x94]
mov eax, ecx
mov edi, dword [esp + 0x90]
sub eax, edi
push 3
push 0x101f997c
cmp eax, 3
jb 0x10119531
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.101a1ab0
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0x80]
jmp 0x10119543
push dword [esp + 0x38]
lea ecx, [esp + 0x8c]
push 3
call fcn.100285e0
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.10020840
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 0x10119603
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101195ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10119898
push ecx
push edx
call fcn.101a043c
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 0x1011964a
mov edx, dword [esp + 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10119640
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10119898
push ecx
push edx
call fcn.101a043c
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 0x101196a4
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1011969a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10119898
push ecx
push edx
call fcn.101a043c
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 0x101196fe
mov edx, dword [esp + 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101196f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10119898
push ecx
push edx
call fcn.101a043c
add esp, 8
test bl, 4
je 0x10119742
mov ecx, dword [esp + 0x10c]
and ebx, 0xfffffffb
cmp ecx, 0x10
jb 0x10119742
mov edx, dword [esp + 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10119738
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10119898
push ecx
push edx
call fcn.101a043c
add esp, 8
test bl, 2
je 0x101197a1
mov ecx, dword [esp + 0x13c]
cmp ecx, 0x10
jb 0x10119783
mov edx, dword [esp + 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10119779
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10119898
push ecx
push edx
call fcn.101a043c
add esp, 8
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0xf
mov byte [esp + 0x128], 0
test bl, 1
je 0x101197e2
mov ecx, dword [esp + 0x124]
cmp ecx, 0x10
jb 0x101197e2
mov edx, dword [esp + 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101197d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10119898
push ecx
push edx
call fcn.101a043c
add esp, 8
mov eax, dword [0x10229c74]
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 0x1011983e
mov edx, dword [esp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10119834
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011989d
push ecx
push edx
call fcn.101a043c
add esp, 8
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x10
jb 0x10119870
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10119866
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011989d
push ecx
push edx
call fcn.101a043c
add esp, 8
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a0143
add esp, 0x1d4
ret
call fcn.100035b0
call fcn.101a56c6
call fcn.100035b0
call fcn.101a56c6
call fcn.101a56c6
int3