Function at 0x10035fe0
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 0x100a1f80
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100bd080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
cmp word [ebx + 8], 0
mov dword [ebp - 4], 0
jbe 0x10036526
cmp word [esi + 0x28], 0
jg 0x10036526
movaps xmm0, xmmword [str._qVCLFKLE]
xor ecx, ecx
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x18121279
mov dword [ebp - 0x18], 0x7f1212
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x16
jb 0x10036063
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036090
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10002570
mov byte [ebp - 4], 1
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1003613f
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003613f
cmp dword [ebp - 0x3c], 0xf
lea ecx, [ebp - 0x50]
cmova ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100360d5
sub ecx, edx
mov dword [ebp - 0x30], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fd43
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10081a90
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.10081510
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100b2f38]
push edi
call fcn.1007fd3e
mov esi, dword [ebp - 0x54]
add esp, 4
mov edi, dword [ebp - 0x50]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x10036176
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003616c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036571
push ecx
push edi
call fcn.1007fa16
add esp, 8
movaps xmm0, xmmword [0x100b46b0]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x77771c67
mov dword [ebp - 0x18], 0x1a77777d
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10036195
xorps xmm0, xmm0
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100361c1
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10002570
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xc]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1003627a
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003627a
cmp dword [ebp - 0x3c], 0xf
lea ecx, [ebp - 0x50]
cmova ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036210
sub ecx, edx
mov dword [ebp - 0x30], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fd43
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10081a90
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.10081510
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100b2f38]
push edi
call fcn.1007fd3e
mov esi, dword [ebp - 0x54]
add esp, 4
mov edi, dword [ebp - 0x50]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x100362b1
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100362a7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036571
push ecx
push edi
call fcn.1007fa16
add esp, 8
cmp dword [ebx + 0x1c], 0
jne 0x1003643a
mov byte [ebp - 0x20], 0x27
mov cl, 0x4e
xor cl, byte [ebp - 0x20]
mov al, 0x74
xor al, byte [ebp - 0x20]
mov dl, 0x42
mov byte [ebp - 0x1f], al
mov ch, dl
mov byte [ebp - 0x1e], cl
mov dh, 7
mov cl, byte [ebp - 0x20]
mov ah, 0x40
mov byte [ebp - 0x31], 0x64
xor dl, cl
mov al, byte [ebp - 0x31]
xor ch, cl
xor al, cl
mov byte [ebp - 0x32], 0x4b
mov byte [ebp - 0x19], al
xor dh, cl
mov al, byte [ebp - 0x32]
xor ah, cl
xor al, cl
mov byte [ebp - 0x33], 0x46
mov byte [ebp - 0x18], al
xorps xmm0, xmm0
mov al, byte [ebp - 0x33]
xor al, cl
mov byte [ebp - 0x34], 0x49
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x34]
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 0x10036341
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10002570
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x10]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x100363fa
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100363fa
cmp dword [ebp - 0x3c], 0xf
lea ecx, [ebp - 0x50]
cmova ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036390
sub ecx, edx
mov dword [ebp - 0x30], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fd43
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10081a90
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.10081510
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100b2f38]
push edi
call fcn.1007fd3e
mov esi, dword [ebp - 0x54]
add esp, 4
mov edi, dword [ebp - 0x50]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
cmp eax, 0xf
jbe 0x10036509
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003642b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036571
push ecx
push edi
call fcn.1007fa16
add esp, 8
jmp 0x10036509
cmp dword [ebx + 0x20], 0xf
lea eax, [ebx + 0xc]
movaps xmm0, xmmword [0x100b44d0]
cmova eax, dword [ebx + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x40
nop dword [eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x10036460
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 0x10036490
sub ecx, edi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x50]
push eax
call fcn.1000dc10
add esp, 0x20
mov byte [ebp - 4], 4
mov edx, eax
mov ecx, dword [esi + 0x10]
call fcn.10019550
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x100364f7
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100364ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003656c
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov ecx, dword [esi]
push 2
call dword [0x100b2fd4]
mov ax, word [ebx + 8]
mov ecx, esi
mov word [esi + 0x28], ax
mov byte [esi + 0x21], 1
call fcn.10036840
mov ecx, dword [ebx + 0x20]
cmp ecx, 0xf
jbe 0x10036556
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003654c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036571
push ecx
push edx
call fcn.1007fa16
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.10084b1f
call fcn.10084b1f
int3