Function at 0x10033390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a616
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x100bd078]
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 edi, ecx
mov esi, dword [edi]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
test esi, esi
je 0x1003373f
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call ebx
test eax, eax
jne 0x1003373f
push 4
add esi, 0xfc
push esi
call ebx
test eax, eax
jne 0x1003373f
mov al, byte [esi]
test al, al
je 0x1003373f
cmp dword [ebp + 8], 0
je 0x1003373f
cmp dword [0x100c19b4], 0
je 0x1003373f
mov eax, dword [edi]
mov eax, dword [eax + 0x310]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1003373f
call fcn.10011e90
lea ebx, [edi + 0xc]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x50], 0xc
nop dword [eax + eax]
mov esi, dword [ebx - 4]
test esi, esi
je 0x1003372f
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003372f
push dword [ebp - 0x8c]
mov ecx, esi
push dword [ebp - 0x90]
call dword [0x100b0d80]
test al, al
je 0x1003372f
cmp byte [ebx + 4], 0
je 0x1003372f
mov eax, dword [0x100c19b4]
mov edx, dword [ebx]
push 0x2c
mov eax, dword [eax + 0x44]
cmp eax, edx
jae 0x100335a6
lea ecx, [ebp - 0xac]
call fcn.10012630
add esp, 4
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x100334c3
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b1b60]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x191f150e
mov dword [ebp - 0x58], 0x595c465c
mov word [ebp - 0x54], 0xf
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x18
jb 0x100334e5
sub esp, 0x18
mov byte [ebp - 0x53], 0
lea eax, [ebp - 0x6b]
mov ecx, esp
push eax
call fcn.10002980
lea eax, [ebp - 0x28]
push eax
call fcn.10009ac0
add esp, 0x20
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.10002340
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
cmovae ebx, dword [ebp - 0x28]
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10033530
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.1006823e
push esi
mov edi, eax
push 0
push edi
call fcn.10080320
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.100808c0
mov eax, dword [ebp - 0x48]
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.10068239
mov eax, dword [ebp - 0x4c]
add esp, 0x20
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x144]
call fcn.100171b0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10002340
mov ebx, dword [ebp - 0x44]
jmp 0x1003372f
lea ecx, [ebp - 0xc4]
call fcn.10012630
add esp, 4
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x100335c3
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b2120]
push eax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0x5c5a504b
xor eax, eax
mov dword [ebp - 0x74], 0x1c190319
mov word [ebp - 0x70], 0x4a
nop dword [eax + eax]
mov cl, byte [ebp - 0x88]
xor byte [ebp + eax - 0x87], cl
inc eax
cmp eax, 0x18
jb 0x100335f0
sub esp, 0x18
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0x87]
mov ecx, esp
push eax
call fcn.10002980
lea eax, [ebp - 0x40]
push eax
call fcn.10009ac0
add esp, 0x20
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call fcn.10002340
cmp dword [ebp - 0x2c], 0x10
lea ebx, [ebp - 0x40]
cmovae ebx, dword [ebp - 0x40]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10033641
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.1006823e
push esi
mov edi, eax
push 0
push edi
call fcn.10080320
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push ebx
cmovae ecx, dword [ebp - 0x40]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.100808c0
mov eax, dword [ebp - 0x48]
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.10068239
mov ebx, dword [ebp - 0x44]
add esp, 0x20
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebx]
mov edx, dword [eax + 0x140]
cmp ecx, 0x3b9aca00
jl 0x100336ac
mov edx, 0xff00fff6
jmp 0x10033718
cmp ecx, 0x5f5e100
jl 0x100336bb
mov edx, 0xffff00ea
jmp 0x10033718
cmp ecx, 0x989680
jl 0x100336ca
mov edx, 0xfffc9601
jmp 0x10033718
cmp ecx, 0xf4240
jl 0x100336d9
mov edx, 0xff00d939
jmp 0x10033718
cmp ecx, 0x186a0
jge 0x10033718
cmp ecx, 0x2710
jl 0x100336f0
mov edx, 0xff00fff6
jmp 0x10033718
cmp ecx, 0x3e8
jl 0x100336ff
mov edx, 0xffff00ea
jmp 0x10033718
cmp ecx, 0x64
jl 0x1003370b
mov edx, 0xfffc9601
jmp 0x10033718
cmp ecx, 0xa
mov eax, 0xff00d939
cmovl eax, edx
mov edx, eax
mov ecx, dword [ebp + 8]
call fcn.100171b0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10002340
add ebx, 0xc
sub dword [ebp - 0x50], 1
mov dword [ebp - 0x44], ebx
jne 0x10033450
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.10067c75
mov esp, ebp
pop ebp
ret 8