Function at 0x100334e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a1c5
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x10070014]
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 eax, dword [edi + 0x158]
cmp eax, dword [edi + 0x15c]
je 0x10033e65
mov ecx, dword [edi + 0x15c]
sub ecx, eax
mov dword [ebp - 0x70], 0
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x10033a0a
mov ebx, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
mov eax, dword [edi + 0x158]
cmp dword [esi + eax + 0x18], ebx
je 0x10033589
inc ecx
add esi, 0x68
mov dword [ebp - 0x70], ecx
mov ecx, dword [edi + 0x15c]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [ebp - 0x70]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x10033551
jmp 0x10033a0a
imul edx, ecx, 0x68
mov ebx, 4
mov ecx, eax
mov al, byte [ebp + 0xc]
mov dword [ebp - 0x98], edx
mov byte [ecx + edx + 0x65], al
lea esi, [edx + 0x58]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub eax, edx
mov dword [ebp + 0x10], eax
nop
mov ecx, dword [edi + 0x158]
lea edx, [edx + 2]
movzx eax, word [eax + edx - 2]
lea esi, [esi + 2]
mov word [ecx + esi - 0xa], ax
mov ecx, dword [edi + 0x158]
movzx eax, word [edx - 2]
mov word [esi + ecx - 2], ax
mov eax, dword [ebp + 0x10]
sub ebx, 1
jne 0x100335b0
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x140]
jne 0x10033a0a
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea eax, [edi + 0xb4]
mov dword [ebp - 0x3c], eax
lea eax, [edi + 0x84]
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 4
nop dword [eax]
mov esi, dword [eax]
push 4
push esi
call ebx
test eax, eax
jne 0x100339f0
push 4
add esi, 0xe5
push esi
call ebx
test eax, eax
jne 0x100339f0
mov al, byte [esi]
test al, al
je 0x100339f0
mov eax, dword [edi + 0x158]
mov ecx, dword [ebp - 0x98]
cmp byte [eax + ecx + 0x65], 2
jne 0x1003373e
movaps xmm0, xmmword [0x10067ef0]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x34322f3a
mov word [ebp - 0x40], 0x635
mov byte [ebp - 0x3e], 0
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x15
jb 0x10033681
cmp byte [ebp - 0x53], 0
mov byte [ebp - 0x3e], 0
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
jne 0x100336b1
xor ecx, ecx
jmp 0x100336c0
lea ecx, [ebp - 0x53]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100336b7
sub ecx, edx
push ecx
lea eax, [ebp - 0x53]
push eax
lea ecx, [ebp - 0x90]
call fcn.10005550
mov dword [ebp - 4], 0
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x100336f6
push 4
push esi
call ebx
test eax, eax
jne 0x100336f6
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call dword [0x100665c8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x10033712
inc eax
push eax
push dword [ebp - 0x90]
call fcn.10005420
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x1003372f
push 4
push esi
call ebx
test eax, eax
jne 0x1003372f
push 0xff5cb9fe
mov ecx, esi
call dword [0x100665d0]
mov dword [ebp - 0x94], 0xff808080
jmp 0x10033810
mov cl, 0x66
mov dword [ebp - 0x38], 0x8333d66
mov dword [ebp - 0x34], 0x46140302
xor eax, eax
mov dword [ebp - 0x30], 0x3b1f0711
mov byte [ebp - 0x2c], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xb
jae 0x1003376f
mov cl, byte [ebp - 0x38]
jmp 0x10033760
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
jne 0x10033792
xor ecx, ecx
jmp 0x100337a1
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033798
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x90]
call fcn.10005550
mov dword [ebp - 4], 1
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x100337d7
push 4
push esi
call ebx
test eax, eax
jne 0x100337d7
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call dword [0x100665c8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x100337f3
inc eax
push eax
push dword [ebp - 0x90]
call fcn.10005420
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x10033810
push 4
push esi
call ebx
test eax, eax
jne 0x10033810
push 0xffc4fc03
mov ecx, esi
call dword [0x100665d0]
mov esi, dword [ebp - 0x3c]
mov esi, dword [esi - 4]
test esi, esi
je 0x10033831
push 4
push esi
call ebx
test eax, eax
jne 0x10033831
push dword [ebp - 0x94]
mov ecx, esi
call dword [0x100665d0]
imul edx, dword [ebp - 0x70], 0x34
mov ebx, dword [ebp - 0x74]
mov eax, dword [edi + 0x158]
lea ecx, [edx + ebx]
movzx eax, word [eax + ecx*2 + 0x58]
lea ecx, [edx + ebx]
push eax
mov eax, dword [edi + 0x158]
mov bh, 0x23
mov dword [ebp - 0x78], ecx
mov dl, 3
mov bl, 0xc
xor bl, bh
movzx eax, word [eax + ecx*2 + 0x50]
mov cl, 0x47
push eax
mov dh, cl
mov byte [ebp - 0x60], 0
mov ah, dl
mov byte [ebp - 0x68], bh
xor dl, bh
mov byte [ebp - 0x64], bl
mov byte [ebp - 0x65], dl
xor dh, bh
mov byte [ebp - 0x61], dh
mov al, 6
sub esp, 0x18
mov byte [ebp - 0x60], 0
mov edx, esp
mov ch, al
xor al, bh
xor cl, bh
mov byte [ebp - 0x67], al
xor ah, bh
mov byte [ebp - 0x66], cl
xor ch, bh
mov byte [ebp - 0x63], ah
mov byte [ebp - 0x62], ch
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100338c2
mov eax, dword [edx]
jmp 0x100338c4
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x67], 0
jne 0x100338d1
xor ecx, ecx
jmp 0x100338e0
lea ecx, [ebp - 0x67]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100338d7
sub ecx, esi
push ecx
lea eax, [ebp - 0x67]
mov ecx, edx
push eax
call fcn.10005550
lea eax, [ebp - 0x90]
push eax
call fcn.10004e70
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x1003390c
mov edx, dword [edx]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp byte [edx], 0
jne 0x10033927
xor ecx, ecx
jmp 0x10033939
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033930
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.10005550
mov ebx, dword [ebp - 0x3c]
mov byte [ebp - 4], 3
mov esi, dword [ebx]
test esi, esi
je 0x10033969
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10033969
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call dword [0x100665c8]
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x1003397b
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10005420
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp eax, 0x10
jb 0x100339a9
inc eax
push eax
push dword [ebp - 0x90]
call fcn.10005420
mov eax, dword [edi + 0x158]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebx + 4]
movzx esi, word [eax + ecx*2 + 0x50]
test ebx, ebx
je 0x100339ea
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100339ea
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov ecx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100665b8]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [ebp - 0x58]
inc dword [ebp - 0x74]
add eax, 4
add dword [ebp - 0x3c], 0x14
sub dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], eax
jne 0x10033620
mov eax, dword [edi + 0x144]
shl eax, 2
mov dword [ebp - 0x78], eax
lea esi, [eax - 4]
mov dword [ebp - 0x58], esi
cmp esi, eax
jge 0x10033e65
imul ebx, esi, 0x68
lea eax, [edi + 0xc]
nop word [eax + eax]
mov ecx, dword [edi + 0x15c]
add eax, 0x18
sub ecx, dword [edi + 0x158]
mov dword [ebp - 0x3c], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp esi, eax
jg 0x10033e65
mov eax, dword [edi + 0x158]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
add eax, ebx
mov dword [ebp - 0x5c], 0xffc4fc03
push 0
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10005110
mov dword [ebp - 4], 4
mov eax, dword [edi + 0x158]
cmp byte [ebx + eax + 0x65], 2
jne 0x10033b00
movaps xmm0, xmmword [0x100685c0]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x667b6e7c
mov dword [ebp - 0x40], 0x526160
nop dword [eax]
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x16
jb 0x10033ac0
cmp byte [ebp - 0x53], 0
mov byte [ebp - 0x3d], 0
jne 0x10033adb
xor ecx, ecx
jmp 0x10033aea
lea ecx, [ebp - 0x53]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033ae1
sub ecx, edx
push ecx
lea eax, [ebp - 0x53]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008280
mov dword [ebp - 0x5c], 0xff5cb9fe
jmp 0x10033b59
mov cl, 0x65
mov dword [ebp - 0x38], 0x303e4565
mov dword [ebp - 0x34], 0x1700010b
xor eax, eax
mov dword [ebp - 0x30], 0x1c041245
mov word [ebp - 0x2c], 0x38
nop
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xc
jae 0x10033b2f
mov cl, byte [ebp - 0x38]
jmp 0x10033b20
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x2b], 0
jne 0x10033b3d
xor ecx, ecx
jmp 0x10033b4c
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033b43
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008280
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x7c], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp byte [edx], 0
jne 0x10033b82
xor ecx, ecx
jmp 0x10033b90
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033b87
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.10005550
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 5
mov esi, dword [esi]
test esi, esi
je 0x10033bc6
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10033bc6
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call dword [0x100665c8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x10033bdf
inc eax
push eax
push dword [ebp - 0x90]
call fcn.10005420
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax]
test esi, esi
je 0x10033c00
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10033c00
push dword [ebp - 0x5c]
mov ecx, esi
call dword [0x100665d0]
mov eax, dword [edi + 0x158]
xor ecx, ecx
movaps xmm0, xmmword [0x100678d0]
movzx eax, byte [eax + ebx + 0x64]
push eax
mov eax, dword [edi + 0x158]
movzx eax, byte [ebx + eax + 0x63]
push eax
movups xmmword [ebp - 0x6c], xmm0
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0xe
jb 0x10033c25
sub esp, 0x18
mov byte [ebp - 0x5d], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10033c61
mov eax, dword [edx]
jmp 0x10033c63
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x6b], 0
jne 0x10033c70
xor ecx, ecx
jmp 0x10033c7f
lea ecx, [ebp - 0x6b]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033c76
sub ecx, esi
push ecx
lea eax, [ebp - 0x6b]
mov ecx, edx
push eax
call fcn.10005550
lea eax, [ebp - 0xcc]
push eax
call fcn.10004e70
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x10033ca8
mov edx, dword [edx]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp byte [edx], 0
jne 0x10033cc3
xor ecx, ecx
jmp 0x10033cd1
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033cc8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.10005550
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 7
mov esi, dword [eax - 4]
test esi, esi
je 0x10033d02
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10033d02
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call dword [0x100665c8]
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x10033d14
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10005420
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp eax, 0x10
jb 0x10033d42
inc eax
push eax
push dword [ebp - 0xcc]
call fcn.10005420
mov eax, dword [edi + 0x158]
lea ecx, [ebp - 0xcc]
mov dx, word [eax + ebx + 0x60]
call fcn.1002d8f0
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0x10
jb 0x10033d66
mov edx, dword [edx]
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
cmp byte [edx], 0
jne 0x10033d8a
xor ecx, ecx
jmp 0x10033d99
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033d90
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.10005550
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 9
mov esi, dword [eax + 8]
test esi, esi
je 0x10033dd0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10033dd0
lea eax, [ebp - 0xb4]
mov ecx, esi
push eax
call dword [0x100665c8]
mov eax, dword [ebp - 0xa0]
cmp eax, 0x10
jb 0x10033de8
inc eax
push eax
push dword [ebp - 0xb4]
call fcn.10005420
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
cmp eax, 0x10
jb 0x10033e1b
inc eax
push eax
push dword [ebp - 0xcc]
call fcn.10005420
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
cmp eax, 0x10
jb 0x10033e4f
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10005420
mov esi, dword [ebp - 0x58]
add ebx, 0x68
mov eax, dword [ebp - 0x3c]
inc esi
mov dword [ebp - 0x58], esi
cmp esi, dword [ebp - 0x78]
jl 0x10033a30
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.10054950
mov esp, ebp
pop ebp
ret 0x10