Function at 0x10005ee0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1000f120
call fcn.1000ec38
sub esp, 0x40
cmp dword [0x1002bd40], 0
push ebx
push esi
push edi
mov ebx, 0x100
mov esi, 0x1002beb0
je 0x1000641f
mov eax, dword [0x10028cc4]
push str.deagle
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x1000637e
mov eax, dword [0x10028cc4]
push 0x100120e4
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x1000637e
mov eax, dword [0x10028cc4]
push str.glock18
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x1000637e
mov eax, dword [0x10028cc4]
push str.ak47
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x1000604a
mov eax, dword [0x10028cc8]
cmp eax, 0x14
jl 0x10005ff7
cmp byte [0x10028cd5], 0
je 0x10005ff7
cmp eax, 0xffffffff
je 0x10005ff7
mov edx, 0xb4
xor ecx, ecx
mov al, byte [ecx + 0x10012ae0]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x4c], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x32
jl 0x10005fbe
and byte [ebp - 0x1a], 0
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
mov dword [ebp - 4], 2
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 0x13
jg 0x1000641f
cmp byte [0x10028cd5], 0
je 0x1000641f
cmp eax, 0xffffffff
je 0x1000641f
mov edx, 0xa2
xor ecx, ecx
mov al, byte [ecx + 0x10012aac]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x4c], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x32
jl 0x1000601d
and byte [ebp - 0x1a], 0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x4c]
jmp 0x10006413
mov eax, dword [0x10028cc4]
push str.m4a1
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x10006117
mov eax, dword [0x10028cc8]
cmp eax, 0x14
jl 0x100060c6
cmp byte [0x10028cd5], 0
je 0x100060c6
cmp eax, 0xffffffff
je 0x100060c6
push 0x4a
xor ecx, ecx
pop edx
mov al, byte [ecx + str.ln]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x4c], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x33
jl 0x1000608d
and byte [ebp - 0x19], 0
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
mov dword [ebp - 4], 4
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 0x13
jg 0x1000641f
cmp byte [0x10028cd5], 0
je 0x1000641f
cmp eax, 0xffffffff
je 0x1000641f
push 0x6f
xor ecx, ecx
pop edx
mov al, byte [ecx + 0x10012a40]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x4c], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x34
jl 0x100060ea
and byte [ebp - 0x18], 0
mov dword [ebp - 4], 5
lea eax, [ebp - 0x4c]
jmp 0x10006413
mov eax, dword [0x10028cc4]
push str.m249
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x100061e4
mov eax, dword [0x10028cc8]
cmp eax, 0x46
jl 0x10006193
cmp byte [0x10028cd5], 0
je 0x10006193
cmp eax, 0xffffffff
je 0x10006193
push 0x3b
xor ecx, ecx
pop edx
mov al, byte [ecx + 0x10012a10]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x48], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x2e
jl 0x1000615a
and byte [ebp - 0x1a], 0
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
mov dword [ebp - 4], 6
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 0x45
jg 0x1000641f
cmp byte [0x10028cd5], 0
je 0x1000641f
cmp eax, 0xffffffff
je 0x1000641f
push 0x25
xor ecx, ecx
pop edx
mov al, byte [ecx + 0x100129e0]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x44], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x2c
jl 0x100061b7
and byte [ebp - 0x18], 0
mov dword [ebp - 4], 7
lea eax, [ebp - 0x44]
jmp 0x10006413
mov eax, dword [0x10028cc4]
push str.scout
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x100062b1
mov eax, dword [0x10028cc8]
cmp eax, 9
jl 0x10006260
cmp byte [0x10028cd5], 0
je 0x10006260
cmp eax, 0xffffffff
je 0x10006260
push 0x65
xor ecx, ecx
pop edx
mov al, byte [ecx + 0x100129b0]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x48], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x2e
jl 0x10006227
and byte [ebp - 0x1a], 0
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
mov dword [ebp - 4], 8
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 8
jg 0x1000641f
cmp byte [0x10028cd5], 0
je 0x1000641f
cmp eax, 0xffffffff
je 0x1000641f
push 0x79
xor ecx, ecx
pop edx
mov al, byte [ecx + 0x10012980]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x48], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x2f
jl 0x10006284
and byte [ebp - 0x19], 0
mov dword [ebp - 4], 9
lea eax, [ebp - 0x48]
jmp 0x10006413
mov eax, dword [0x10028cc4]
push 0x100120c0
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x1000641f
mov eax, dword [0x10028cc8]
cmp eax, 9
jl 0x1000632d
cmp byte [0x10028cd5], 0
je 0x1000632d
cmp eax, 0xffffffff
je 0x1000632d
push 0x45
xor ecx, ecx
pop edx
mov al, byte [ecx + str._0gxigyl_]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x4c], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x33
jl 0x100062f4
and byte [ebp - 0x19], 0
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
mov dword [ebp - 4], 0xa
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 8
jg 0x1000641f
cmp byte [0x10028cd5], 0
je 0x1000641f
cmp eax, 0xffffffff
je 0x1000641f
push 0x4d
xor ecx, ecx
pop edx
mov al, byte [ecx + str._8o_q]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x4c], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x34
jl 0x10006351
and byte [ebp - 0x18], 0
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x4c]
jmp 0x10006413
mov eax, dword [0x10028cc8]
cmp eax, 5
jl 0x100063d1
cmp byte [0x10028cd5], 0
je 0x100063d1
cmp eax, 0xffffffff
je 0x100063d1
push 0x59
xor ecx, ecx
pop edx
mov al, byte [ecx + str.8_ln]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x44], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x2c
jl 0x1000639b
and byte [ebp - 0x18], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 4
jg 0x1000641f
cmp byte [0x10028cd5], 0
je 0x1000641f
cmp eax, 0xffffffff
je 0x1000641f
mov edx, 0xf8
xor ecx, ecx
mov al, byte [ecx + 0x100128b4]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x48], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 0x2e
jl 0x100063eb
and byte [ebp - 0x1a], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
cmp dword [0x1002bd44], 0
je 0x10006972
mov eax, dword [0x10028cc4]
push str.deagle
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x100068ce
mov eax, dword [0x10028cc4]
push 0x100120e4
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x100068ce
mov eax, dword [0x10028cc4]
push str.glock18
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x100068ce
mov eax, dword [0x10028cc4]
push str.ak47
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x10006571
mov eax, dword [0x10028cc8]
push 0xf
cmp eax, 0x19
pop edi
jl 0x1000651f
cmp byte [0x10028cd5], 0
je 0x1000651f
cmp eax, 0xffffffff
je 0x1000651f
mov edx, edi
xor ecx, ecx
mov al, byte [ecx + str.kery3_]
mov ebx, 0x100
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv ebx
inc ecx
cmp ecx, 6
jl 0x100064e3
and byte [ebp - 0xe], 0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov dword [ebp - 4], 0xe
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 0x18
jg 0x10006972
cmp byte [0x10028cd5], 0
je 0x10006972
cmp eax, 0xffffffff
je 0x10006972
mov edx, 0xc4
xor ecx, ecx
mov al, byte [ecx + 0x100128a4]
mov ebx, 0x100
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv ebx
inc ecx
cmp ecx, 6
jl 0x10006545
and byte [ebp - 0xe], 0
mov dword [ebp - 4], edi
lea eax, [ebp - 0x14]
jmp 0x10006966
mov eax, dword [0x10028cc4]
push str.m4a1
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x10006640
mov eax, dword [0x10028cc8]
cmp eax, 0x19
jl 0x100065ed
cmp byte [0x10028cd5], 0
je 0x100065ed
cmp eax, 0xffffffff
je 0x100065ed
push 0xf
xor ecx, ecx
pop edx
mov al, byte [ecx + str.kery3_]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 6
jl 0x100065b4
and byte [ebp - 0xe], 0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov dword [ebp - 4], 0x10
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 0x18
jg 0x10006972
cmp byte [0x10028cd5], 0
je 0x10006972
cmp eax, 0xffffffff
je 0x10006972
mov edx, 0xc4
xor ecx, ecx
mov al, byte [ecx + 0x100128a4]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 6
jl 0x10006613
and byte [ebp - 0xe], 0
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x14]
jmp 0x10006966
mov eax, dword [0x10028cc4]
push str.m249
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x10006713
mov eax, dword [0x10028cc8]
mov edi, 0xc4
cmp eax, 0x46
jl 0x100066c3
cmp byte [0x10028cd5], 0
je 0x100066c3
cmp eax, 0xffffffff
je 0x100066c3
mov edx, edi
xor ecx, ecx
mov al, byte [ecx + 0x100128a4]
mov ebx, 0x100
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv ebx
inc ecx
cmp ecx, 6
jl 0x10006687
and byte [ebp - 0xe], 0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov dword [ebp - 4], 0x12
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 0x45
jg 0x10006972
cmp byte [0x10028cd5], 0
je 0x10006972
cmp eax, 0xffffffff
je 0x10006972
mov edx, edi
xor ecx, ecx
mov al, byte [ecx + 0x100128a4]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 6
jl 0x100066e6
and byte [ebp - 0xe], 0
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x14]
jmp 0x10006966
mov eax, dword [0x10028cc4]
push str.scout
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x100067e6
mov eax, dword [0x10028cc8]
mov edi, 0xc4
cmp eax, 9
jl 0x10006796
cmp byte [0x10028cd5], 0
je 0x10006796
cmp eax, 0xffffffff
je 0x10006796
mov edx, edi
xor ecx, ecx
mov al, byte [ecx + 0x100128a4]
mov ebx, 0x100
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv ebx
inc ecx
cmp ecx, 6
jl 0x1000675a
and byte [ebp - 0xe], 0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov dword [ebp - 4], 0x14
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 8
jg 0x10006972
cmp byte [0x10028cd5], 0
je 0x10006972
cmp eax, 0xffffffff
je 0x10006972
mov edx, edi
xor ecx, ecx
mov al, byte [ecx + 0x100128a4]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 6
jl 0x100067b9
and byte [ebp - 0xe], 0
mov dword [ebp - 4], 0x15
lea eax, [ebp - 0x14]
jmp 0x10006966
mov eax, dword [0x10028cc4]
push 0x100120c0
push dword [eax + 0x364]
call fcn.10005a0e
pop ecx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x10006972
mov eax, dword [0x10028cc8]
mov edi, 0xc4
cmp eax, 9
jl 0x10006869
cmp byte [0x10028cd5], 0
je 0x10006869
cmp eax, 0xffffffff
je 0x10006869
mov edx, edi
xor ecx, ecx
mov al, byte [ecx + 0x100128a4]
mov ebx, 0x100
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv ebx
inc ecx
cmp ecx, 6
jl 0x1000682d
and byte [ebp - 0xe], 0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov dword [ebp - 4], 0x16
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 8
jg 0x10006972
cmp byte [0x10028cd5], 0
je 0x10006972
cmp eax, 0xffffffff
je 0x10006972
mov edx, edi
xor ecx, ecx
mov al, byte [ecx + 0x100128a4]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 6
jl 0x1000688c
and byte [ebp - 0xe], 0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov dword [ebp - 4], 0x17
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
jmp 0x10006972
mov eax, dword [0x10028cc8]
cmp eax, 4
jl 0x10006924
cmp byte [0x10028cd5], 0
je 0x10006924
cmp eax, 0xffffffff
je 0x10006924
push 0xf
xor ecx, ecx
pop edx
mov al, byte [ecx + str.kery3_]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 6
jl 0x100068eb
and byte [ebp - 0xe], 0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov dword [ebp - 4], 0xc
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x10028cc8]
cmp eax, 5
jg 0x10006972
cmp byte [0x10028cd5], 0
je 0x10006972
cmp eax, 0xffffffff
je 0x10006972
mov edx, 0xc4
xor ecx, ecx
mov al, byte [ecx + 0x100128a4]
mov edi, ebx
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 6
jl 0x1000693e
and byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.1000ab45
or dword [ebp - 4], 0xffffffff
fld dword [0x10012374]
fadd st(0), st(0)
fsub dword [0x10010210]
call sub.MSVCRT.dll__ftol
fld dword [0x10012378]
fadd st(0), st(0)
mov edi, eax
fsub dword [0x1001020c]
call sub.MSVCRT.dll__ftol
push 1
push ecx
fld1
mov ebx, eax
fstp dword [esp]
fld1
push ecx
lea eax, [ebx - 0x14]
fstp dword [esp]
fld1
push ecx
fstp dword [esp]
fld1
push ecx
fstp dword [esp]
fld dword [0x100101b8]
push ecx
fstp dword [esp]
fld1
push ecx
fstp dword [esp]
fld1
push ecx
fstp dword [esp]
fld1
push ecx
fstp dword [esp]
fld dword [0x1002bcf4]
push ecx
fstp dword [esp]
fld dword [0x1002bcf0]
push ecx
fstp dword [esp]
fld dword [0x1002bcec]
push ecx
fstp dword [esp]
fld dword [0x100101b8]
push ecx
fstp dword [esp]
fld1
push ecx
fstp dword [esp]
fld1
push ecx
fstp dword [esp]
fld1
push ecx
fstp dword [esp]
fld dword [0x1002bcf4]
push ecx
fstp dword [esp]
fld dword [0x1002bcf0]
push ecx
fstp dword [esp]
fld dword [0x1002bcec]
push ecx
fstp dword [esp]
push 0x14
push 0x14
push 0x4b
push eax
lea eax, [edi - 0xf]
push eax
call fcn.1000a358
add esp, 0x60
mov esi, 0xff
cmp dword [0x1002bd3c], 1
jne 0x10006a62
push 1
push str.
push esi
push esi
push esi
push ebx
push edi
call fcn.1000458c
add esp, 0x1c
cmp dword [0x1002bd3c], 0
jne 0x10006a7f
push 0
push 0x10012884
push esi
push esi
push esi
push ebx
push edi
call fcn.1000458c
add esp, 0x1c
cmp dword [0x1002bd04], 0
je 0x10006ada
fld qword [0x1002e4b8]
fcomp qword [0x1002a9b0]
fnstsw ax
sahf
ja 0x10006ada
xor edi, edi
mov esi, 0x1002ae08
push 0x1002aad0
push edi
mov ecx, esi
call fcn.100059e1
push dword [eax + 8]
mov ecx, esi
push edi
call fcn.100059e1
push dword [eax + 4]
mov ecx, esi
push edi
call fcn.100059e1
push dword [eax]
mov eax, dword [0x1002a508]
add eax, 0xffffff4c
push eax
push 0x14
call fcn.10004489
add esp, 0x18
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret