Function at 0x100d5960
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 [0x101f80c0]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [0x103d7bec]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x1bdc]
cmp byte [ecx + 0x8f], 0
jne 0x100d59a3
mov ecx, dword [ecx + 0x1a4]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.10162670
movss xmm0, dword [0x101ea534]
call fcn.10151640
xor ecx, ecx
call fcn.101511d0
mov ecx, dword [0x103d7bec]
mov edx, 0x103d7a68
push 0
push 0xffffffffffffffff
push 0xa
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov ecx, 0x101c346e
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [eax + 0x58]
movss xmm0, dword [eax + 0xe4]
addss xmm1, dword [0x101ea440]
movss dword [eax + 0xcc], xmm1
maxss xmm0, xmm1
movss dword [eax + 0xe4], xmm0
lea eax, [esp + 0x24]
push eax
push 0x10163770
mov dword [esp + 0x2c], 0x101dc19c
mov dword [esp + 0x30], 0x101dc194
mov dword [esp + 0x34], str.Local_Player
mov dword [esp + 0x38], str.Weapons
mov dword [esp + 0x3c], 0x101db588
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.101637f0
mov eax, dword [0x103d7bec]
xor edx, edx
mov dword [esp + 0x14], edx
xorps xmm0, xmm0
mov eax, dword [eax + 0x1bdc]
dec dword [eax + 0xc0]
mov esi, dword [0x103d7a68]
mov edi, dword [0x10214510]
cmp esi, 1
jg 0x100d5d83
movss xmm1, dword [0x101ea68c]
call fcn.10151580
mov ecx, 1
call fcn.101511d0
mov eax, dword [0x101e1484]
movups xmm0, xmmword [str.uYZ7nPIRQ__]
mov dword [esp + 0x74], eax
mov ax, word [0x101e1488]
mov word [esp + 0x78], ax
movups xmmword [esp + 0x64], xmm0
test ah, ah
je 0x100d5c38
xor ebx, ebx
cmp edi, 2
jl 0x100d5c10
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop dword [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 [0x101ea930]
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 [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x68]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x68], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x100d5b10
cmp ebx, 0x16
jge 0x100d5c38
nop dword [eax]
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x64], cl
inc ebx
cmp ebx, 0x16
jl 0x100d5c10
xor esi, esi
lea edx, [esp + 0x64]
cmp byte [esp + 0x64], 0
je 0x100d5c61
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d5c50
sub ecx, edi
inc edx
add edx, ecx
inc esi
cmp byte [edx], al
jne 0x100d5c45
push 0
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x70]
mov edx, 0x103d7a80
push eax
push 0x10163790
mov ecx, 0x101c346e
call fcn.101637f0
mov eax, dword [0x103d7bec]
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 [0x103d7a68]
mov edi, dword [0x10213408]
mov esi, dword [esp + eax*4 + 0x18]
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100d5cc5
sub edx, ecx
lea ecx, [esp + 0x9c]
push edx
push esi
call fcn.10026920
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [edi + 0xe5c]
call fcn.10106a70
mov ecx, dword [esp + 0xb0]
mov esi, dword [eax]
add esi, 0x20
cmp ecx, 0xf
jbe 0x100d5d35
mov edx, dword [esp + 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d5d2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d64aa
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov eax, dword [0x103d7a80]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0xf
mov byte [esp + 0x9c], 0
sub eax, 0
je 0x100d5d7a
sub eax, 1
je 0x100d5d77
sub eax, 1
jne 0x100d5e3c
add esi, 0x38
mov dword [esp + 0x14], esi
jmp 0x100d5e3e
add esi, 0x1c
mov dword [esp + 0x14], esi
jmp 0x100d5e3e
mov esi, dword [esp + esi*4 + 0x18]
mov edi, dword [0x10213408]
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 0x100d5da8
sub edx, ecx
lea ecx, [esp + 0xb4]
push edx
push esi
call fcn.10026920
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [edi + 0xe7c]
call fcn.10096f80
mov ecx, dword [esp + 0xc8]
mov esi, dword [eax]
add esi, 0x20
mov dword [esp + 0x14], esi
cmp ecx, 0xf
jbe 0x100d5e1c
mov edx, dword [esp + 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d5e12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d64af
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0xf
mov byte [esp + 0xb4], 0
jmp 0x100d5e3e
xor esi, esi
movss xmm1, dword [0x101ea68c]
xorps xmm0, xmm0
call fcn.10151580
cmp byte [0x101e0c13], 0
mov ecx, dword [str.q_WUT_v_Z__M]
mov edx, dword [0x101e0c10]
mov edi, dword [0x10214510]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
je 0x100d5f98
xor ebx, ebx
cmp edi, 2
jl 0x100d5f70
movaps xmm2, xmmword [0x101ea800]
movaps xmm4, xmmword [0x101eabd0]
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.44444444444444447777777777777777]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
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 [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edx
xorps xmm1, xmm0
movd dword [esp + 0x54], xmm1
jmp 0x100d5f98
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 8
jl 0x100d5f70
lea edx, [esi + 0x15]
lea ecx, [esp + 0x50]
call fcn.10161d10
mov ecx, dword [0x103d7bec]
mov eax, dword [ecx + 0x1bdc]
cmp byte [eax + 0x8f], 0
jne 0x100d5fd1
mov ecx, dword [eax + 0x1a4]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.10162670
mov ecx, dword [0x103d7bec]
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov eax, dword [eax + 0x198]
test eax, eax
je 0x100d5fff
cmp dword [eax + 0x10], 2
jne 0x100d5ffa
cmp dword [eax + 4], 1
je 0x100d600d
call fcn.100c04b0
push 1
mov edx, 2
xor ecx, ecx
call fcn.100bfbd0
mov eax, dword [0x101e159c]
mov ecx, 1
movq xmm0, qword [str.PW_LQ]
mov dword [esp + 0x58], eax
mov al, byte [0x101e15a0]
movq qword [esp + 0x50], xmm0
movss xmm0, dword [0x101ea558]
mov byte [esp + 0x5c], al
call fcn.100bf800
xor ebx, ebx
cmp edi, 2
jl 0x100d6141
movaps xmm2, xmmword [0x101ea800]
mov ebx, 8
movaps xmm4, xmmword [0x101eabd0]
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.44444444444444447777777777777777]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.PW_LQ]
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 [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x54]
xorps xmm1, xmm0
movd dword [esp + 0x54], xmm1
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 0xd
jl 0x100d6141
lea edx, [esi + 0x16]
lea ecx, [esp + 0x50]
call fcn.10161d10
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.100b4830
call fcn.100c01d0
mov eax, dword [0x103d7bec]
xor ebx, ebx
movups xmm0, xmmword [str.pPPVMUN_nTS_f_A_a_F]
or dword [eax + 0x1cc4], 1
mov dword [eax + 0x1cc8], 0x42c80000
mov eax, dword [0x101e02fc]
mov dword [esp + 0x94], eax
mov ax, word [0x101e0300]
mov word [esp + 0x98], ax
mov al, byte [0x101e0302]
mov byte [esp + 0x9a], al
movups xmmword [esp + 0x7c], xmm0
movq xmm0, qword [0x101e02f4]
movq qword [esp + 0x8c], xmm0
cmp edi, 2
jl 0x100d6325
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
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 [0x101ea930]
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 [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x80]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x80], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x100d6223
cmp ebx, 0x1f
jge 0x100d634d
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x7c], cl
inc ebx
cmp ebx, 0x1f
jl 0x100d6325
mov eax, dword [str.gAO__9]
mov dword [esp + 0x50], eax
mov ax, word [0x101e00bc]
mov word [esp + 0x54], ax
test ah, ah
je 0x100d6390
xor ebx, ebx
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, 0x34
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 6
jl 0x100d6367
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]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d63b0
sub ecx, edx
lea eax, [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.10026920
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 0x100d63f9
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d63e8
sub ecx, edi
inc edx
add edx, ecx
inc esi
cmp byte [edx], al
jne 0x100d63e3
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x7c]
push 1
push 0xffffffffffffffff
push esi
push eax
push 0x10163790
add edx, 0x18
mov ecx, ebx
call fcn.101637f0
mov ecx, dword [esp + 0x78]
cmp ecx, 0xf
jbe 0x100d644c
mov edx, dword [esp + 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d6442
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d64b4
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [0x103d7bec]
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 0x100d6495
cmp dword [eax + 0x10], 1
jne 0x100d6490
cmp dword [eax + 4], 0
je 0x100d6495
call fcn.100c04b0
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret
call fcn.10192ed6
call fcn.10192ed6
call fcn.10192ed6
int3