Function at 0x10007ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1001a028]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x39], cl
mov byte [ebp - 0x3f], 0
mov dword [ebp - 0x54], 0
call fcn.10002150
movzx edi, ax
add esp, 4
mov eax, 0x9000
cmp di, ax
jne 0x10007fb9
mov eax, dword [ebp + 0xc]
cmp eax, 4
ja case.default.0x10007d31
jmp dword [eax*4 + 0x10008014]
mov dword [esi + 0x78], 0x47
mov dword [esi + 0x7c], 0x32
mov dword [esi + 0x80], 0x70
mov dword [esi + 0x84], 0x1d
jmp case.default.0x10007d31
mov dword [esi + 0x78], 0x60
mov dword [esi + 0x7c], 0x48
mov dword [esi + pe_nt_image_headers32], 0x80
mov dword [esi + 0x84], 0x30
jmp case.default.0x10007d31
mov eax, dword [0x1001a7c4]
mov dword [esi + 0x78], eax
mov eax, dword [0x1001a7c0]
mov dword [esi + 0x7c], eax
mov eax, dword [0x1001a7c8]
mov dword [esi + 0x80], eax
mov eax, dword [0x1001a7bc]
mov dword [esi + 0x84], eax
xor edi, edi
mov dword [ebp - 0x48], 0
lea eax, [esi + 0x64]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xc], 0xa
push ebx
xor edx, edx
lea ebx, [edx + 4]
mov eax, dword [esi + 0x78]
lea ecx, [edi + edx]
add eax, edi
lea edx, [edx + 1]
mov al, byte [eax + edx + 0x100227df]
mov byte [ecx + esi], al
sub ebx, 1
jne 0x10007dc5
mov ebx, dword [ebp - 0x44]
xor edx, edx
mov eax, dword [ebp - 0x48]
add ebx, 0xffffffc4
add ebx, eax
lea edi, [edx + 2]
nop
lea ecx, [eax + edx]
mov eax, dword [esi + 0x7c]
lea edx, [edx + 1]
lea ebx, [ebx + 1]
mov al, byte [ecx + eax + 0x100227e0]
mov byte [ebx - 1], al
mov eax, dword [ebp - 0x48]
sub edi, 1
jne 0x10007df0
mov edi, dword [ebp - 0x4c]
xor ecx, ecx
lea ebx, [edi + esi]
lea edx, [ecx + 4]
nop dword [eax]
mov eax, dword [esi + 0x80]
lea ecx, [ecx + 1]
add eax, edi
mov al, byte [eax + ecx + 0x100227df]
mov byte [ebx + ecx + 0x3b], al
sub edx, 1
jne 0x10007e20
mov edi, dword [ebp - 0x48]
lea ebx, [edx + 2]
mov eax, dword [esi + 0x84]
lea ecx, [edi + edx]
mov esi, dword [ebp - 0x14]
lea edx, [edx + 1]
mov al, byte [ecx + eax + 0x100227e0]
mov ecx, dword [ebp - 0x44]
add ecx, edi
mov byte [ecx + edx - 1], al
sub ebx, 1
jne 0x10007e41
mov edi, dword [ebp - 0x4c]
add dword [ebp - 0x48], 2
add edi, 4
sub dword [ebp - 0xc], 1
mov dword [ebp - 0x4c], edi
jne 0x10007dc0
xor al, al
nop
movzx ecx, al
cmp ecx, 0x1a
jae 0x1000800f
inc al
mov byte [ebp + ecx - 0x38], 0
cmp al, 0x19
jb 0x10007e80
movzx ecx, byte [ebp - 0x39]
xor bl, bl
mov bh, byte [ebp - 0x3f]
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0x38], 0x13
lea edx, [ecx*4]
mov eax, dword [edx + esi]
mov dword [ebp - 0x37], eax
mov ax, word [esi + ecx*2 + 0x28]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
mov word [ebp - 0x31], ax
mov eax, dword [esi + 0x80]
setne cl
mov dword [ebp - 0x4c], edx
lea ecx, [ecx*4 + 0x28]
lea esi, [eax + 0x100227e3]
mov dword [ebp - 0x44], ecx
add esi, edx
movzx edi, byte [esi - 1]
movzx eax, byte [esi]
shl edi, 8
add edi, eax
movzx ecx, bl
mov edx, edi
movzx eax, bh
sub edx, dword [ebp - 0x54]
cmovns ecx, eax
inc bl
mov bh, cl
mov ecx, dword [ebp - 0x44]
add esi, ecx
test edx, edx
cmovns edi, dword [ebp - 0x54]
mov dword [ebp - 0x54], edi
cmp bl, 7
jb 0x10007ee0
mov esi, dword [ebp - 0x14]
movzx eax, bh
imul eax, ecx
mov ecx, dword [ebp - 0xc]
add eax, dword [ebp - 0x4c]
lea ebx, [esi + ecx*4]
xor edx, edx
mov dword [ebp - 0x44], eax
lea edi, [edx + 4]
nop dword [eax + eax]
lea ecx, [eax + edx]
mov eax, dword [esi + 0x80]
lea edx, [edx + 1]
mov al, byte [ecx + eax + 0x100227e0]
mov byte [edx + ebx + 0x3b], al
mov eax, dword [ebp - 0x44]
sub edi, 1
jne 0x10007f30
mov eax, dword [ebx + 0x3c]
xor cl, cl
mov dword [ebp - 0x2f], eax
mov edx, 0xe
mov eax, dword [ebp - 0xc]
pop ebx
mov ax, word [esi + eax*2 + 0x64]
mov word [ebp - 0x2b], ax
lea eax, [ebp - 0x37]
nop dword [eax]
xor cl, byte [eax]
lea eax, [eax + 1]
sub edx, 1
jne 0x10007f70
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x40]
push 0x3e8
push eax
push 1
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x20], cl
push eax
push 0x19
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.10002730
add esp, 0x1c
cmp word [ebp - 0x40], 1
jne 0x10007fb2
cmp byte [ebp - 0x1c], 0x13
jne 0x10007fb2
mov edi, 0xe036
jmp 0x10007fbc
mov edi, 0xe041
jmp 0x10007fbc
mov esi, dword [ebp - 0x50]
push 0x1f4
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push 1
lea eax, [ebp - 0xc]
mov dword [0x1001a7b0], 0
push eax
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 2
push eax
push esi
call fcn.10002730
push 0
push 1
push 1
push esi
call dword [0x1003c83c]
mov ecx, dword [ebp - 4]
add esp, 0x2c
mov ax, di
xor ecx, ebp
pop edi
pop esi
call fcn.10008251
mov esp, ebp
pop ebp
ret
call fcn.10008383
cmp byte [ebp], bh
adc byte [ebp + edi*2], bl
adc byte [ebp + edi*2], bl
adc byte [ebp + edi*2], bl
adc byte [eax - 0x33efff83], al
int3