Function at 0x1007a300
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 0x100a0703
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x100b7040]
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 - 0x80], esi
movzx ecx, word [ebx + 0xc]
movzx eax, word [ebx + 8]
movzx edx, word [ebx + 0x14]
mov dword [ebp - 0x88], ecx
movzx ecx, word [ebx + 0x10]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x1007ab6f
test cx, cx
je 0x1007ab6f
cmp dword [esi + 0x34], 0
jg 0x1007ab6f
mov eax, dword [esi + 8]
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1007a42d
push 4
push eax
call ecx
test eax, eax
jne 0x1007a427
cmp dword [ebx + 0x30], 0xf
lea ecx, [ebx + 0x1c]
cmova ecx, dword [ebx + 0x1c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a3c0
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10081b50
add esp, 0xc
lea edx, [ebx + 0x1c]
cmp dword [ebx + 0x30], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebx + 0x1c]
push dword [ebp - 0x4c]
push edx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae5a8]
push edi
call fcn.1007fa54
mov esi, dword [ebp - 0x80]
add esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1007a4b9
push 4
push eax
call ecx
test eax, eax
jne 0x1007a4b9
cmp dword [ebx + 0x48], 0xf
lea ecx, [ebx + 0x34]
cmova ecx, dword [ebx + 0x34]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a452
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10081b50
add esp, 0xc
lea edx, [ebx + 0x34]
cmp dword [ebx + 0x48], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebx + 0x34]
push dword [ebp - 0x4c]
push edx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae5a8]
push edi
call fcn.1007fa54
mov esi, dword [ebp - 0x80]
add esp, 4
mov edi, dword [esi + 0x10]
test edi, edi
je 0x1007a4d6
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007a4d6
push eax
mov ecx, edi
call dword [0x100ae5ac]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x1007a4f3
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007a4f3
push eax
mov ecx, edi
call dword [0x100ae5ac]
mov edi, dword [ebp - 0x84]
cmp di, 0xffff
je 0x1007ab0b
cmp word [ebp - 0x7c], 0xffff
je 0x1007ab0b
mov byte [ebp - 0x78], 8
mov al, 0x7b
xor al, byte [ebp - 0x78]
mov cl, 0x71
mov byte [ebp - 0x77], al
mov dl, 0x65
mov al, byte [ebp - 0x78]
mov ah, 0x6a
xor cl, al
mov byte [ebp - 0x4d], 0x54
xor dl, al
mov byte [ebp - 0x76], cl
mov ch, 0x67
mov byte [ebp - 0x70], 0
xor ch, al
mov byte [ebp - 0x75], dl
mov dh, 0x64
mov byte [ebp - 0x73], ch
xor dh, al
mov byte [ebp - 0x70], 0
xor ah, al
mov byte [ebp - 0x72], dh
mov al, byte [ebp - 0x4d]
lea ecx, [ebp - 0x77]
xor al, byte [ebp - 0x78]
mov edx, dword [0x100b8f70]
mov byte [ebp - 0x74], ah
mov byte [ebp - 0x71], al
lea eax, [ecx + 1]
mov dword [ebp - 0x84], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a567
sub ecx, dword [ebp - 0x84]
mov eax, 0x7fffffff
sub eax, edx
cmp eax, ecx
jb 0x1007ac05
cmp dword [0x100b8f74], 0xf
mov eax, 0x100b8f60
push ecx
cmova eax, dword [0x100b8f60]
lea ecx, [ebp - 0x77]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x54]
lea ecx, [ebp - 0x44]
call fcn.1000f860
mov dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 2
test ax, ax
jne 0x1007a63e
movaps xmm0, xmmword [0x100af070]
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x256f2a33
mov word [ebp - 0x58], 0x3539
mov byte [ebp - 0x56], al
nop dword [eax]
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x15
jb 0x1007a5e0
xorps xmm0, xmm0
mov byte [ebp - 0x56], 0
lea ecx, [ebp - 0x6b]
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a615
sub ecx, edx
lea eax, [ebp - 0x6b]
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.10002540
lea ecx, [ebp - 0xa0]
mov eax, 0x11
jmp 0x1007a6c0
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
movaps xmm0, xmmword [0x100af410]
cmova ecx, dword [ebp - 0x44]
cwde
push eax
movsx eax, di
push eax
push 1
push ecx
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x58], 0x36
xor ecx, ecx
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x10
jb 0x1007a665
sub esp, 0x18
mov byte [ebp - 0x57], 0
mov edx, esp
lea ecx, [ebp - 0x67]
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 0x1007a695
sub ecx, edi
lea eax, [ebp - 0x67]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0xb8]
push eax
call fcn.1000ae50
mov ecx, eax
add esp, 0x2c
mov eax, 0x12
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 4
test al, 2
je 0x1007a754
mov ecx, dword [ebp - 0xa4]
and eax, 0xfffffffd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
cmp ecx, 0xf
jbe 0x1007a739
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007a72c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ac0a
push ecx
push edx
call fcn.1007fa46
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov byte [ebp - 4], 5
test al, 1
je 0x1007a79f
mov ecx, dword [ebp - 0x8c]
and eax, 0xfffffffe
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
cmp ecx, 0xf
jbe 0x1007a79f
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007a795
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ac0a
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x2c]
call fcn.10018110
mov edi, dword [esi + 0x18]
test edi, edi
je 0x1007a7f0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007a7f0
sub esp, 0x20
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100ae58c]
mov eax, dword [ebp - 0x54]
test ax, ax
jne 0x1007a881
movaps xmm0, xmmword [0x100af890]
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x52185d44
mov word [ebp - 0x58], 0x424e
mov byte [ebp - 0x56], al
nop dword [eax]
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x15
jb 0x1007a820
xorps xmm0, xmm0
mov byte [ebp - 0x56], 0
lea ecx, [ebp - 0x6b]
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a855
sub ecx, edx
lea eax, [ebp - 0x6b]
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.10002540
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
or dword [ebp - 0x48], 4
jmp 0x1007a90a
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
movaps xmm0, xmmword [0x100afd60]
cmova ecx, dword [ebp - 0x44]
cwde
push eax
mov eax, dword [ebp - 0x7c]
cwde
push eax
push 1
push ecx
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x58], 0x75
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x10
jb 0x1007a8b0
sub esp, 0x18
mov byte [ebp - 0x57], 0
mov edx, esp
lea ecx, [ebp - 0x67]
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 0x1007a8e0
sub ecx, edi
lea eax, [ebp - 0x67]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0xd0]
push eax
call fcn.1000ae50
add esp, 0x2c
mov ecx, eax
or dword [ebp - 0x48], 8
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10005c60
mov eax, dword [ebp - 0x48]
test al, 8
je 0x1007a978
mov ecx, dword [ebp - 0xbc]
and eax, 0xfffffff7
mov dword [ebp - 0x48], eax
cmp ecx, 0xf
jbe 0x1007a95d
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007a950
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ac0f
push ecx
push edx
call fcn.1007fa46
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov dword [ebp - 4], 5
test al, 4
je 0x1007a9bd
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x1007a9bd
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007a9b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ac0f
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1007aa52
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007aa52
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 0x1007a9e8
sub ecx, edx
mov dword [ebp - 0x7c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10081b50
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x2c]
push dword [ebp - 0x7c]
push edx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x7c]
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 [0x100ae584]
push edi
call fcn.1007fa54
mov esi, dword [ebp - 0x80]
add esp, 4
mov edi, dword [ebp - 0x2c]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1007aa9c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007aa9c
mov ecx, dword [ebp - 0x54]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100ae58c]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x1007aad3
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1007aac9
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ac14
push ecx
push edi
call fcn.1007fa46
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1007ab0b
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007ab01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ac14
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov edi, dword [esi + 0x20]
test edi, edi
je 0x1007ab28
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007ab28
push eax
mov ecx, edi
call dword [0x100ae54c]
mov edi, dword [esi + 0x24]
test edi, edi
je 0x1007ab45
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007ab45
push eax
mov ecx, edi
call dword [0x100ae54c]
mov al, byte [ebx + 0x18]
mov ecx, esi
mov byte [esi + 0x30], al
call fcn.10079000
mov esi, dword [esi]
test esi, esi
je 0x1007ab6f
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007ab6f
push 1
mov ecx, esi
call dword [0x100ae54c]
mov ecx, dword [ebx + 0x30]
cmp ecx, 0xf
jbe 0x1007aba3
mov edx, dword [ebx + 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007ab99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ac19
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebx + 0x48]
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
cmp ecx, 0xf
jbe 0x1007abe5
mov edx, dword [ebx + 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007abdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ac19
push ecx
push edx
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 - 0x14]
xor ecx, ebp
call fcn.1007f9e5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x44
call fcn.10002380
call fcn.10084bdf
call fcn.10084bdf
call fcn.10084bdf
call fcn.10084bdf
int3