Function at 0x10034fc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d6d8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100b7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x1003537f
mov dword [esi + 0x24], eax
xor eax, eax
mov word [esi + 0x20], 1
mov word [esi + 0x28], ax
call fcn.10035c30
movaps xmm0, xmmword [0x100af920]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x61610a71
mov dword [ebp - 0x3c], 0xc61616b
mov byte [ebp - 0x38], 0
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x17
jb 0x10035045
xorps xmm0, xmm0
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x4f]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035071
sub ecx, edx
lea eax, [ebp - 0x4f]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002580
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xc]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x10035120
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10035120
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100350b6
sub ecx, edx
mov dword [ebp - 0x30], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100831e0
add esp, 0xc
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova ecx, dword [ebp - 0x2c]
push dword [ebp - 0x30]
push ecx
push esi
call fcn.10082c60
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae570]
push edi
call fcn.100810e4
mov esi, dword [ebp - 0x34]
add esp, 4
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x10035157
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003514d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100353ca
push ecx
push edi
call fcn.100810d6
add esp, 8
cmp dword [ebx + 0x1c], 0
jne 0x100352cb
mov byte [ebp - 0x20], 0x3d
mov cl, 0x54
xor cl, byte [ebp - 0x20]
mov al, 0x6e
xor al, byte [ebp - 0x20]
mov dl, 0x58
mov byte [ebp - 0x1f], al
mov ch, dl
mov byte [ebp - 0x1e], cl
mov dh, 0x1d
mov cl, byte [ebp - 0x20]
mov ah, 0x5a
mov byte [ebp - 0x11], 0x7e
xor dl, cl
mov al, byte [ebp - 0x11]
xor ch, cl
xor al, cl
mov byte [ebp - 0x12], 0x51
mov byte [ebp - 0x19], al
xor dh, cl
mov al, byte [ebp - 0x12]
xor ah, cl
xor al, cl
mov byte [ebp - 0x13], 0x5c
mov byte [ebp - 0x18], al
xorps xmm0, xmm0
mov al, byte [ebp - 0x13]
xor al, cl
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x14]
xor al, cl
mov byte [ebp - 0x1b], ch
lea ecx, [ebp - 0x1f]
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1a], dh
lea edx, [ecx + 1]
mov byte [ebp - 0x1c], ah
mov byte [ebp - 0x16], al
mov byte [ebp - 0x15], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100351e7
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10002580
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10035297
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10035297
cmp dword [ebp - 0x3c], 0xf
lea ecx, [ebp - 0x50]
cmova ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035230
sub ecx, edx
mov dword [ebp - 0x30], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100831e0
add esp, 0xc
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0xf
lea esi, [edi + 0x20]
cmova ecx, dword [ebp - 0x50]
push dword [ebp - 0x30]
push ecx
push esi
call fcn.10082c60
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae570]
push edi
call fcn.100810e4
mov esi, dword [ebp - 0x50]
add esp, 4
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x1003537f
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100352c4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100353ca
push ecx
push esi
jmp 0x10035377
cmp dword [ebx + 0x20], 0xf
lea eax, [ebx + 0xc]
movaps xmm0, xmmword [0x100af140]
cmova eax, dword [ebx + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0
nop word [eax + eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x100352f0
sub esp, 0x18
mov byte [ebp - 0x17], 0
mov edx, esp
lea ecx, [ebp - 0x27]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035320
sub ecx, edi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x50]
push eax
call fcn.1000a310
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [esi + 0x10]
call fcn.10018260
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1003537f
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035375
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100353c5
push ecx
push edx
call fcn.100810d6
add esp, 8
mov ecx, dword [ebx + 0x20]
cmp ecx, 0xf
jbe 0x100353af
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100353a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100353ca
push ecx
push edx
call fcn.100810d6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
call fcn.1008626f
call fcn.1008626f
int3