Function at 0x100864e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d7a0
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x101c8c40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0xa4]
mov edi, dword [ebp + 8]
push edx
mov dword [ebp - 0x90], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov ecx, edi
xor esi, esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x94], eax
call fcn.1004fea0
cmp eax, 0xb
jne 0x100866b0
mov ecx, edi
call fcn.1007ed80
test al, al
je 0x100866b0
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.1004b7a0
mov ecx, eax
mov dword [ebp - 0x98], eax
call fcn.100ac730
test al, al
je 0x100866b0
push edi
push dword [ebp - 0x90]
lea ecx, [ebp - 0x58]
call fcn.100490f0
push edi
push dword [ebp - 0x90]
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], esi
call fcn.100490f0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1007ee20
mov ecx, edi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x9c], eax
call fcn.1007ee20
mov edi, dword [ebp - 0x98]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x14]
add eax, 0x58
mov dword [ebp - 0x94], eax
mov eax, dword [edi]
call dword [eax + 0x18]
mov eax, dword [edi]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x10086662
nop dword [eax + eax]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x9c]
call fcn.10089640
mov edi, eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x94]
call fcn.10089820
add esp, 0x10
lea edx, [ebp - 0x58]
lea ecx, [eax + 2]
add ecx, edi
mov eax, ecx
or eax, 1
bsr eax, eax
push edx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
mov ecx, dword [ebp - 0x54]
add esi, eax
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x10086600
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x88]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp dword [ebp - 0x68], 9
jne 0x10086686
lea ecx, [ebp - 0x80]
call fcn.10001d50
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 3
mov edx, dword [ecx]
call dword [edx + 0x40]
cmp dword [ebp - 0x38], 9
jne case.default.0x10086717
lea ecx, [ebp - 0x50]
call fcn.10001d50
jmp case.default.0x10086717
cmp dword [edi + 0x20], 3
jne 0x100866ca
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.1004ad50
jmp 0x10086700
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x2f], 0
je 0x100866e2
mov dword [ebp - 0x8c], 1
jmp 0x10086706
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.1004cac0
test al, al
mov ecx, 1
mov eax, esi
cmovne eax, ecx
mov dword [ebp - 0x8c], eax
mov ecx, edi
call fcn.1004fea0
dec eax
cmp eax, 0x11
ja case.default.0x10086717
jmp dword [eax*4 + 0x10086cf8]
cmp dword [edi + 0x20], 3
jne 0x1008677a
xor eax, eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x8c], eax
jbe case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004bf20
test eax, eax
jns 0x10086752
mov eax, 0xa
jmp 0x10086761
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp eax, dword [ebp - 0x8c]
jb 0x10086734
jmp case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.1004b5b0
push eax
call fcn.100121a0
add esp, 4
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10122cc7
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x20], 3
jne 0x10086817
xor eax, eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x8c], eax
jbe case.default.0x10086717
nop word [eax + eax]
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004bfd0
or eax, 1
test edx, edx
jne 0x100867ef
bsr eax, eax
jmp 0x100867f5
bsr eax, edx
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp eax, dword [ebp - 0x8c]
jb 0x100867d0
jmp case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.1004b6a0
push edx
push eax
call fcn.100879d0
add esp, 8
jmp 0x10086795
cmp dword [edi + 0x20], 3
jne 0x10086899
xor eax, eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x8c], eax
jbe case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004bf20
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp eax, dword [ebp - 0x8c]
jb 0x10086852
jmp case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.1004b5b0
push eax
call fcn.10089cc0
jmp 0x10086792
cmp dword [edi + 0x20], 3
jne 0x1008693a
xor eax, eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x8c], eax
jbe case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004bfd0
mov ecx, edx
mov dword [ebp - 0x9c], edx
sar dword [ebp - 0x9c], 0x1f
shld edx, eax, 1
sar ecx, 0x1f
add eax, eax
xor ecx, eax
mov eax, dword [ebp - 0x9c]
or ecx, 1
xor eax, edx
jne 0x1008690f
bsr eax, ecx
jmp 0x10086915
bsr eax, eax
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, dword [ebp - 0x8c]
jb 0x100868d0
jmp case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.1004b6a0
push edx
push eax
call fcn.10089ce0
add esp, 8
jmp 0x10086795
cmp dword [edi + 0x20], 3
jne 0x100869b3
xor eax, eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x8c], eax
jbe case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004c300
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, dword [ebp - 0x8c]
jb 0x10086975
jmp case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.1004c670
or eax, 1
bsr eax, eax
lea esi, [eax*8 + 0x49]
add esi, eax
shr esi, 6
jmp case.default.0x10086717
cmp dword [edi + 0x20], 3
jne 0x10086a40
xor eax, eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x8c], eax
jbe case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004c3b0
or eax, 1
test edx, edx
jne 0x10086a15
bsr eax, eax
jmp 0x10086a1b
bsr eax, edx
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, dword [ebp - 0x8c]
jb 0x100869f6
jmp case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.1004c760
push edx
push eax
call fcn.100121d0
add esp, 8
jmp 0x10086795
mov eax, dword [ebp - 0x8c]
lea esi, [eax*4]
jmp case.default.0x10086717
mov eax, dword [ebp - 0x8c]
lea esi, [eax*8]
jmp case.default.0x10086717
mov esi, dword [ebp - 0x8c]
jmp case.default.0x10086717
cmp dword [edi + 0x20], 3
jne 0x10086ae8
xor eax, eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x8c], eax
jbe case.default.0x10086717
nop word [eax + eax]
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004c090
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x20]
call eax
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, dword [ebp - 0x8c]
jb 0x10086ab0
jmp case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push 0
push edi
push dword [ebp - 0x90]
call fcn.1004b7f0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x20]
call eax
jmp 0x10086795
cmp dword [edi + 0x20], 3
jne 0x10086b6f
xor eax, eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x8c], eax
jbe case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004c090
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add ecx, eax
mov eax, dword [ebp - 0x98]
inc eax
add esi, ecx
mov dword [ebp - 0x98], eax
cmp eax, dword [ebp - 0x8c]
jb 0x10086b24
jmp case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push 0
push edi
push dword [ebp - 0x90]
call fcn.1004b7f0
push eax
call fcn.10082500
jmp 0x10086792
cmp dword [edi + 0x20], 3
jne 0x10086bf4
xor eax, eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x8c], eax
jbe case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004bd10
mov eax, dword [eax + 8]
test eax, eax
jns 0x10086bc9
mov eax, 0xa
jmp 0x10086bd8
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, dword [ebp - 0x8c]
jb 0x10086ba8
jmp case.default.0x10086717
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.1004b240
push dword [eax + 8]
call fcn.100121a0
jmp 0x10086792
xor eax, eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x8c], eax
jbe case.default.0x10086717
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [edi + 0x20], 3
mov dword [ebp - 4], 4
jne 0x10086c6f
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004c250
jmp 0x10086c85
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp - 0x90]
call fcn.1004c580
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
mov dword [ebp - 4], 0xffffffff
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
mov ecx, dword [ebp - 0x14]
add esi, eax
cmp ecx, 0xf
jbe 0x10086cd4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10086cca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086cf2
push ecx
push edx
call fcn.10122d0a
add esp, 8
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, dword [ebp - 0x8c]
jb 0x10086c30
jmp case.default.0x10086717
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
jae 0x10086d64
or byte [eax], dl
popal
push 8
adc byte [edi + 0x69dc1008], dh
or byte [eax], dl
push ds
or byte [bx + si], dl
jae 0x10086d78
or byte [eax], dl
popal
push 8
adc byte [ebp + 0x1310086a], al
insb byte es:[edi], dx
or byte [eax], dl
nop
push 8
adc byte [edx], cl
imul ecx, dword [eax], 0x10
adc ebp, dword [eax + ecx + 0x10]
pop ebx
imul ecx, dword [eax], 141266448
adc byte [ecx + 0x6a], ah
or byte [eax], dl
jae 0x10086da0
or byte [eax], dl
cmp byte [eax + 8], ch
adc byte [esi + 1427114088], dh
push ebp
add byte [eax], al