Function at 0x100d5860
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc4
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [0x103d8bec]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x1bdc]
cmp byte [ecx + 0x8f], 0
jne 0x100d58a3
mov ecx, dword [ecx + 0x1a4]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.101629a0
movss xmm0, dword [0x101eb58c]
call fcn.10150f90
xor ecx, ecx
call fcn.10150b20
mov ecx, dword [0x103d8bec]
mov edx, 0x103d8a68
push 0
push 0xffffffffffffffff
push 0xa
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov ecx, 0x101c448e
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [eax + 0x58]
movss xmm0, dword [eax + 0xe4]
addss xmm1, dword [0x101eb498]
movss dword [eax + 0xcc], xmm1
maxss xmm0, xmm1
movss dword [eax + 0xe4], xmm0
lea eax, [esp + 0x24]
push eax
push 0x10163aa0
mov dword [esp + 0x2c], 0x101dd1cc
mov dword [esp + 0x30], 0x101dd1c4
mov dword [esp + 0x34], str.Local_Player
mov dword [esp + 0x38], str.Weapons
mov dword [esp + 0x3c], 0x101dc5a8
mov dword [esp + 0x40], str.Planted_C4
mov dword [esp + 0x44], str.Chickens
mov dword [esp + 0x48], str.Defuse_Kits
mov dword [esp + 0x4c], str.Projectiles
mov dword [esp + 0x50], str.Hostages
call fcn.10163b20
mov eax, dword [0x103d8bec]
xor edx, edx
mov dword [esp + 0x14], edx
xorps xmm0, xmm0
mov eax, dword [eax + 0x1bdc]
dec dword [eax + 0xc0]
mov esi, dword [0x103d8a68]
mov edi, dword [0x10215510]
cmp esi, 1
jg 0x100d5c83
movss xmm1, dword [0x101eb6e4]
call fcn.10150ed0
mov ecx, 1
call fcn.10150b20
mov eax, dword [0x101e14a8]
movups xmm0, xmmword [str.q_3bEZU__s_S5_DE]
mov dword [esp + 0x74], eax
mov ax, word [0x101e14ac]
mov word [esp + 0x78], ax
movups xmmword [esp + 0x64], xmm0
test ah, ah
je 0x100d5b38
xor ebx, ebx
cmp edi, 2
jl 0x100d5b10
movaps xmm0, xmmword [str.0000000000000000]
lea edx, [esp + 0x68]
movaps xmm4, xmmword [0x101eb860]
movaps xmm3, xmmword [0x101ebc20]
movaps xmm5, xmmword [0x101eb8c0]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x64]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x64], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + edx]
xorps xmm1, xmm0
movd dword [ebx + edx], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x100d5a10
cmp ebx, 0x16
jge 0x100d5b38
nop word [eax + eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x64], cl
inc ebx
cmp ebx, 0x16
jl 0x100d5b10
xor esi, esi
lea edx, [esp + 0x64]
cmp byte [esp + 0x64], 0
je 0x100d5b61
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d5b50
sub ecx, edi
inc edx
add edx, ecx
inc esi
cmp byte [edx], al
jne 0x100d5b45
push 0
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x70]
mov edx, 0x103d8a80
push eax
push 0x10163ac0
mov ecx, 0x101c448e
call fcn.10163b20
mov eax, dword [0x103d8bec]
xorps xmm0, xmm0
movups xmmword [esp + 0x9c], xmm0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [eax + 0x1bdc]
dec dword [eax + 0xc0]
mov eax, dword [0x103d8a68]
mov edi, dword [0x10214408]
mov esi, dword [esp + eax*4 + 0x18]
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100d5bc5
sub edx, ecx
lea ecx, [esp + 0x9c]
push edx
push esi
call fcn.10026930
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [edi + 0xe5c]
call fcn.10105fb0
mov ecx, dword [esp + 0xb0]
mov esi, dword [eax]
add esi, 0x20
cmp ecx, 0xf
jbe 0x100d5c35
mov edx, dword [esp + 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d5c2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d63b2
push ecx
push edx
call fcn.1018e573
add esp, 8
mov eax, dword [0x103d8a80]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0xf
mov byte [esp + 0x9c], 0
sub eax, 0
je 0x100d5c7a
sub eax, 1
je 0x100d5c77
sub eax, 1
jne 0x100d5d3c
add esi, 0x38
mov dword [esp + 0x14], esi
jmp 0x100d5d3e
add esi, 0x1c
mov dword [esp + 0x14], esi
jmp 0x100d5d3e
mov esi, dword [esp + esi*4 + 0x18]
mov edi, dword [0x10214408]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], edx
mov edx, esi
movups xmmword [esp + 0xb4], xmm0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100d5ca8
sub edx, ecx
lea ecx, [esp + 0xb4]
push edx
push esi
call fcn.10026930
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [edi + 0xe7c]
call fcn.10096db0
mov ecx, dword [esp + 0xc8]
mov esi, dword [eax]
add esi, 0x20
mov dword [esp + 0x14], esi
cmp ecx, 0xf
jbe 0x100d5d1c
mov edx, dword [esp + 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d5d12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d63b7
push ecx
push edx
call fcn.1018e573
add esp, 8
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0xf
mov byte [esp + 0xb4], 0
jmp 0x100d5d3e
xor esi, esi
movss xmm1, dword [0x101eb6e4]
xorps xmm0, xmm0
call fcn.10150ed0
cmp byte [0x101e1663], 0
mov ecx, dword [str.u_SQXPR7P_V]
mov edx, dword [0x101e1660]
mov edi, dword [0x10215510]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
je 0x100d5e98
xor ebx, ebx
cmp edi, 2
jl 0x100d5e70
movaps xmm2, xmmword [0x101eb860]
movaps xmm4, xmmword [0x101ebc20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [str.0000000000000000]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb8c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8a0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x50], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb8c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edx
xorps xmm1, xmm0
movd dword [esp + 0x54], xmm1
jmp 0x100d5e98
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 8
jl 0x100d5e70
lea edx, [esi + 0x15]
lea ecx, [esp + 0x50]
call fcn.10161fd0
mov ecx, dword [0x103d8bec]
mov eax, dword [ecx + 0x1bdc]
cmp byte [eax + 0x8f], 0
jne 0x100d5ed1
mov ecx, dword [eax + 0x1a4]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.101629a0
mov ecx, dword [0x103d8bec]
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov eax, dword [eax + 0x198]
test eax, eax
je 0x100d5eff
cmp dword [eax + 0x10], 2
jne 0x100d5efa
cmp dword [eax + 4], 1
je 0x100d5f0d
call fcn.100c0750
push 1
mov edx, 2
xor ecx, ecx
call fcn.100bfe80
mov eax, dword [0x101e214c]
mov ecx, 1
movq xmm0, qword [0x101e2144]
mov dword [esp + 0x58], eax
mov al, byte [0x101e2150]
movq qword [esp + 0x50], xmm0
movss xmm0, dword [0x101eb5b0]
mov byte [esp + 0x5c], al
call fcn.100bfab0
xor ebx, ebx
cmp edi, 2
jl 0x100d6041
movaps xmm2, xmmword [0x101eb860]
mov ebx, 8
movaps xmm4, xmmword [0x101ebc20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [str.0000000000000000]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb8c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8a0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101e2144]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x50], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb8c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x54]
xorps xmm1, xmm0
movd dword [esp + 0x54], xmm1
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 0xd
jl 0x100d6041
lea edx, [esi + 0x16]
lea ecx, [esp + 0x50]
call fcn.10161fd0
push 0
push 0
push 0
push 0
lea eax, [esi + 0x10]
mov edx, esi
push eax
lea eax, [esi + 0x14]
mov ecx, str.Color
push eax
lea eax, [esi + 0xc]
push eax
call fcn.100b4af0
call fcn.100c0470
mov eax, dword [0x103d8bec]
xor ebx, ebx
movups xmm0, xmmword [str.tTTRAYB7jPW_bX__B]
or dword [eax + 0x1cc4], 1
mov dword [eax + 0x1cc8], 0x42c80000
mov eax, dword [0x101e24d8]
mov dword [esp + 0x94], eax
mov ax, word [0x101e24dc]
mov word [esp + 0x98], ax
mov al, byte [0x101e24de]
mov byte [esp + 0x9a], al
movups xmmword [esp + 0x7c], xmm0
movq xmm0, qword [0x101e24d0]
movq qword [esp + 0x8c], xmm0
cmp edi, 2
jl 0x100d6230
movaps xmm0, xmmword [str.0000000000000000]
lea edx, [esp + 0x80]
movaps xmm4, xmmword [0x101eb860]
movaps xmm3, xmmword [0x101ebc20]
movaps xmm5, xmmword [0x101eb8c0]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x7c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x7c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + ebx]
xorps xmm1, xmm0
movd dword [edx + ebx], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x100d6130
cmp ebx, 0x1f
jge 0x100d6258
nop word [eax + eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x7c], cl
inc ebx
cmp ebx, 0x1f
jl 0x100d6230
mov eax, dword [0x101e2198]
mov dword [esp + 0x50], eax
mov ax, word [0x101e219c]
mov word [esp + 0x54], ax
test ah, ah
je 0x100d6293
xor ebx, ebx
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 6
jl 0x100d6272
xorps xmm0, xmm0
mov dword [esp + 0x74], 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], 0
movups xmmword [esp + 0x64], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d62b2
sub ecx, edx
lea eax, [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.10026930
cmp dword [esp + 0x78], 0xf
lea ebx, [esp + 0x64]
lea edx, [esp + 0x7c]
cmova ebx, dword [esp + 0x64]
xor esi, esi
cmp byte [esp + 0x7c], 0
je 0x100d6301
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d62f0
sub ecx, edi
inc edx
add edx, ecx
inc esi
cmp byte [edx], al
jne 0x100d62e5
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x7c]
push 1
push 0xffffffffffffffff
push esi
push eax
push 0x10163ac0
add edx, 0x18
mov ecx, ebx
call fcn.10163b20
mov ecx, dword [esp + 0x78]
cmp ecx, 0xf
jbe 0x100d6354
mov edx, dword [esp + 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d634a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d63bc
push ecx
push edx
call fcn.1018e573
add esp, 8
mov ecx, dword [0x103d8bec]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0xf
mov byte [esp + 0x64], 0
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov eax, dword [eax + 0x198]
test eax, eax
je 0x100d639d
cmp dword [eax + 0x10], 1
jne 0x100d6398
cmp dword [eax + 4], 0
je 0x100d639d
call fcn.100c0750
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018e27a
mov esp, ebp
pop ebp
ret
call fcn.101936a6
call fcn.101936a6
call fcn.101936a6
int3