Function at 0x10004ceb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9c38
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push 0
push 0x100bfa5f
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10002840
mov dword [ebp - 4], 0
mov edi, dword [0x100db3c0]
test edi, edi
jne 0x10004b72
lea eax, [ebp - 0x2c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.10005d60
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10004dce
inc ecx
push ecx
jmp 0x10004dc3
cmp byte [0x100db453], 0
je 0x10004bb2
mov ecx, 0xd78c9c
call fcn.1001c540
mov ebx, eax
test ebx, ebx
je 0x10004bb2
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10004bb2
push 4
add ebx, 0x6a8
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10004bb2
mov ax, word [ebx]
mov word [edi + 0x3c], ax
movzx eax, word [edi + 0x3c]
add eax, 0xffffff9b
cmp eax, 0x6f
ja case.0x10004bc9.113
movzx eax, byte [eax + 0x10004e14]
jmp dword [eax*4 + 0x10004df0]
mov cl, 0x4a
mov dword [ebp - 0x40], 0x382b014a
mov dword [ebp - 0x3c], 0x1d6a393f
xor eax, eax
mov dword [ebp - 0x38], 0x2338382b
mov word [ebp - 0x34], 0x3825
mov byte [ebp - 0x32], 0
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0xd
jae 0x10004c02
mov cl, byte [ebp - 0x40]
jmp 0x10004bf3
mov byte [ebp - 0x32], 0
jmp 0x10004d91
mov cl, 0xf
mov dword [ebp - 0x3c], 0x7d6e440f
mov dword [ebp - 0x38], 0x5d2f7c7a
xor eax, eax
mov dword [ebp - 0x34], 0x6a7a6860
mov byte [ebp - 0x30], 0
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xb
jae 0x10004c37
mov cl, byte [ebp - 0x3c]
jmp 0x10004c28
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x3b]
jmp 0x10004d94
mov cl, 0x14
mov byte [ebp - 0x3c], 0x75
mov al, 0x3e
mov byte [ebp - 0x41], 0x12
xor al, byte [ebp - 0x3c]
mov bh, cl
xor cl, byte [ebp - 0x3c]
xor bl, bl
mov byte [ebp - 0x3b], al
mov ah, 6
mov al, byte [ebp - 0x41]
mov dl, 7
mov byte [ebp - 0x3a], cl
mov ch, 0x55
mov cl, byte [ebp - 0x3c]
mov dh, 0x38
xor al, cl
mov byte [ebp - 0x42], 0x10
mov byte [ebp - 0x33], al
xor ah, cl
mov al, byte [ebp - 0x42]
xor dl, cl
mov byte [ebp - 0x31], bl
xor ch, cl
xor bl, cl
mov byte [ebp - 0x37], ah
xor dh, cl
mov byte [ebp - 0x39], dl
xor bh, cl
mov byte [ebp - 0x38], bl
xor al, cl
mov byte [ebp - 0x36], ch
mov byte [ebp - 0x32], al
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x35], dh
mov byte [ebp - 0x34], bh
mov byte [ebp - 0x31], 0
jmp 0x10004d94
mov cl, 0x3f
mov dword [ebp - 0x3c], 0x4d5e743f
mov dword [ebp - 0x38], 0x6f1f4c4a
xor eax, eax
mov dword [ebp - 0x34], 0x4c5a564d
mov word [ebp - 0x30], 0x4b
nop word [eax + eax]
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x10004cdf
mov cl, byte [ebp - 0x3c]
jmp 0x10004cd0
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x3b]
jmp 0x10004d94
movaps xmm0, xmmword [0x100c8860]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x31
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x10
jb 0x10004d00
mov byte [ebp - 0x2f], 0
jmp 0x10004d91
movaps xmm0, xmmword [0x100c7f50]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xe
jb 0x10004d20
mov byte [ebp - 0x31], 0
jmp 0x10004d91
mov cl, 0x3f
mov dword [ebp - 0x40], 0x1f537a3f
mov dword [ebp - 0x3c], 0x5e4d5072
xor eax, eax
mov dword [ebp - 0x38], 0x5e721f5b
mov word [ebp - 0x34], 0x5a58
mov byte [ebp - 0x32], 0
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0xd
jae 0x10004c02
mov cl, byte [ebp - 0x40]
jmp 0x10004d56
movaps xmm0, xmmword [0x100c8990]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x30], 0
nop word [eax + eax]
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xf
jb 0x10004d80
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005f60
lea eax, [ebp - 0x2c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.10005d60
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10004dce
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.10002720
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006e175
mov esp, ebp
pop ebp
ret 4