Function at 0x1000fcde
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
push ebx
push esi
push edi
push 6
mov dword [ebp - 0x54], 0xa5a5
mov word [ebp - 0x28], 0xa
xor esi, esi
pop ebx
mov eax, esi
xor ecx, ecx
sub eax, ecx
je 0x1000f969
dec eax
je 0x1000f95e
dec eax
je 0x1000f953
dec eax
je 0x1000f94c
dec eax
je 0x1000f946
dec eax
jne 0x1000f97c
inc word [ebp - 0x34]
jl 0x1000f944
jge 0x1000f944
daa
jmp 0x1000f97c
mov word [ebp - 0x24], cx
jmp 0x1000f97c
or word [ebp - 0x2a], 0xffff
jmp 0x1000f97c
mov word [ebp - 0x3a], cx
jp 0x1000f95c
jnp 0x1000f95c
jmp 0x1000f97c
jmp 0x1000f97c
mov word [ebp - 0x22], cx
jle 0x1000f967
jg 0x1000f967
sub bl, ch
adc ebp, dword [edx + 3]
jmp 0x1000f97c
push 3
lea ecx, [ebp - 0x40]
pop edx
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
add ecx, 8
dec edx
stosw word es:[edi], ax
jne 0x1000f96f
inc esi
dec ebx
jne 0x1000f924
mov edi, dword [ebp - 0x44]
xor esi, esi
cmp si, 3
jae case.0x1000fd3d.0
movzx ecx, si
mov eax, ecx
imul eax, ecx
imul eax, ecx
imul eax, ecx
add eax, 7
sub eax, 7
je 0x1000f9f2
dec eax
je 0x1000f9af
sub eax, 0xf
je 0x1000f9fe
jmp 0x1000f9fb
movzx ecx, word [ebp - 0x22]
mov eax, ecx
push 5
cdq
pop ebx
idiv ebx
xor ebx, ebx
mov eax, ecx
push 3
pop ecx
cmp edx, 2
cdq
setne bl
idiv ecx
dec edx
neg edx
sbb edx, edx
neg edx
or ebx, edx
je 0x1000f9eb
mov ax, word [ebp - 0x24]
mov word [ebp - 0x26], 1
mov word [ebp - 0x2a], ax
jle 0x1000f9e9
jg 0x1000f9e9
or bl, ch
adc byte [esi - 0x7d], ah
fiadd dword gs:[eax]
jmp 0x1000f9fb
and word [ebp - 0x26], 0
jmp 0x1000f9fb
inc word [ebp - 0x22]
jp 0x1000f9fb
jnp 0x1000f9fb
push es
inc esi
jmp 0x1000f985
jl 0x1000fa03
jge 0x1000fa03
pop es
mov esi, dword [ebp - 0x58]
xor ecx, ecx
cmp cx, 8
jae 0x1000ff00
movzx eax, cx
lea edx, [eax + 1]
imul edx, eax
lea eax, [edx + 1]
cmp eax, 0x15
jg 0x1000fac8
je 0x1000faae
dec eax
je 0x1000fa93
dec eax
dec eax
je 0x1000fa7b
sub eax, 4
je 0x1000fa62
sub eax, 6
jne 0x1000fb15
cmp dword [ebp - 0x50], 0
je 0x1000fb15
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x50]
and eax, 0xffff
add edi, eax
mov dword [ebp - 0x44], edi
jmp 0x1000fb15
mov edi, esi
imul edi, dword [ebp - 0x5c]
and edi, 0xffff
mov dword [ebp - 0x44], edi
jb 0x1000fa76
jae 0x1000fa76
adc ch, cl
lcall 0xa445, 0xc7000000
pop edx
add dword [eax], eax
add byte [esi + 3], dh
jmp 0x1000fb15
mov dword [ebp - 0x5c], 0x15a
jbe 0x1000fa87
ja 0x1000fa87
adc al, 0xc7
inc ebp
mov ah, 0x35
dec esi
add byte [eax], al
mov dword [ebp - 0x4c], 0x4e35
jmp 0x1000fb15
mov esi, dword [ebp - 0x54]
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x50], eax
jne 0x1000faa3
je 0x1000faa3
adc eax, dword [ecx + 0xffffe6]
add byte [ecx + 0x67eba875], cl
and esi, 0xffff
mov dword [ebp - 0x58], esi
jmp 0x1000fb15
mov eax, dword [ebp - 0x4c]
mov edx, edi
imul eax, esi
and edx, 0xffff
shl edx, 0x10
lea eax, [edx + eax + 1]
mov dword [ebp - 0x18], eax
jmp 0x1000fb15
cmp eax, 0x1f
je 0x1000fb03
cmp eax, 0x2b
je 0x1000faef
cmp eax, 0x39
jne 0x1000fb15
movzx eax, word [ebp - 0x26]
push 2
cdq
pop ebx
idiv ebx
sub edx, 0
je 0x1000fb1b
dec edx
je 0x1000fdb4
jmp 0x1000fb15
and dword [ebp - 0x18], 0x7fff
jns 0x1000fafb
js 0x1000fafb
adc eax, 0x89e8458b
inc ebp
in al, dx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jmp 0x1000fb15
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
jmp 0x1000fb0c
shr dword [ebp - 0x18], 0x10
jo 0x1000fb15
jno 0x1000fb15
adc dword [ecx - 0x17], eax
in eax, dx
invalid
inc ecx
jmp 0x1000fa08
movzx ecx, word [ebp - 0x14]
mov eax, ecx
push 0xb
cdq
pop esi
idiv esi
mov eax, ecx
push 7
pop ecx
mov esi, edx
sub esi, 5
neg esi
cdq
sbb esi, esi
idiv ecx
inc esi
dec edx
dec edx
neg edx
sbb edx, edx
inc edx
or esi, edx
je 0x1000fb57
mov ax, word [ebp - 0x24]
mov word [ebp - 0x26], 1
mov word [ebp - 0x2a], ax
jmp 0x1000fa03
movzx eax, word [ebp - 0x3a]
cmp eax, 9
ja case.default.0x1000fb64
jmp dword [eax*4 + 0x1000ff14]
jb 0x1000fb70
jae 0x1000fb70
xor cl, byte [edx - 0x16b73]
dec dword [edx - 0x16c7b]
push dword [eax]
lea eax, [ebp - 0x74000002]
lea edx, [ebx + 0x30fffffe]
test dword [esi + edi*8 - 0x72ce0001], eax
xchg dh, bh
invalid
mov cl, byte [ebp - 0x16c]
mov al, byte [ebp - 0x16d]
xor byte [ebp - 0x17b], cl
mov ecx, dword [ebp - 0x16d]
xor byte [ebp - 0x17c], al
xor dword [ebp - 0x17a], ecx
xor dword [ebp - 0x175], ecx
xor byte [ebp - 0x176], al
xor dword [ebp - 0x171], ecx
jmp case.0x1000fb64.9
jbe 0x1000fbb0
ja 0x1000fbb0
xor al, 0x8a
test dword [esi + 0x30fffffe], eax
test dword [esi + edi*8 - 0x7a750001], eax
xchg esi, edi
invalid
mov al, byte [ebp - 0x17a]
xor byte [ebp - 0x17c], al
mov al, byte [ebp - 0x179]
xor byte [ebp - 0x17b], al
jmp case.0x1000fb64.9
jmp 0x1000fbd0
jmp case.0x1000fb64.9
mov al, byte [ebp - 0x68]
mov cl, byte [ebp - 0x69]
xor byte [ebp - 0x17b], al
mov eax, dword [ebp - 0x69]
xor byte [ebp - 0x17c], cl
xor dword [ebp - 0x17a], eax
xor dword [ebp - 0x175], eax
xor dword [ebp - 0x16d], eax
xor byte [ebp - 0x176], cl
xor dword [ebp - 0x171], eax
jmp case.0x1000fb64.9
jns 0x1000fc0f
js 0x1000fc0f
and eax, 0x458d106a
invalid
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.1000a7e3
lea eax, [ebp - 0x10]
push eax
call fcn.1000d7c6
add esp, 0x10
jmp case.0x1000fb64.9
jo case.default.0x1000fb64
jno case.default.0x1000fb64
xor dword [ebx + 0x8b0845], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dx, word [eax + 6]
test dx, dx
jbe case.0x1000fb64.9
mov eax, dword [eax + 0xa]
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x169]
mov esi, eax
sub ecx, eax
movzx edi, dx
mov eax, dword [ebp - 0x48]
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp - 0x69]
xor al, byte [esi + ecx]
inc dword [ebp - 0x48]
mov byte [esi], al
inc esi
dec edi
jne 0x1000fc51
mov edi, dword [ebp - 0x44]
xor esi, esi
movzx ecx, si
lea eax, [ecx + 3]
imul eax, ecx
inc eax
dec eax
je 0x1000fd44
sub eax, 4
je 0x1000fd24
sub eax, 6
je 0x1000fd17
sub eax, 8
je 0x1000fa03
jmp case.default.0x1000fd3d
push ecx
xor ecx, ecx
jecxz 0x1000fca6
sub dword [ecx - 0x73], ebx
test dword [eax - 3], esi
invalid
pop ecx
lea eax, [ebp - 0x290]
lea ecx, [ebp - 0x10]
push eax
xor eax, eax
push eax
push eax
push ecx
push 1
push eax
call fcn.1000c8c3
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x17c]
push eax
push 0x900
push dword [ebp + 0xc]
call fcn.1000cc3c
add esp, 0x28
jmp case.0x1000fb64.9
push ecx
xor ecx, ecx
jecxz 0x1000fce4
or dword [ecx - 0x75], ebx
inc ebp
or byte [edx - 0x17573], cl
dec dword [ebx + 0xf083a00]
test dword [edx], edx
add al, byte [eax]
add byte [eax - 0x17b43], al
dec dword [ebp + 0xf]
test dword [0x80000002], eax
mov ebp, 0xfffffe85
dec eax
pop ecx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x176]
mov eax, dword [eax]
cmp cl, byte [eax]
jne 0x1000ff0a
cmp byte [ebp - 0x17c], 0x4d
jne 0x1000ff0a
cmp byte [ebp - 0x17b], 0x48
jne 0x1000ff0a
jmp case.0x1000fb64.9
mov word [ebp - 0x26], 1
jl 0x1000fd22
jge 0x1000fd22
aaa
jmp case.default.0x1000fd3d
mov ax, word [ebp - 0x3a]
cmp ax, word [ebp - 0x28]
jne case.default.0x1000fd3d
movzx eax, word [ebp - 0x22]
push 9
cdq
pop ecx
idiv ecx
cmp edx, 8
ja case.default.0x1000fd3d
jmp dword [edx*4 + 0x1000ff3c]
inc word [ebp - 0x3a]
jns case.default.0x1000fd3d
js case.default.0x1000fd3d
xor eax, 0xfe836646
add al, 0xf
adc byte [edi], 0xff
invalid
inc esi
cmp si, 4
jb 0x1000fc6f
jle 0x1000fd5d
jg 0x1000fd5d
cmp byte [edx - 0x17373], cl
dec dword [edx - 0x1747b]
push dword [eax]
lea eax, [ebp - 0x74000002]
lea ecx, [ebx + 0x30fffffe]
test dword [esi + edi*8 - 0x72ce0001], eax
xchg dh, bh
invalid
mov cl, byte [ebp - 0x174]
mov al, byte [ebp - 0x175]
xor byte [ebp - 0x17b], cl
mov ecx, dword [ebp - 0x175]
xor byte [ebp - 0x17c], al
xor dword [ebp - 0x17a], ecx
xor byte [ebp - 0x176], al
jmp case.0x1000fb64.9
jns 0x1000fd91
js 0x1000fd91
add eax, 0x37a05eb
jmp case.0x1000fd3d.0
jp case.0x1000fd3d.0
jnp case.0x1000fd3d.0
jo 0x1000fd9d
jo 0x1000fd9d
jno 0x1000fd9d
inc ecx
mov eax, dword [ebp - 0x171]
pop edi
pop esi
pop ebx
leave
ret
jmp 0x1000fdab
jmp case.0x1000fd3d.0
jne 0x1000fdb2
je 0x1000fdb2
xor ebp, ebx
in al, 0x33
test byte [edi], 0xb7
into
jmp case.0x1000fd3d.0
xor esi, esi
movzx ecx, si
mov eax, ecx
imul eax, ecx
imul eax, ecx
inc eax
dec eax
je 0x1000febe
dec eax
je 0x1000feaa
sub eax, 7
je case.default.0x1000fe00
sub eax, 0x13
je 0x1000fe49
sub eax, 0x25
je 0x1000fe23
sub eax, 0x3d
je 0x1000fe07
sub eax, 0x5b
jne 0x1000feda
movzx eax, word [ebp - 0x14]
push 9
cdq
pop ecx
idiv ecx
cmp edx, 8
ja case.default.0x1000fe00
jmp dword [edx*4 + 0x1000ff60]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
lea ecx, [ecx + eax*2]
add eax, ecx
mov dword [ebp - 0x14], eax
jbe 0x1000fe1a
ja 0x1000fe1a
and al, 0x66
mov dword [ebp - 0x24], eax
mov word [ebp - 0x24], ax
jmp 0x1000feda
movzx eax, word [ebp - 0x1c]
movzx ecx, word [ebp - 0x20]
lea eax, [ecx + eax*4]
inc word [ebp + eax*2 - 0x40]
lea eax, [ebp + eax*2 - 0x40]
jl 0x1000fe3c
jge 0x1000fe3c
pop ss
mov ax, word [ebp - 0x24]
mov word [ebp - 0x2a], ax
jmp 0x1000feda
movzx eax, word [ebp - 0x1c]
xor edx, edx
shl eax, 2
lea ecx, [ebp + eax*2 - 0x40]
push ecx
xor ecx, ecx
jecxz 0x1000fe5c
sbb dword [ecx + 0xf], ebx
mov bh, 0x5d
loopne 0x1000fe65
pop ecx
movzx ebx, word [ebp - 0x20]
add ebx, eax
mov bx, word [ebp + ebx*2 - 0x40]
cmp bx, word [ecx]
fsub dword [esi - 0x75]
pop esp
pop ebp
shl byte [esi + 0x3b], 0x19
jbe 0x1000fe70
mov dword [ebp - 0x20], edx
inc edx
inc ecx
inc ecx
cmp dx, 3
jb 0x1000fe56
jmp 0x1000feda
movzx eax, word [ebp - 0x20]
xor edx, edx
lea ecx, [ebp + eax*2 - 0x40]
jne 0x1000fe8a
je 0x1000fe8a
and ecx, dword [edi]
mov bh, 0x5d
in al, 0x8d
sbb al, 0x98
movzx ebx, word [ebp - 0x1c]
lea ebx, [eax + ebx*4]
mov bx, word [ebp + ebx*2 - 0x40]
cmp bx, word [ecx]
jbe 0x1000fe9e
mov dword [ebp - 0x1c], edx
inc edx
add ecx, 8
cmp dx, 3
jb 0x1000fe85
jmp 0x1000feda
movzx eax, word [ebp - 0x14]
push 3
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x20], edx
jle 0x1000febc
jg 0x1000febc
sbb bl, ch
sbb al, 0xf
mov bh, 0x45
in al, dx
jmp 0x1000feda
movzx eax, word [ebp - 0x14]
push 9
cdq
pop ecx
idiv ecx
push 3
pop ecx
movzx eax, dx
mov dword [ebp - 0x14], edx
cdq
idiv ecx
mov dword [ebp - 0x1c], eax
jmp 0x1000feda
inc esi
cmp si, 7
jb 0x1000fdb6
jmp case.0x1000fe00.1
jo 0x1000feef
jno 0x1000feef
and ecx, ebp
invalid
jmp case.0x1000fe00.1
jb 0x1000fef9
jae 0x1000fef9
and dl, byte [ecx + 0x31]
leave
push ecx
xor ecx, ecx
jecxz 0x1000feff
cmp dword [ecx + 0x7a], ebx
add edi, dword [ebx + 1]
pop ecx
jp 0x1000ff05
jnp 0x1000ff05
push ss
jmp case.0x1000fe00.1
mov eax, 0x753a
jmp 0x1000fda3