Function at 0x10033990
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 0x10033d3f
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call ebx
test eax, eax
jne 0x10033d3f
push 4
add esi, 0xfc
push esi
call ebx
test eax, eax
jne 0x10033d3f
mov al, byte [esi]
test al, al
je 0x10033d3f
cmp dword [ebp + 8], 0
je 0x10033d3f
cmp dword [0x100c19b4], 0
je 0x10033d3f
mov eax, dword [edi]
mov eax, dword [eax + 0x314]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x10033d3f
call fcn.10011e90
lea ebx, [edi + 8]
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 0x10033d2f
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10033d2f
push dword [ebp - 0x8c]
mov ecx, esi
push dword [ebp - 0x90]
call dword [0x100b0d80]
test al, al
je 0x10033d2f
cmp byte [ebx + 4], 0
je 0x10033d2f
mov eax, dword [0x100c19b4]
mov edx, dword [ebx]
push 0x2c
mov eax, dword [eax + 0x44]
cmp eax, edx
jae 0x10033ba6
lea ecx, [ebp - 0xac]
call fcn.10012630
add esp, 4
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x10033ac3
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b17b0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x20262c37
mov dword [ebp - 0x58], 0x60657f65
mov word [ebp - 0x54], 0x36
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x18
jb 0x10033ae5
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 0x10033b30
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 0x10033d2f
lea ecx, [ebp - 0xc4]
call fcn.10012630
add esp, 4
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x10033bc3
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b1b60]
push eax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0x191f150e
xor eax, eax
mov dword [ebp - 0x74], 0x595c465c
mov word [ebp - 0x70], 0xf
nop dword [eax + eax]
mov cl, byte [ebp - 0x88]
xor byte [ebp + eax - 0x87], cl
inc eax
cmp eax, 0x18
jb 0x10033bf0
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 0x10033c41
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 0x10033cac
mov edx, 0xff00fff6
jmp 0x10033d18
cmp ecx, 0x5f5e100
jl 0x10033cbb
mov edx, 0xffff00ea
jmp 0x10033d18
cmp ecx, 0x989680
jl 0x10033cca
mov edx, 0xfffc9601
jmp 0x10033d18
cmp ecx, 0xf4240
jl 0x10033cd9
mov edx, 0xff00d939
jmp 0x10033d18
cmp ecx, 0x186a0
jge 0x10033d18
cmp ecx, 0x2710
jl 0x10033cf0
mov edx, 0xff00fff6
jmp 0x10033d18
cmp ecx, 0x3e8
jl 0x10033cff
mov edx, 0xffff00ea
jmp 0x10033d18
cmp ecx, 0x64
jl 0x10033d0b
mov edx, 0xfffc9601
jmp 0x10033d18
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 0x10033a50
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