Function at 0x10067a60
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 0x100ac0a0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
movzx edi, word [ebx + 8]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x100c9bdc
mov dword [ebp - 0x50], edi
call fcn.1000e980
mov eax, dword [ebp - 0x40]
mov ecx, dword [0x100c9bdc]
cmp byte [eax + 0xd], 0
jne 0x10067ad7
cmp edi, dword [eax + 0x10]
jae 0x10067ad9
mov eax, ecx
cmp eax, ecx
jne 0x10067ae1
xor edx, edx
jmp 0x10067ae4
lea edx, [eax + 0x14]
test edx, edx
je 0x10067b62
add edx, 4
cmp dword [edx + 0x14], 0xf
jbe 0x10067af3
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10067b10
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10002620
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10067c8c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10067c8c
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10067b56
jmp 0x10067c2c
mov byte [ebp - 0x48], 0x25
mov cl, 0x50
xor cl, byte [ebp - 0x48]
mov al, 0x19
xor al, byte [ebp - 0x48]
mov dl, 0x4b
mov byte [ebp - 0x47], al
mov ch, dl
mov byte [ebp - 0x46], cl
mov dh, 0x4a
mov cl, byte [ebp - 0x48]
mov ah, 0x4e
mov byte [ebp - 0x2d], 0x52
xor dl, cl
mov al, byte [ebp - 0x2d]
xor dh, cl
xor al, cl
mov byte [ebp - 0x37], ch
mov byte [ebp - 0x41], al
xor ch, cl
mov al, byte [ebp - 0x37]
xor ah, cl
xor al, cl
mov byte [ebp - 0x2e], 0x1b
mov byte [ebp - 0x40], al
xorps xmm0, xmm0
mov al, byte [ebp - 0x2e]
xor al, cl
mov byte [ebp - 0x43], ch
lea ecx, [ebp - 0x47]
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x45], dl
mov byte [ebp - 0x42], dh
lea edx, [ecx + 1]
mov byte [ebp - 0x44], ah
mov byte [ebp - 0x3f], al
mov byte [ebp - 0x3e], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10067be0
sub ecx, edx
lea eax, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002620
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x24]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10067c8c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10067c8c
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10067c25
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10085d23
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10087b80
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x2c]
push dword [ebp - 0x34]
push edx
push esi
call fcn.10087600
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x50]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100bd660]
push edi
call fcn.10085d1e
mov esi, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x10067cc3
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10067cb9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10068410
push ecx
push esi
call fcn.100859f6
add esp, 8
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov byte [ebp - 0x2d], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x78], ecx
cmp eax, ecx
je 0x100683e8
nop dword [eax + eax]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x3c], edi
movzx eax, ax
test edi, edi
je 0x100683d7
test ax, ax
je 0x100683d7
mov esi, dword [0x100bd5ac]
mov eax, 0x10624dd3
mul edi
mov ecx, 0xd78ae8
mov eax, edx
shr eax, 6
mov dword [ebp - 0x54], eax
imul eax, eax, 0x3e8
push eax
call fcn.1001cb40
mov ecx, eax
call esi
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x10067ff3
xorps xmm0, xmm0
mov word [ebp - 0x38], 0x1a
lea ecx, [ebp - 0x37]
mov byte [ebp - 0x37], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10067d60
sub ecx, edx
lea eax, [ebp - 0x37]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002620
mov eax, 0x12e0be83
mov byte [ebp - 4], 3
mov cl, byte [esi + 4]
mov esi, edi
mul edi
mov byte [ebp - 0x2e], cl
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x10067e34
cmp cl, 0x2d
jae 0x10067e34
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10067e34
sub esi, dword [ebp - 0x54]
movzx ecx, byte [ebp - 0x2e]
mov edx, dword [0x100bd5b0]
imul eax, esi, 0x3e8
mov ecx, dword [ecx*4 + 0xd78af0]
add eax, edi
push eax
call edx
mov edi, eax
mov esi, edi
test edi, edi
je 0x10067e38
cmp dword [edi + 0x48], 0
je 0x10067e38
push dword [ebp - 0x3c]
xor edx, edx
lea ecx, [ebp - 0x70]
push edi
call fcn.10012e90
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.100082d0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10067e30
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067e26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10068410
push ecx
push edx
call fcn.100859f6
add esp, 8
mov esi, edi
jmp 0x10067e89
xor esi, esi
jmp 0x10067e3b
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push edi
push 0
call fcn.10012e90
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
call fcn.100082d0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10067e89
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067e7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10068410
push ecx
push edx
call fcn.100859f6
add esp, 8
movzx eax, byte [ebp - 0x2d]
lea edi, [eax + eax*2]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], edi
mov ecx, dword [eax + edi*8 + 0x3c]
test ecx, ecx
je 0x10067fb0
add ecx, 4
lea edx, [ebp - 0x2c]
call fcn.10019230
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + edi*8 + 0x3c]
mov dword [eax + 0x50], ecx
mov eax, dword [edx + edi*8 + 0x3c]
mov dword [eax + 0x54], esi
mov eax, dword [edx + edi*8 + 0x3c]
mov dword [eax + 0x58], 0
test esi, esi
je 0x10067edf
mov eax, dword [ebp - 0x34]
movsx ecx, word [esi + 0x56]
movsx eax, word [eax + 0x66]
add ecx, eax
jmp 0x10067ee3
movsx ecx, word [ecx + 0x66]
mov eax, dword [edx + edi*8 + 0x3c]
mov dword [eax + 0x5c], ecx
mov eax, dword [edx + edi*8 + 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x10067fb0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], esi
test eax, eax
jne 0x10067f8a
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10067f20
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10085d23
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10087b80
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x3c]
push dword [ebp - 0x34]
push edx
push esi
call fcn.10087600
mov eax, dword [ebp - 0x34]
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 [0x100bd638]
push edi
call fcn.10085d1e
mov esi, dword [ebp - 0x3c]
add esp, 4
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + edi*8 + 0x3c]
mov edi, dword [eax]
test edi, edi
je 0x10067fb3
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10067fb3
push 1
mov ecx, edi
call dword [0x100bd600]
jmp 0x10067fb3
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x10068266
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10067fe4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10068410
push ecx
push esi
call fcn.100859f6
add esp, 8
jmp 0x10068266
lea eax, [edi - 1]
cmp eax, 0x5f5e0fe
ja 0x10068266
movzx eax, byte [ebp - 0x2d]
lea esi, [eax + eax*2]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], esi
mov dword [eax + esi*8 + 0x28], edi
mov edi, eax
cmp dword [edi + esi*8 + 0x3c], 0
je 0x10068247
movaps xmm0, xmmword [0x100bfe90]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x2b716077
mov dword [ebp - 0x18], 0x717d61
nop word [eax + eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x16
jb 0x10068040
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10068070
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002620
mov byte [ebp - 4], 4
lea edx, [ebp - 0x70]
mov ecx, dword [edi + esi*8 + 0x3c]
add ecx, 4
call fcn.10019230
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100680d1
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100680c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10068410
push ecx
push edx
call fcn.100859f6
add esp, 8
mov eax, dword [edi + esi*8 + 0x3c]
cmp dword [eax], 0
je 0x10068247
movaps xmm0, xmmword [str..2]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x550f1e09
mov dword [ebp - 0x18], 0xf031f
nop dword [eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x16
jb 0x10068100
xorps xmm0, xmm0
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10068130
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002620
mov byte [ebp - 4], 5
mov eax, dword [edi + esi*8 + 0x3c]
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x54], esi
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x100681ea
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100681ea
cmp dword [ebp - 0x5c], 0xf
lea ecx, [ebp - 0x70]
cmova ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10068180
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10085d23
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10087b80
add esp, 0xc
lea edx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x54]
push dword [ebp - 0x34]
push edx
push esi
call fcn.10087600
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100bd638]
push edi
call fcn.10085d1e
mov esi, dword [ebp - 0x54]
add esp, 4
mov edi, dword [ebp - 0x4c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 0xf
jbe 0x10068221
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10068217
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10068410
push ecx
push esi
call fcn.100859f6
add esp, 8
mov eax, dword [ebp - 0x3c]
mov eax, dword [edi + eax*8 + 0x3c]
mov esi, dword [eax]
test esi, esi
je 0x10068244
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10068244
push eax
mov ecx, esi
call dword [0x100bd600]
mov esi, dword [ebp - 0x3c]
mov esi, dword [edi + esi*8 + 0x38]
test esi, esi
je 0x10068266
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10068266
push 2
mov ecx, esi
call dword [0x100bd60c]
mov eax, dword [ebp - 0x74]
mov dl, 0x1b
movss xmm1, dword [0x100bec50]
sub esp, 0x20
movzx eax, ax
mov cl, 7
mov byte [ebp - 0x48], 0x29
mov ch, 0x4f
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x40], 0
movd xmm0, eax
mov al, 0xc
cvtdq2ps xmm0, xmm0
mov dh, al
mov ah, 0x45
xor al, byte [ebp - 0x48]
mov byte [ebp - 0x47], al
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x2e], dh
xor dl, al
divss xmm0, xmm1
xor dh, al
mov byte [ebp - 0x45], dl
xor cl, al
mov byte [ebp - 0x42], dh
xor ch, al
mov byte [ebp - 0x46], cl
mov edx, esp
mov byte [ebp - 0x43], ch
xor ah, al
lea ecx, [ebp - 0x47]
mov al, byte [ebp - 0x2e]
lea esi, [ecx + 1]
xor al, byte [ebp - 0x48]
mov byte [ebp - 0x44], ah
mov byte [ebp - 0x41], al
minss xmm1, xmm0
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x74], xmm1
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100682f6
sub ecx, esi
lea eax, [ebp - 0x47]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x70]
push eax
call fcn.10005dd0
add esp, 0x24
mov esi, dword [ebp - 0x4c]
mov edx, eax
mov byte [ebp - 4], 6
movzx edi, byte [ebp - 0x2d]
lea ecx, [edi + edi*2]
mov ecx, dword [esi + ecx*8 + 0x30]
call fcn.1001c9d0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10068368
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006835e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10068410
push ecx
push edx
call fcn.100859f6
add esp, 8
lea eax, [edi + edi*2]
mov dword [ebp - 0x60], 0
mov esi, dword [esi + eax*8 + 0x34]
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
test esi, esi
je 0x100683af
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100683af
movss xmm0, dword [ebp - 0x74]
sub esp, 0xc
mov ecx, esi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100bd64c]
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + edi*4 + 0xc]
test esi, esi
je 0x100683d1
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100683d1
push 1
mov ecx, esi
call dword [0x100bd600]
inc byte [ebp - 0x2d]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x50]
add eax, 8
mov dword [ebp - 0x50], eax
cmp eax, ecx
jne 0x10067ce0
lea ecx, [ebx + 0xc]
call fcn.1005ae60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.1008ac0f
int3