Function at 0x1004cc50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006779f
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10078014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x68], ebx
movzx edx, word [ebp + 8]
mov dword [ebp - 4], 0
mov esi, dword [0x1007a6b0]
mov eax, esi
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x1004ccb4
nop dword [eax]
cmp dword [ecx + 0x10], edx
jae 0x1004ccaa
mov ecx, dword [ecx + 8]
jmp 0x1004ccae
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1004cca0
cmp eax, esi
je 0x1004ccbd
cmp edx, dword [eax + 0x10]
jae 0x1004ccbf
mov eax, esi
cmp eax, esi
je 0x1004cd11
lea edx, [eax + 0x14]
test edx, edx
je 0x1004cd11
add edx, 4
cmp dword [edx + 0x14], 0x10
jb 0x1004ccd5
mov edx, dword [edx]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp byte [edx], 0
jne 0x1004ccf0
xor ecx, ecx
jmp 0x1004ccfe
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ccf5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.100028c0
mov byte [ebp - 4], 1
jmp 0x1004cdae
mov bh, 0x28
mov byte [ebp - 0x29], 0x2a
mov byte [ebp - 0x33], bh
mov al, 0x63
mov bh, byte [ebp - 0x29]
mov cl, 0x78
mov byte [ebp - 0x44], 0x16
mov bl, cl
xor bh, byte [ebp - 0x44]
mov dh, bl
xor al, byte [ebp - 0x44]
mov dl, 0x7d
mov byte [ebp - 0x29], bh
mov ah, 0x79
mov byte [ebp - 0x43], bh
mov ch, 0x61
mov bh, byte [ebp - 0x33]
mov byte [ebp - 0x42], al
mov al, byte [ebp - 0x44]
xor cl, al
mov byte [ebp - 0x3a], 0
xor dl, al
mov byte [ebp - 0x41], cl
xor bl, al
mov byte [ebp - 0x40], dl
xor ah, al
mov byte [ebp - 0x3f], bl
xor ch, al
mov byte [ebp - 0x3e], ah
xor dh, al
mov byte [ebp - 0x3d], ch
xor bh, al
mov byte [ebp - 0x3c], dh
cmp byte [ebp - 0x29], 0
mov byte [ebp - 0x3b], bh
mov byte [ebp - 0x3a], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jne 0x1004cd8b
xor ecx, ecx
jmp 0x1004cd9a
lea ecx, [ebp - 0x43]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004cd91
sub ecx, edx
push ecx
lea eax, [ebp - 0x43]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100028c0
mov ebx, dword [ebp - 0x68]
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x24]
lea edx, [ebp - 0x5c]
call fcn.10014f70
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x1004cdd3
mov ecx, dword [ebp - 0x5c]
inc edx
push 1
call fcn.10002790
add esp, 4
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov byte [ebp - 0x29], 0
cmp esi, edi
je 0x1004d1f8
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x60], eax
test ecx, ecx
je 0x1004d1ea
test ax, ax
je 0x1004d1ea
mov eax, 0x10624dd3
mul ecx
mov ecx, 0xd78ae8
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.10015280
mov ecx, eax
call dword [0x1006eb98]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1004cfc1
push 0
lea eax, [ebp - 0x33]
mov word [ebp - 0x34], 0x22
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x33], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.100028c0
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
mov cl, byte [eax + 4]
call fcn.10007cb0
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1004ce9c
cmp dword [eax + 0x48], 0
je 0x1004ce9c
push dword [ebp - 0x30]
xor edx, edx
lea ecx, [ebp - 0x80]
push eax
call fcn.10007f50
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000b810
lea ecx, [ebp - 0x80]
call fcn.10002380
jmp 0x1004cf07
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x5c]
push 0
call fcn.10007f50
add esp, 8
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x1004ceed
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1004ced2
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.10002790
mov eax, dword [ebp - 0x30]
add esp, 4
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10003730
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x1004cf07
mov ecx, dword [ebp - 0x5c]
inc edx
push 1
call fcn.10002790
add esp, 4
movzx eax, byte [ebp - 0x29]
lea ecx, [eax + eax*2]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebx + ecx*8 + 0x3c]
test ecx, ecx
je 0x1004cf9e
add ecx, 4
lea edx, [ebp - 0x28]
call fcn.1000e460
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + ecx*8 + 0x3c]
mov dword [eax + 0x50], edx
mov eax, dword [ebx + ecx*8 + 0x3c]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x54], edx
mov eax, dword [ebx + ecx*8 + 0x3c]
mov dword [eax + 0x58], 0
mov eax, dword [ebp - 0x38]
test edx, edx
je 0x1004cf5d
movsx edx, word [edx + 0x56]
movsx eax, word [eax + 0x66]
add edx, eax
jmp 0x1004cf61
movsx edx, word [eax + 0x66]
mov eax, dword [ebx + ecx*8 + 0x3c]
mov dword [eax + 0x5c], edx
mov eax, dword [ebx + ecx*8 + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x1004cf9e
lea edx, [ebp - 0x28]
call fcn.10014c60
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + ecx*8 + 0x3c]
mov ebx, dword [eax]
test ebx, ebx
je 0x1004cf9e
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004cf9e
push 1
mov ecx, ebx
call dword [0x1006ebec]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1004d0cc
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
jmp 0x1004d0cc
mov ecx, dword [ebp - 0x30]
lea eax, [ecx - 1]
cmp eax, 0x5f5e0fe
ja 0x1004d0cc
movzx eax, byte [ebp - 0x29]
lea edx, [eax + eax*2]
cmp dword [ebx + edx*8 + 0x3c], 0
mov dword [ebp - 0x38], edx
mov dword [ebx + edx*8 + 0x28], ecx
je 0x1004d0be
movaps xmm0, xmmword [0x10070100]
xor ecx, ecx
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x3c667760
mov dword [ebp - 0x48], 0x666a76
mov al, byte [ebp - 0x5c]
xor byte [ebp + ecx - 0x5b], al
inc ecx
cmp ecx, 0x16
jb 0x1004d006
lea eax, [ebp - 0x5b]
mov byte [ebp - 0x45], 0
push eax
lea ecx, [ebp - 0x80]
call fcn.100029c0
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 5
mov ecx, dword [ebx + ecx*8 + 0x3c]
add ecx, 4
call fcn.1000e460
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.10002380
mov eax, dword [ebp - 0x38]
mov eax, dword [ebx + eax*8 + 0x3c]
cmp dword [eax], 0
je 0x1004d0be
movaps xmm0, xmmword [0x1006f4a0]
xor ecx, ecx
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x461c0d1a
mov dword [ebp - 0x48], 0x1c100c
nop dword [eax]
mov al, byte [ebp - 0x5c]
xor byte [ebp + ecx - 0x5b], al
inc ecx
cmp ecx, 0x16
jb 0x1004d070
lea eax, [ebp - 0x5b]
mov byte [ebp - 0x45], 0
push eax
lea ecx, [ebp - 0x80]
call fcn.100029c0
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 6
mov ecx, dword [ebx + eax*8 + 0x3c]
mov ecx, dword [ecx]
call fcn.10014c60
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.10002380
mov eax, dword [ebp - 0x38]
xor dl, dl
mov ecx, dword [ebx + eax*8 + 0x3c]
mov ecx, dword [ecx]
call fcn.100147e0
mov eax, dword [ebp - 0x38]
mov dl, 2
mov ecx, dword [ebx + eax*8 + 0x38]
call fcn.10014870
mov eax, dword [ebp - 0x60]
mov bh, 0x46
movss xmm1, dword [0x1006f0cc]
sub esp, 0x20
movzx eax, ax
mov cl, 0x68
xor cl, bh
mov byte [ebp - 0x3c], 0
mov dl, 0x74
mov byte [ebp - 0x42], cl
mov bl, 0x2a
mov byte [ebp - 0x44], bh
movd xmm0, eax
xor dl, bh
cvtdq2ps xmm0, xmm0
mov al, 0x63
mov byte [ebp - 0x41], dl
mov ch, al
mov byte [ebp - 0x3c], 0
mov ah, 0x20
mov dh, ch
xor al, bh
xor ah, bh
xor ch, bh
mov byte [ebp - 0x43], al
divss xmm0, xmm1
mov byte [ebp - 0x3f], ah
xor dh, bh
mov byte [ebp - 0x3e], ch
lea eax, [ebp - 0x43]
mov ecx, esp
mov byte [ebp - 0x3d], dh
xor bl, bh
mov byte [ebp - 0x40], bl
minss xmm1, xmm0
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x60], xmm1
movsd qword [esp + 0x18], xmm0
push eax
call fcn.100029c0
lea eax, [ebp - 0x80]
push eax
call fcn.100061b0
add esp, 0x24
mov ebx, dword [ebp - 0x68]
mov edx, eax
mov byte [ebp - 4], 7
movzx ecx, byte [ebp - 0x29]
mov dword [ebp - 0x30], ecx
lea ecx, [ecx + ecx*2]
mov ecx, dword [ebx + ecx*8 + 0x30]
call fcn.10014f70
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x1004d185
mov ecx, dword [ebp - 0x80]
inc edx
push 1
call fcn.10002790
add esp, 4
mov eax, dword [ebp - 0x30]
lea eax, [eax + eax*2]
mov eax, dword [ebx + eax*8 + 0x34]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1004d1c1
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004d1c1
movss xmm0, dword [ebp - 0x60]
sub esp, 0xc
mov ecx, dword [ebp - 0x64]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x1006ec38]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebx + eax*4 + 0xc]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1004d1e7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004d1e7
mov ecx, dword [ebp - 0x60]
push 1
call dword [0x1006ebec]
inc byte [ebp - 0x29]
add esi, 8
cmp esi, edi
jne 0x1004cde5
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1004d210
mov edx, dword [ebp + 0x14]
mov ecx, esi
sub edx, esi
push 8
sar edx, 3
call fcn.10002790
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10063065
mov esp, ebp
pop ebp
ret 0x10