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

Disassembly:
sub esp, 0x1d4
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x1cc], eax
push ebx
mov dword [esp + 0x24], 0
mov eax, dword [0x1023fc80]
push ebp
push esi
push edi
cmp byte [eax + 0x337d], 0
mov dword [esp + 0x14], ecx
je 0x1010e182
mov eax, dword [0x10241574]
cmp dword [eax], 0
je 0x1010e182
mov eax, dword [0x1023fc88]
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 0x1010e182
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 0x1010d72e
mov ecx, dword [0x1023fc7c]
mov ecx, dword [ecx + 0xb0]
mov esi, dword [ecx]
test esi, esi
je 0x1010d72e
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 [0x1020b964]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov al, byte [0x1020b968]
mov byte [esp + 0x34], al
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 5
jl 0x1010d742
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push 0x101eb4ee
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword fs:[0x2c]
mov edx, dword [0x10240d9c]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x1046850c]
cmp ecx, dword [edx + 4]
jle 0x1010d7d8
push 0x1046850c
call fcn.101b57fd
add esp, 4
cmp dword [0x1046850c], 0xffffffff
jne 0x1010d7d8
mov edx, 0xc60bf9f2
mov ecx, 0x1020ae09
call fcn.1007d240
mov ecx, eax
call fcn.100cef40
push 0x1046850c
mov dword [0x10468464], eax
call fcn.101b57ac
add esp, 4
mov ebx, dword [0x10468464]
lea eax, [esp + 0x158]
push eax
mov ecx, edi
add ebx, edi
call fcn.101a8fb0
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 0x1010d811
sub ecx, edx
lea eax, [esp + 0x158]
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.10027870
cmp byte [esp + 0x12], 0
jne 0x1010d891
cmp ebp, 1
je 0x1010d8dc
test ebp, ebp
je 0x1010d8dc
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 0x1010d882
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.101b6a90
add esp, 0xc
mov byte [esi + edi + 7], 0
jmp 0x1010d891
push dword [esp + 0x38]
lea ecx, [esp + 0x44]
push 7
call fcn.10028480
cmp ebp, 2
jne 0x1010d8dc
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 0x1010d8d4
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.101b6a90
add esp, 0xc
mov byte [esi + edi + 0xc], 0
jmp 0x1010d929
push dword [esp + 0x38]
push 0xc
jmp 0x1010d920
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 0x1010d91a
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.101b6a90
add esp, 0xc
mov byte [esi + edi + 0x14], 0
jmp 0x1010d929
push dword [esp + 0x38]
push 0x14
lea ecx, [esp + 0x48]
call fcn.10028480
mov edx, dword [esp + 0x48]
mov ebp, 0x7fffffff
mov esi, dword [esp + 0x78]
mov eax, ebp
sub eax, edx
cmp eax, esi
jb 0x1010e19b
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.10029a50
mov ecx, dword [esp + 0xf4]
mov eax, ecx
mov edi, dword [esp + 0xf0]
sub eax, edi
push 3
push 0x1020af10
cmp eax, 3
jb 0x1010d9ca
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.101b6a90
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0xe0]
jmp 0x1010d9dc
push dword [esp + 0x38]
lea ecx, [esp + 0xec]
push 3
call fcn.10028480
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.10020790
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 0x1020af0c
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 0x1010dab2
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.101b6a90
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0x50]
jmp 0x1010dac1
push dword [esp + 0x38]
lea ecx, [esp + 0x5c]
push 3
call fcn.10028480
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.10020790
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 0x1010db81
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010db6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1a0
push ecx
push edx
call fcn.101b5563
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 0x1010dbc8
mov edx, dword [esp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010dbbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1a0
push ecx
push edx
call fcn.101b5563
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 0x1010dc1c
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010dc12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1a0
push ecx
push edx
call fcn.101b5563
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 0x1010dc6d
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010dc63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1a0
push ecx
push edx
call fcn.101b5563
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 0x1010dcc7
mov edx, dword [esp + 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010dcbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1a0
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc7c]
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 0x1010dd5b
cmp byte [esp + 0x12], 0
je 0x1010dd5b
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 0x1010dd22
sub ecx, edx
push ecx
push ebx
lea ecx, [esp + 0x118]
call fcn.10027870
lea eax, [esp + 0x110]
mov edx, 0x1020af10
push eax
lea ecx, [esp + 0x12c]
call fcn.100245f0
mov edi, eax
mov ebx, 3
jmp 0x1010dd90
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 0x1010e1a5
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.10029a50
push edi
lea eax, [esp + 0x144]
push eax
push dword [esp + 0x38]
lea ecx, [esp + 0x8c]
call fcn.10029860
mov ecx, dword [esp + 0x94]
mov eax, ecx
mov edi, dword [esp + 0x90]
sub eax, edi
push 3
push 0x1020af0c
cmp eax, 3
jb 0x1010de43
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.101b6a90
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0x80]
jmp 0x1010de55
push dword [esp + 0x38]
lea ecx, [esp + 0x8c]
push 3
call fcn.10028480
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.10020790
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 0x1010df15
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010df00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1aa
push ecx
push edx
call fcn.101b5563
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 0x1010df5c
mov edx, dword [esp + 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010df52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1aa
push ecx
push edx
call fcn.101b5563
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 0x1010dfb6
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010dfac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1aa
push ecx
push edx
call fcn.101b5563
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 0x1010e010
mov edx, dword [esp + 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e006
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1aa
push ecx
push edx
call fcn.101b5563
add esp, 8
test bl, 4
je 0x1010e054
mov ecx, dword [esp + 0x10c]
and ebx, 0xfffffffb
cmp ecx, 0xf
jbe 0x1010e054
mov edx, dword [esp + 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e04a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1aa
push ecx
push edx
call fcn.101b5563
add esp, 8
test bl, 2
je 0x1010e0b3
mov ecx, dword [esp + 0x13c]
cmp ecx, 0xf
jbe 0x1010e095
mov edx, dword [esp + 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e08b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1aa
push ecx
push edx
call fcn.101b5563
add esp, 8
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0xf
mov byte [esp + 0x128], 0
test bl, 1
je 0x1010e0f4
mov ecx, dword [esp + 0x124]
cmp ecx, 0xf
jbe 0x1010e0f4
mov edx, dword [esp + 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e0ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1aa
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc7c]
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 0x1010e150
mov edx, dword [esp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e146
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1af
push ecx
push edx
call fcn.101b5563
add esp, 8
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xf
jbe 0x1010e182
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010e178
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010e1af
push ecx
push edx
call fcn.101b5563
add esp, 8
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b526a
add esp, 0x1d4
ret
call fcn.100034a0
call fcn.101ba696
call fcn.100034a0
call fcn.101ba696
call fcn.101ba696
int3