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

Disassembly:
sub esp, 0x1d4
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x1cc], eax
push ebx
mov dword [esp + 0x24], 0
mov eax, dword [0x10240c80]
push ebp
push esi
push edi
cmp byte [eax + 0x338d], 0
mov dword [esp + 0x14], ecx
je 0x1010eca2
mov eax, dword [0x10242574]
cmp dword [eax], 0
je 0x1010eca2
mov eax, dword [0x10240c88]
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 0x1010eca2
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 0x1010e24e
mov ecx, dword [0x10240c7c]
mov ecx, dword [ecx + 0xb0]
mov esi, dword [ecx]
test esi, esi
je 0x1010e24e
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.EWK_5]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov al, byte [0x1020c9e0]
mov byte [esp + 0x34], al
mov eax, 0x51eb851f
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x31
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 5
jl 0x1010e262
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push 0x101ec4ee
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword fs:[0x2c]
mov edx, dword [0x10241d9c]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10469400]
cmp ecx, dword [edx + 4]
jle 0x1010e2f8
push 0x10469400
call fcn.101b643d
add esp, 4
cmp dword [0x10469400], 0xffffffff
jne 0x1010e2f8
mov edx, 0xc60bf9f2
mov ecx, 0x1020bf41
call fcn.1007d6d0
mov ecx, eax
call fcn.100ce730
push 0x10469400
mov dword [0x1046935c], eax
call fcn.101b63ec
add esp, 4
mov ebx, dword [0x1046935c]
lea eax, [esp + 0x158]
push eax
mov ecx, edi
add ebx, edi
call fcn.101a9be0
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 0x1010e331
sub ecx, edx
lea eax, [esp + 0x158]
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.10027e30
cmp byte [esp + 0x12], 0
jne 0x1010e3b1
cmp ebp, 1
je 0x1010e3fc
test ebp, ebp
je 0x1010e3fc
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 0x1010e3a2
cmp ecx, 0xf
lea esi, [esp + 0x40]
lea eax, [edi + 7]
cmova esi, dword [esp + 0x40]
mov dword [esp + 0x50], eax
lea eax, [esi + edi]
push eax
call fcn.101b76d0
add esp, 0xc
mov byte [esi + edi + 7], 0
jmp 0x1010e3b1
push dword [esp + 0x38]
lea ecx, [esp + 0x44]
push 7
call fcn.10028a40
cmp ebp, 2
jne 0x1010e3fc
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov edi, dword [esp + 0x48]
sub eax, edi
push 0xc
push str._Terrorist_
cmp eax, 0xc
jb 0x1010e3f4
cmp ecx, 0xf
lea esi, [esp + 0x40]
lea eax, [edi + 0xc]
cmova esi, dword [esp + 0x40]
mov dword [esp + 0x50], eax
lea eax, [esi + edi]
push eax
call fcn.101b76d0
add esp, 0xc
mov byte [esi + edi + 0xc], 0
jmp 0x1010e449
push dword [esp + 0x38]
push 0xc
jmp 0x1010e440
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 0x1010e43a
cmp ecx, 0xf
lea esi, [esp + 0x40]
lea eax, [edi + 0x14]
cmova esi, dword [esp + 0x40]
mov dword [esp + 0x50], eax
lea eax, [esi + edi]
push eax
call fcn.101b76d0
add esp, 0xc
mov byte [esi + edi + 0x14], 0
jmp 0x1010e449
push dword [esp + 0x38]
push 0x14
lea ecx, [esp + 0x48]
call fcn.10028a40
mov edx, dword [esp + 0x48]
mov ebp, 0x7fffffff
mov esi, dword [esp + 0x78]
mov eax, ebp
sub eax, edx
cmp eax, esi
jb 0x1010ecbb
cmp dword [esp + 0x4c], 0xf
lea ecx, [esp + 0x38]
push esi
cmova ecx, dword [esp + 0x3c]
lea eax, [esp + 0x6c]
cmp dword [esp + 0x80], 0xf
cmova eax, dword [esp + 0x6c]
push eax
push edx
push ecx
push ecx
push dword [esp + 0x44]
lea ecx, [esp + 0xf8]
call fcn.1002a010
mov ecx, dword [esp + 0xf4]
mov eax, ecx
mov edi, dword [esp + 0xf0]
sub eax, edi
push 3
push 0x1020c048
cmp eax, 3
jb 0x1010e4ea
cmp ecx, 0xf
lea esi, [esp + 0xe8]
lea eax, [edi + 3]
cmova esi, dword [esp + 0xe8]
mov dword [esp + 0xf8], eax
lea eax, [esi + edi]
push eax
call fcn.101b76d0
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0xe0]
jmp 0x1010e4fc
push dword [esp + 0x38]
lea ecx, [esp + 0xec]
push 3
call fcn.10028a40
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.10020ce0
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 0x1020c044
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 ecx, dword [esp + 0x6c]
mov eax, ecx
mov edi, dword [esp + 0x68]
sub eax, edi
cmp eax, 3
jb 0x1010e5d2
cmp ecx, 0xf
lea esi, [esp + 0x58]
lea eax, [edi + 3]
cmova esi, dword [esp + 0x58]
mov dword [esp + 0x68], eax
lea eax, [esi + edi]
push eax
call fcn.101b76d0
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0x50]
jmp 0x1010e5e1
push dword [esp + 0x38]
lea ecx, [esp + 0x5c]
push 3
call fcn.10028a40
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.10020ce0
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, 0xf
jbe 0x1010e6a1
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e68c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecc0
push ecx
push edx
call fcn.101b61a3
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, 0xf
jbe 0x1010e6e8
mov edx, dword [esp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e6de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecc0
push ecx
push edx
call fcn.101b61a3
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, 0xf
jbe 0x1010e73c
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e732
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecc0
push ecx
push edx
call fcn.101b61a3
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, 0xf
jbe 0x1010e78d
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e783
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecc0
push ecx
push edx
call fcn.101b61a3
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, 0xf
jbe 0x1010e7e7
mov edx, dword [esp + 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e7dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecc0
push ecx
push edx
call fcn.101b61a3
add esp, 8
mov eax, dword [0x10240c7c]
lea ecx, [esp + 0x38]
cmp dword [esp + 0x4c], 0xf
cmova ecx, dword [esp + 0x38]
mov eax, dword [eax + 4]
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 0x1010e87b
cmp byte [esp + 0x12], 0
je 0x1010e87b
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]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010e842
sub ecx, edx
push ecx
push ebx
lea ecx, [esp + 0x118]
call fcn.10027e30
lea eax, [esp + 0x110]
mov edx, 0x1020c048
push eax
lea ecx, [esp + 0x12c]
call fcn.10024b30
mov edi, eax
mov ebx, 3
jmp 0x1010e8b0
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 0x1010ecc5
cmp dword [esp + 0x4c], 0xf
lea ecx, [esp + 0x38]
push esi
cmova ecx, dword [esp + 0x3c]
lea eax, [esp + 0x6c]
cmp dword [esp + 0x80], 0xf
cmova eax, dword [esp + 0x6c]
push eax
push edx
push ecx
push ecx
push dword [esp + 0x44]
lea ecx, [esp + 0x158]
call fcn.1002a010
push edi
lea eax, [esp + 0x144]
push eax
push dword [esp + 0x38]
lea ecx, [esp + 0x8c]
call fcn.10029e20
mov ecx, dword [esp + 0x94]
mov eax, ecx
mov edi, dword [esp + 0x90]
sub eax, edi
push 3
push 0x1020c044
cmp eax, 3
jb 0x1010e963
cmp ecx, 0xf
lea esi, [esp + 0x88]
lea eax, [edi + 3]
cmova esi, dword [esp + 0x88]
mov dword [esp + 0x98], eax
lea eax, [esi + edi]
push eax
call fcn.101b76d0
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0x80]
jmp 0x1010e975
push dword [esp + 0x38]
lea ecx, [esp + 0x8c]
push 3
call fcn.10028a40
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.10020ce0
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, 0xf
jbe 0x1010ea35
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ea20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecca
push ecx
push edx
call fcn.101b61a3
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, 0xf
jbe 0x1010ea7c
mov edx, dword [esp + 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ea72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecca
push ecx
push edx
call fcn.101b61a3
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, 0xf
jbe 0x1010ead6
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010eacc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecca
push ecx
push edx
call fcn.101b61a3
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, 0xf
jbe 0x1010eb30
mov edx, dword [esp + 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010eb26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecca
push ecx
push edx
call fcn.101b61a3
add esp, 8
test bl, 4
je 0x1010eb74
mov ecx, dword [esp + 0x10c]
and ebx, 0xfffffffb
cmp ecx, 0xf
jbe 0x1010eb74
mov edx, dword [esp + 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010eb6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecca
push ecx
push edx
call fcn.101b61a3
add esp, 8
test bl, 2
je 0x1010ebd3
mov ecx, dword [esp + 0x13c]
cmp ecx, 0xf
jbe 0x1010ebb5
mov edx, dword [esp + 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ebab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecca
push ecx
push edx
call fcn.101b61a3
add esp, 8
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0xf
mov byte [esp + 0x128], 0
test bl, 1
je 0x1010ec14
mov ecx, dword [esp + 0x124]
cmp ecx, 0xf
jbe 0x1010ec14
mov edx, dword [esp + 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ec0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010ecca
push ecx
push edx
call fcn.101b61a3
add esp, 8
mov eax, dword [0x10240c7c]
lea ecx, [esp + 0x38]
cmp dword [esp + 0x4c], 0xf
cmova ecx, dword [esp + 0x38]
mov eax, dword [eax + 4]
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, 0xf
jbe 0x1010ec70
mov edx, dword [esp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ec66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010eccf
push ecx
push edx
call fcn.101b61a3
add esp, 8
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xf
jbe 0x1010eca2
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ec98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010eccf
push ecx
push edx
call fcn.101b61a3
add esp, 8
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b5eaa
add esp, 0x1d4
ret
call fcn.100034c0
call fcn.101bb2d6
call fcn.100034c0
call fcn.101bb2d6
call fcn.101bb2d6
int3