Function at 0x1000cdc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0505
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x100bd080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x34], edx
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
sub eax, esi
mov dword [ebp - 0x38], ecx
lea edi, [ecx + 1]
cmp edi, eax
jbe 0x1000ce19
xor cl, cl
jmp 0x1000ce1c
mov cl, byte [esi + ecx]
mov eax, dword [ebp - 0x38]
mov dword [edx + 8], edi
add eax, 5
mov edi, dword [edx + 0x14]
sub edi, esi
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x3c], edi
cmp eax, edi
jbe 0x1000ce38
xor edi, edi
jmp 0x1000ce3f
mov edi, dword [ebp - 0x38]
mov edi, dword [esi + edi + 1]
mov dword [edx + 8], eax
lea edx, [eax + 4]
mov dword [ebp - 0x38], edx
cmp edx, dword [ebp - 0x3c]
jbe 0x1000ce51
xor esi, esi
jmp 0x1000ce54
mov esi, dword [esi + eax]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [edx + 8], eax
mov eax, dword [0x100c0ac0]
test eax, eax
je 0x1000cee1
cmp cl, 1
je 0x1000ce70
cmp cl, 2
jne 0x1000ceac
mov ecx, dword [eax + 0x94]
test ecx, ecx
je 0x1000ce85
push esi
call fcn.10072090
mov eax, dword [0x100c0ac0]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x1000ce97
push esi
call fcn.1003cda0
mov eax, dword [0x100c0ac0]
mov ecx, dword [0x100c0ac4]
test ecx, ecx
je 0x1000ceb2
push esi
call fcn.10021230
mov eax, dword [0x100c0ac0]
mov ecx, dword [0x100c0ac4]
mov dl, byte [ebp - 0x11]
cmp dl, 3
je 0x1000cebf
cmp dl, 4
jne 0x1000cee1
mov eax, dword [eax + 0x94]
test eax, eax
je 0x1000ced7
push esi
mov ecx, eax
call fcn.10072230
mov ecx, dword [0x100c0ac4]
test ecx, ecx
je 0x1000cee1
push esi
call fcn.100212e0
movzx eax, byte [ebp - 0x11]
dec eax
cmp eax, 3
ja case.default.0x1000ceef
jmp dword [eax*4 + 0x1000d338]
movaps xmm0, xmmword [0x100b3fe0]
xor ecx, ecx
push edi
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0xe5a4649
mov dword [ebp - 0x1c], 0x465d4f6d
mov word [ebp - 0x18], 0
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x18
jb 0x1000cf18
sub esp, 0x18
mov byte [ebp - 0x17], 0
mov edx, esp
lea ecx, [ebp - 0x2f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000cf48
sub ecx, esi
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x54]
push eax
call fcn.1000dc10
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
jbe 0x1000cf7a
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000cf94
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.10002570
mov edx, 0xff6565ff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.1000d350
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000cfec
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cfe2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d333
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe case.default.0x1000ceef
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d315
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d333
jmp 0x1000d315
movaps xmm0, xmmword [0x100b3c00]
xor ecx, ecx
push edi
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x6e756745
mov word [ebp - 0x18], 0x28
nop
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x14
jb 0x1000d040
sub esp, 0x18
mov byte [ebp - 0x17], 0
mov edx, esp
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d070
sub ecx, esi
lea eax, [ebp - 0x2b]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x54]
push eax
call fcn.1000dc10
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
jbe 0x1000d0a2
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d0c0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.10002570
mov edx, 0xffff3b3b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.1000d350
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000cfec
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cfe2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d333
jmp 0x1000cfe2
movaps xmm0, xmmword [0x100b3960]
xor ecx, ecx
push edi
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x4944496a
mov dword [ebp - 0x1c], 0x64d4b46
mov byte [ebp - 0x18], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x17
jb 0x1000d140
sub esp, 0x18
mov byte [ebp - 0x18], 0
mov edx, esp
lea ecx, [ebp - 0x2f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d170
sub ecx, esi
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x54]
push eax
call fcn.1000dc10
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0xf
jbe 0x1000d1a2
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d1c0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.10002570
mov edx, 0xff6565ff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.1000d350
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000cfec
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000cfe2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d333
jmp 0x1000cfe2
movaps xmm0, xmmword [0x100b42e0]
xor ecx, ecx
push edi
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x13585e53
mov byte [ebp - 0x18], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x13
jb 0x1000d234
sub esp, 0x18
mov byte [ebp - 0x18], 0
mov edx, esp
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d264
sub ecx, esi
lea eax, [ebp - 0x2b]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x6c]
push eax
call fcn.1000dc10
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 6
cmp dword [edx + 0x14], 0xf
jbe 0x1000d296
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d2b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.10002570
mov edx, 0xffff3b3b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.1000d350
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000d304
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d2fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d333
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xf
jbe case.default.0x1000ceef
mov edx, dword [ebp - 0x6c]
inc ecx
jmp 0x1000cffc
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10084b1f
test dh, 0
adc byte [ebx], ah
rol byte [eax], 1
adc byte [ebx], bl
rol dword [eax], 1
adc byte [ebx], bl
rol byte [eax], cl
adc ah, cl
int3