Function at 0x10008654
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100586b5
call fcn.10057d24
sub esp, 0x118
mov byte [ebp - 0x4c], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x10008e52
xor ebx, ebx
mov dword [ebp - 0x18], 0xfffffffe
mov dword [ebp - 0x18], ebx
jmp 0x10008691
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x60], 0x13b9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jl 0x10008683
mov dword [ebp - 0x18], ebx
jmp 0x100086ad
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x108], 0xe838
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1000869c
mov dword [ebp - 0x18], ebx
jmp 0x100086c3
push 1
call fcn.10008291
inc dword [ebp - 0x18]
pop ecx
cmp dword [ebp - 0x18], ebx
jle 0x100086b8
xor eax, eax
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0xa4], ebx
mov word [ebp - 0xb4], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], 0x2604
mov dword [ebp - 0x24], 0xbd6c3f0b
mov dword [ebp - 0x28], 0xc3a23fe5
mov dword [ebp - 0x20], 0xecc2443a
mov dword [ebp - 0x20], 0x4824
cmp dword [ebp - 0x20], 0x4b84
jle 0x10008781
mov esi, ebx
mov edi, ebx
mov eax, ebx
mov dword [ebp - 0x18], ebx
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
add ecx, eax
lea eax, [edi + esi]
sar eax, cl
lea ecx, [ebp - 0x120]
cdq
push edx
push eax
call fcn.10002811
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000873d
mov eax, dword [eax]
push eax
call fcn.100402ca
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x120]
call fcn.10001571
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x2501
jl 0x1000871e
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x543c
jl 0x10008719
inc edi
cmp edi, 0x75ca
jl 0x10008714
inc esi
cmp esi, 0x104a
jl 0x10008712
mov dword [ebp - 0x1c], 0xcd16652d
cmp dword [ebp - 0x20], 0x472d
jge 0x1000879c
push str.tkatcex_ibjpgj_fqyxwgisj_rcr_pyciqumyz_aogbcfopr_gfup_gma
call fcn.100402ca
pop ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x28], 0xdf7cd95d
xor eax, eax
mov dword [ebp - 0x20], 0xb7f609b2
inc eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x20], 0xc842
push 3
call fcn.100013fd
push 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 3
call fcn.100013fd
mov byte [ebp - 4], 4
mov dword [ebp - 0x38], ebx
jmp 0x1000880d
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x90], 0xffffffff
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 3
jl 0x100087fc
lea eax, [ebp - 0x9c]
mov dl, 1
push eax
push 0xfd4
push 0x5f6d
lea eax, [ebp - 0x38]
mov cl, dl
push eax
push 0x70c
push 1
call fcn.10007f68
lea eax, [ebp - 0xd0]
mov edx, 0x2d0b
push eax
push 1
push 0x153d
push 0x7b00
lea eax, [ebp - 0x38]
mov ecx, 0x3d7a
push ebx
push eax
call fcn.10008e92
mov eax, dword [ebp - 0x9c]
add esp, 0x30
mov ecx, dword [ebp - 0x88]
inc dword [eax + 8]
neg ecx
sbb ecx, ecx
neg ecx
cmp dword [ebp - 0x24], ebx
je 0x1000889d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
imul eax, dword [ebp - 0x1c], 6
sub eax, 0x518f4c6f
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x88]
je 0x1000889d
xor eax, eax
inc eax
jmp 0x1000889f
mov eax, ebx
imul eax, eax, 0xef33
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x18], 0x8faa83fb
jne 0x100088ca
cmp dword [ebp - 0x28], ebx
je 0x100088ca
xor eax, eax
inc eax
jmp 0x100088cc
mov eax, ebx
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x28], eax
call fcn.10001439
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], bl
call fcn.10001439
push dword [ebp + 0xc]
lea ecx, [ebp - 0xb4]
call fcn.10005ebf
mov dword [ebp - 0x24], 0x76cf
mov esi, 0x10073b38
cmp dword [ebp - 0x24], 0x7ab1
jle 0x10008978
mov dword [ebp - 0x1c], ebx
mov eax, ebx
mov dword [ebp - 0x18], ebx
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov ecx, edi
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x1c]
and ecx, eax
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
mov eax, ecx
mov ecx, esi
xor eax, edi
xor eax, ebx
cdq
push edx
push eax
call fcn.10004192
mov ecx, dword [ebp - 0x3c]
inc edi
cmp edi, 0x6aed
jl 0x1000892e
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x20], edi
push 0
pop ebx
cmp edi, 0x480c
jl 0x1000891e
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x5685
jl 0x10008919
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x7825
jl 0x10008914
mov eax, dword [0x100757a4]
test al, 1
jne 0x1000899e
or eax, 1
mov dword [0x100757a4], eax
push 0x25f0
mov byte [ebp - 4], 5
call fcn.1001b7e7
pop ecx
mov word [0x1007579c], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x24], 0x74cd
jge 0x100089da
mov edx, str.xklxkznyx_vjflaqny_qcvpc_zgv_kejnbukn_xxsnqttzv_quygdkk_xozbmxaro_pzcgq_xpi_kgnwr_bonrrrjj
mov ecx, esi
call fcn.10005a51
jmp 0x100089da
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0x302e
cmp dword [ebp - 0x1c], 0x31e9
jle 0x10008a39
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov eax, edi
mov dword [ebp - 0x28], ebx
cdq
idiv ecx
mov edi, edx
mov eax, edi
mov ecx, esi
and eax, ebx
cdq
push edx
push eax
call fcn.10004192
inc ebx
cmp ebx, 0x1f57
jl 0x10008a01
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x24], ecx
push 0
pop ebx
cmp ecx, 0x3bbd
jl 0x100089f7
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x583d
jl 0x100089f2
push 2
lea ecx, [ebp - 0x78]
call fcn.100013fd
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1c], 0x2f9f
jge 0x10008a7f
mov edx, str.ddaqe_bbscsqfvi_klb_vyizwfcbb_czqqurpa_kmcfpk_ikqtkpooy_nuawkeqbl_haju_dbqrgqcsv_lpim_pafsxopsl
mov ecx, esi
call fcn.10005a51
jmp 0x10008a7f
push 8
pop edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], 0x5738
cmp dword [ebp - 0x20], 0x5a68
jle 0x10008ae1
mov dword [ebp - 0x1c], ebx
mov edi, ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov eax, edi
cdq
idiv ecx
mov eax, ebx
mov ecx, esi
sub eax, edx
cdq
push edx
push eax
call fcn.10004192
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x5f11
jl 0x10008aa2
inc edi
push 0
pop ebx
cmp edi, 0x74b5
jl 0x10008a9a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x5762
jl 0x10008a98
push 8
pop edi
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x20], 0x5647
jge 0x10008afa
mov edx, str.srkx_dttjhlspn_qysshu_vunpmnyn_iorvuim_tfmlcf_ufcryqf_sikzcxygl_ozuwgoki_gnvbpiuca_kpbtvn_ita
mov ecx, esi
call fcn.10005a51
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 0x779a7b44
lea ecx, [ebp - 0x84]
push 2
call fcn.100013fd
push ecx
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x30]
mov cl, 1
call fcn.10007361
pop ecx
pop ecx
mov dword [ebp - 0x30], ebx
jmp 0x10008b5e
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x44], 0x915a1369
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 2
jl 0x10008b50
push 1
push 1
lea eax, [ebp - 0x30]
mov ecx, 0x4ccd
push eax
push 0x52e4
push 0x3877
push 1
push 0x46e8
lea edx, [ebp - 0x84]
call fcn.100074b1
xor ecx, ecx
mov dword [ebp - 0x40], ebx
add esp, 0x1c
inc ecx
jmp 0x10008c39
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xcd4431fa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], ebx
jmp 0x10008bc9
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x50], 0x93e75cb5
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ecx
jl 0x10008bbb
mov eax, dword [ebp - 0x1c]
dec dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x78]
mov ecx, dword [eax + ecx*4]
mov dword [edx + esi*4], ecx
xor edx, edx
mov eax, dword [ebp - 0x84]
cmp ecx, dword [eax]
setge dl
cmp edx, 0xd7c869b7
sbb eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x24]
je 0x10008c19
cmp dword [ebp - 0x50], ebx
je 0x10008c19
xor ecx, ecx
inc ecx
mov edx, ecx
jmp 0x10008c1e
xor ecx, ecx
mov edx, ebx
inc ecx
mov eax, dword [ebp - 0x3c]
sub edx, eax
je 0x10008c31
mov eax, dword [ebp - 0x84]
cmp dword [eax], ebx
mov eax, ecx
jne 0x10008c33
mov eax, ebx
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], ecx
jle 0x10008b9b
push 0x2057
sub esp, 0xc
mov byte [ebp - 0x31], bl
lea edx, [ebp - 0x31]
push ecx
sub esp, 0x1c
mov ecx, 0x6328
call fcn.100083be
add esp, 0x30
lea ecx, [ebp - 0x84]
call fcn.10001439
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.10001439
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
test edi, edi
je 0x10008e2c
push dword [ebp - 0x60]
movdqa xmm0, xmmword [0x10066a50]
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x5c], ebx
push eax
push ebx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x58], ebx
movdqu xmmword [ebp - 0xfc], xmm0
mov dword [ebp - 0x54], ebx
call fcn.1000619c
push 2
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.100013fd
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
push ecx
lea eax, [ebp - 0x6c]
mov ecx, 0x14ee
push 1
push eax
call fcn.100084c5
add esp, 0x10
mov dword [ebp - 0x2c], ebx
jmp 0x10008cf8
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0xe0], 0xffffffff
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 2
jl 0x10008ce7
mov dword [ebp - 0x2c], ebx
jmp 0x10008d14
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0xec], 7
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 3
jl 0x10008d03
mov edi, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], edx
mov dword [edi + 4], 3
mov dword [ebp - 0x24], 0xfffffff8
mov dword [ebp - 0x48], 0x38d10fbf
mov dword [ebp - 0x18], ebx
jmp 0x10008d4a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xd8], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10008d3d
xor eax, eax
inc eax
mov ecx, eax
mov dword [ebp - 0xdc], eax
sub ecx, dword [edx + 0xc]
xor edx, edx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x5c]
sete dl
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x24]
sub ecx, edx
dec ecx
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0xe8]
setne dl
xor ecx, ecx
cmp edx, eax
setle cl
imul eax, ecx, 0x5e1b
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x5c]
mov esi, dword [eax + ecx*4]
xor ecx, ecx
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 1
mov eax, dword [ebp - 0xe4]
sete cl
xor edx, edx
cmp esi, ecx
setg dl
sub edx, esi
imul eax, edx
xor dl, dl
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x48]
push eax
push ecx
push 0x66b3
push ecx
mov ecx, 0xfa4
call fcn.10007d5b
mov edx, dword [ebp - 0x28]
add esp, 0x10
dec dword [edi + 4]
jns 0x10008d2a
lea ecx, [ebp - 0x6c]
call fcn.10001439
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.10001439
push 0x682e
push ecx
push 0x1007579c
push ecx
mov dl, 1
lea ecx, [ebp - 0xb4]
call fcn.10007d5b
add esp, 0x10
dec dword [ebp - 0x20]
jne 0x10008c85
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xb4]
cmp ecx, eax
je 0x10008e42
push 0xffffffffffffffff
push ebx
push eax
call fcn.10001603
push ebx
push 1
lea ecx, [ebp - 0xb4]
call fcn.100016dd
jmp 0x10008e5d
push 0x2080
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret