Function at 0x100336b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007be8c
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100a1084]
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 eax, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x2d], 0
cmp esi, edi
je 0x10033a83
nop dword [eax]
mov ebx, dword [esi]
mov dword [ebp - 0x58], ebx
test ebx, ebx
je 0x10033a75
mov eax, 0x10624dd3
mov ecx, 0xd78ae8
mul ebx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x3c], eax
imul eax, eax, 0x3e8
push eax
call fcn.10015da0
mov ecx, eax
call dword [0x1009444c]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x100338f9
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
mov cl, byte [eax + 4]
mov eax, 0x12e0be83
mul ebx
mov byte [ebp - 0x35], cl
sub ebx, edx
shr ebx, 1
add ebx, edx
shr ebx, 0x1d
cmp ebx, 4
jae 0x100337c7
cmp cl, 0x2d
jae 0x100337c7
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100337c7
sub ebx, dword [ebp - 0x3c]
movzx ecx, byte [ebp - 0x35]
imul eax, ebx, 0x3e8
mov ebx, dword [ebp - 0x58]
mov ecx, dword [ecx*4 + 0xd78af0]
add eax, ebx
push eax
call dword [0x10094450]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x100337cf
cmp dword [eax + 0x48], 0
je 0x100337cf
push ebx
push eax
xor edx, edx
lea ecx, [ebp - 0x70]
call fcn.10012170
add esp, 8
mov ebx, eax
jmp 0x100337e2
mov ebx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
push ebx
push 0
call fcn.10012170
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x10033819
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100337fe
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10002790
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10005910
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x10033832
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.10002790
mov eax, dword [ebp - 0x34]
movzx ebx, byte [ebp - 0x2d]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x100338d7
add ecx, 4
lea edx, [ebp - 0x2c]
call fcn.10013bd0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x50], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x54], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x58], 0
test ecx, ecx
je 0x1003388d
movsx ecx, word [ecx + 0x56]
movsx eax, word [edx + 0x66]
add ecx, eax
jmp 0x10033891
movsx ecx, word [edx + 0x66]
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x5c], ecx
mov eax, dword [edx + 0xc]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x100338d7
lea edx, [ebp - 0x2c]
call fcn.100159f0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebx*4]
mov ebx, dword [eax]
test ebx, ebx
je 0x100338d7
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100338d7
push 1
mov ecx, ebx
call dword [0x10094488]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10033a72
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10002790
jmp 0x10033a72
mov eax, dword [ebp - 0x34]
movzx ebx, byte [ebp - 0x2d]
mov eax, dword [eax + 0xc]
cmp dword [eax + ebx*4], 0
je 0x10033a72
movaps xmm0, xmmword [0x10096210]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x7228392e
mov dword [ebp - 0x40], 0x282438
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x16
jb 0x10033928
cmp byte [ebp - 0x53], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jne 0x10033955
xor ecx, ecx
jmp 0x10033969
lea ecx, [ebp - 0x53]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033960
sub ecx, edx
push ecx
lea eax, [ebp - 0x53]
push eax
lea ecx, [ebp - 0x70]
call fcn.100028b0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 4
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4]
add ecx, 4
call fcn.10013bd0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100339a7
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.10002790
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ebx*4]
cmp dword [eax], 0
je 0x10033a72
movaps xmm0, xmmword [str.g2._]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x49130215
mov dword [ebp - 0x40], 0x131f03
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x16
jb 0x100339d4
cmp byte [ebp - 0x53], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jne 0x10033a01
xor ecx, ecx
jmp 0x10033a10
lea ecx, [ebp - 0x53]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033a07
sub ecx, edx
push ecx
lea eax, [ebp - 0x53]
push eax
lea ecx, [ebp - 0x70]
call fcn.100028b0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 5
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx]
call fcn.100159f0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x10033a4d
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.10002790
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ebx*4]
mov ebx, dword [eax]
test ebx, ebx
je 0x10033a72
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10033a72
push eax
mov ecx, ebx
call dword [0x10094488]
inc byte [ebp - 0x2d]
add esi, 4
cmp esi, edi
jne 0x10033700
mov eax, dword [ebp - 0x34]
mov ecx, eax
call fcn.10033310
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10033aa0
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.10012e20
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.1003e245
mov esp, ebp
pop ebp
ret 0xc