Function at 0x10071020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a03ed
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x3c], edx
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
jbe 0x1007183a
test eax, eax
je 0x1007183a
xor cl, cl
lea eax, [edx + 0x110]
mov esi, 6
cmp dword [eax - 4], 0
je 0x10071082
cmp dword [eax], 0
jne 0x10071084
inc cl
add eax, 0x18
sub esi, 1
jne 0x10071077
test cl, cl
jne 0x100711dd
movaps xmm0, xmmword [str._BZH_]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x100710a1
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1f]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100710d0
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002540
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100af680]
movups xmmword [ebp - 0x98], xmm0
mov byte [ebp - 0x78], 0
movaps xmm0, xmmword [0x100aedc0]
movups xmmword [ebp - 0x88], xmm0
nop
mov al, byte [ebp - 0x98]
xor byte [ebp + ecx - 0x97], al
inc ecx
cmp ecx, 0x1f
jb 0x10071110
xorps xmm0, xmm0
mov byte [ebp - 0x78], 0
lea ecx, [ebp - 0x97]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10071145
sub ecx, edx
lea eax, [ebp - 0x97]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002540
push 0
push 0
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10024260
mov ecx, dword [ebp - 0x14]
add esp, 8
cmp ecx, 0xf
jbe 0x100711a8
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007119e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071861
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1007183a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100711d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071861
push ecx
push edx
jmp 0x10071832
mov eax, dword [ebp + 0x14]
xor cl, cl
cmp eax, 1
jne 0x10071384
movzx eax, cl
lea eax, [eax + eax*2]
cmp dword [edx + eax*8 + 0x118], 2
jne 0x10071399
movaps xmm0, xmmword [0x100aea40]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
nop dword [eax]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10071210
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1f]
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 0x10071240
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002540
mov dword [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x100af3b0]
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0x9c], 0x373862
movaps xmm0, xmmword [0x100af3c0]
movups xmmword [ebp - 0xdc], xmm0
movaps xmm0, xmmword [0x100afdb0]
movups xmmword [ebp - 0xcc], xmm0
movaps xmm0, xmmword [0x100afd40]
movups xmmword [ebp - 0xbc], xmm0
movaps xmm0, xmmword [0x100afac0]
movups xmmword [ebp - 0xac], xmm0
nop
mov al, byte [ebp - 0xec]
xor byte [ebp + ecx - 0xeb], al
inc ecx
cmp ecx, 0x52
jb 0x100712b0
xorps xmm0, xmm0
mov byte [ebp - 0x99], 0
lea ecx, [ebp - 0xeb]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100712e8
sub ecx, edx
lea eax, [ebp - 0xeb]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002540
push 0
push 0
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10024260
mov ecx, dword [ebp - 0x44]
add esp, 8
cmp ecx, 0xf
jbe 0x1007134b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071341
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071861
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1007183a
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100711d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071861
push ecx
push edx
jmp 0x10071832
cmp eax, 2
jne 0x1007139c
movzx eax, cl
lea eax, [eax + eax*2]
cmp dword [edx + eax*8 + 0x118], 1
je 0x100713e2
mov eax, dword [ebp + 0x14]
inc cl
cmp cl, 6
jb 0x100711e2
xor cl, cl
nop dword [eax]
movzx eax, cl
mov dword [ebp - 0x74], eax
lea eax, [eax + eax*2]
cmp dword [edx + eax*8 + 0x10c], 0
lea edi, [edx + eax*8]
mov dword [ebp - 0x40], edi
ja 0x100713d6
cmp dword [edi + 0x110], 0
jbe 0x10071574
inc cl
cmp cl, 6
jb 0x100713b0
jmp 0x1007183a
movaps xmm0, xmmword [str.Y_t6._t_f_y_n_6_]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x100713f0
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1f]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10071420
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002540
mov dword [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0x100af0c0]
movups xmmword [ebp - 0xec], xmm0
mov word [ebp - 0x9c], 0x202f
movaps xmm0, xmmword [0x100afc90]
movups xmmword [ebp - 0xdc], xmm0
mov byte [ebp - 0x9a], 0
movaps xmm0, xmmword [0x100af100]
movups xmmword [ebp - 0xcc], xmm0
movaps xmm0, xmmword [0x100afd00]
movups xmmword [ebp - 0xbc], xmm0
movaps xmm0, xmmword [0x100afd10]
movups xmmword [ebp - 0xac], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0xec]
xor byte [ebp + ecx - 0xeb], al
inc ecx
cmp ecx, 0x51
jb 0x100714a0
xorps xmm0, xmm0
mov byte [ebp - 0x9a], 0
lea ecx, [ebp - 0xeb]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100714d8
sub ecx, edx
lea eax, [ebp - 0xeb]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002540
push 0
push 0
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.10024260
mov ecx, dword [ebp - 0x5c]
add esp, 8
cmp ecx, 0xf
jbe 0x1007153b
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10071531
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071861
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1007183a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100711d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071861
push ecx
push edx
jmp 0x10071832
mov esi, dword [0x100ae504]
mov eax, 0x10624dd3
mul dword [ebp - 0x30]
mov ecx, 0xd78ae8
mov eax, edx
shr eax, 6
mov dword [ebp - 0x38], eax
imul eax, eax, 0x3e8
push eax
call fcn.100184a0
mov ecx, eax
call esi
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1007183a
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
mov esi, dword [ebp - 0x30]
mov dword [ebp - 4], 6
mov cl, byte [eax + 4]
mov eax, 0x12e0be83
mul esi
mov dword [ebp - 0x18], 0
sub esi, edx
mov byte [ebp - 0x28], 0
shr esi, 1
add esi, edx
mov byte [ebp - 0x29], cl
shr esi, 0x1d
cmp esi, 4
jae 0x10071678
cmp cl, 0x2d
jae 0x10071678
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10071678
sub esi, dword [ebp - 0x38]
movzx ecx, byte [ebp - 0x29]
mov edx, dword [0x100ae508]
imul eax, esi, 0x3e8
mov ecx, dword [ecx*4 + 0xd78af0]
add eax, dword [ebp - 0x30]
push eax
call edx
mov esi, eax
test eax, eax
je 0x1007167a
cmp dword [eax + 0x48], 0
je 0x1007167a
push dword [ebp - 0x30]
xor edx, edx
lea ecx, [ebp - 0x70]
push eax
call fcn.1000c7d0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10005c60
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100716d0
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100716c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071857
jmp 0x100716c6
xor esi, esi
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x90]
push 0
call fcn.1000c7d0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10005c60
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x100716d0
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100716c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007185c
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x3c]
lea eax, [eax + eax*2]
lea eax, [eax + 0x21]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x100717e4
add ecx, 4
lea edx, [ebp - 0x28]
call fcn.10012d00
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [eax + 0x50], ecx
mov eax, dword [edx]
mov dword [eax + 0x54], esi
mov eax, dword [edx]
mov dword [eax + 0x58], 1
test esi, esi
je 0x10071723
mov eax, dword [ebp - 0x34]
movsx ecx, word [esi + 0x56]
movsx eax, word [eax + 0x66]
add ecx, eax
jmp 0x10071727
movsx ecx, word [ecx + 0x66]
mov eax, dword [edx]
mov dword [eax + 0x5c], ecx
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x100717e4
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [ebp - 0x28]
test eax, eax
jne 0x100717bc
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10071758
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
push esi
mov edi, eax
push 0
push edi
call fcn.10081b50
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x34]
cmova edx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x34]
add esp, 0x1c
mov ecx, dword [ebp - 0x3c]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae580]
push edi
call fcn.1007fa54
mov edi, dword [ebp - 0x40]
add esp, 4
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x100717e7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100717e7
mov ecx, dword [ebp - 0x40]
push 1
call dword [0x100ae54c]
jmp 0x100717e7
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov dword [edi + 0x10c], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x110], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x114], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x118], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1007183a
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10071830
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10071861
push ecx
push esi
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f9e5
mov esp, ebp
pop ebp
ret 0x10
call fcn.10084bdf
call fcn.10084bdf
call fcn.10084bdf
int3