Function at 0x100260f0
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 0x10067393
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx ecx, word [ebx + 0xc]
movzx eax, word [ebx + 8]
movzx edx, word [ebx + 0x14]
mov dword [ebp - 0x84], ecx
movzx ecx, word [ebx + 0x10]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x10026845
test cx, cx
je 0x10026845
cmp dword [edi + 0x2c], 0
ja 0x10026845
cmp dword [ebx + 0x2c], 0xf
lea edx, [ebx + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmova edx, dword [ebx + 0x18]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100261a1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.100051a0
mov byte [ebp - 4], 2
mov esi, dword [edi + 4]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x68], eax
test esi, esi
je 0x100261dc
push 4
push esi
call eax
test eax, eax
jne 0x100261dc
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x10073638]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10026216
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002620c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002620c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
cmp dword [ebx + 0x44], 0xf
lea edx, [ebx + 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmova edx, dword [ebx + 0x30]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026240
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.100051a0
mov byte [ebp - 4], 3
mov esi, dword [edi + 8]
test esi, esi
je 0x10026274
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x10026274
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x10073638]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x100262ae
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100262a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100262a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov esi, dword [edi + 0xc]
test esi, esi
je 0x100262c8
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x100262c8
push eax
mov ecx, esi
call dword [0x1007363c]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x100262e2
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x100262e2
push eax
mov ecx, esi
call dword [0x1007363c]
cmp word [ebp - 0x48], 0xffff
je 0x1002682a
cmp word [ebp - 0x80], 0xffff
je 0x1002682a
mov byte [ebp - 0x74], 0x74
mov al, 7
xor al, byte [ebp - 0x74]
mov cl, 0xd
mov byte [ebp - 0x73], al
mov dl, 0x19
mov al, byte [ebp - 0x74]
mov ch, 0x1b
mov dh, 0x18
mov byte [ebp - 0x49], 0x28
xor cl, al
mov byte [ebp - 0x6c], 0
xor dl, al
mov byte [ebp - 0x72], cl
xor ch, al
mov byte [ebp - 0x71], dl
xor dh, al
mov byte [ebp - 0x6f], ch
mov ah, 0x16
mov byte [ebp - 0x6e], dh
mov edx, dword [0x1007d480]
lea ecx, [ebp - 0x73]
xor ah, al
mov byte [ebp - 0x6c], 0
mov al, byte [ebp - 0x49]
lea esi, [ecx + 1]
xor al, byte [ebp - 0x74]
mov byte [ebp - 0x70], ah
mov byte [ebp - 0x6d], al
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026350
mov eax, 0x7fffffff
sub ecx, esi
sub eax, edx
cmp eax, ecx
jb 0x100268dd
cmp dword [0x1007d484], 0xf
mov eax, 0x1007d470
push ecx
cmova eax, dword [0x1007d470]
lea ecx, [ebp - 0x73]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x2c]
call fcn.1000d540
mov dword [ebp - 0x78], 0x10
mov eax, dword [ebp - 0x84]
mov byte [ebp - 4], 4
test ax, ax
jne 0x1002641f
movaps xmm0, xmmword [0x10074a60]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x64c0910
mov word [ebp - 0x50], 0x161a
mov byte [ebp - 0x4e], al
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x15
jb 0x100263c1
xorps xmm0, xmm0
mov byte [ebp - 0x4e], 0
lea ecx, [ebp - 0x63]
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100263f6
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.100051a0
lea ecx, [ebp - 0x9c]
mov eax, 0x11
jmp 0x100264a2
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
movaps xmm0, xmmword [0x10074c00]
cmova ecx, dword [ebp - 0x2c]
cwde
push eax
mov eax, dword [ebp - 0x48]
cwde
push eax
push 1
push ecx
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 3
xor ecx, ecx
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x10026447
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea esi, [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 0x10026477
sub ecx, esi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0xb4]
push eax
call fcn.10004d30
mov ecx, eax
add esp, 0x2c
mov eax, 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 4], 6
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
test al, 2
je 0x10026547
mov ecx, dword [ebp - 0xa0]
and eax, 0xfffffffd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x78], eax
cmp ecx, 0xf
jbe 0x1002652c
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002651f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026584
push ecx
push edx
call fcn.100641c5
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 7
test al, 1
je 0x10026594
mov ecx, dword [ebp - 0x88]
and eax, 0xfffffffe
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x78], eax
cmp ecx, 0xf
jbe 0x10026594
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002658a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002658a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov esi, dword [edi + 0x14]
test esi, esi
je 0x100265b1
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x100265b1
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x10073608]
mov ecx, dword [edi + 0x14]
sub esp, 0x1c
call fcn.10012e90
mov eax, dword [ebp - 0x7c]
add esp, 0x1c
test ax, ax
jne 0x1002664c
movaps xmm0, xmmword [0x10075060]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x347e3b22
mov word [ebp - 0x50], 0x2428
mov byte [ebp - 0x4e], al
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x15
jb 0x100265e8
xorps xmm0, xmm0
mov byte [ebp - 0x4e], 0
lea ecx, [ebp - 0x63]
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026620
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.100051a0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
or dword [ebp - 0x48], 4
jmp 0x100266ce
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
movaps xmm0, xmmword [0x10075460]
cmova ecx, dword [ebp - 0x2c]
cwde
push eax
mov eax, dword [ebp - 0x80]
cwde
push eax
push 1
push ecx
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 0x5a
xor ecx, ecx
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x10026674
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea esi, [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 0x100266a4
sub ecx, esi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0xcc]
push eax
call fcn.10004d30
add esp, 0x2c
mov ecx, eax
or dword [ebp - 0x48], 8
push ecx
lea ecx, [ebp - 0x44]
call fcn.1000d630
mov eax, dword [ebp - 0x48]
test al, 8
je 0x10026738
mov ecx, dword [ebp - 0xb8]
and eax, 0xfffffff7
mov dword [ebp - 0x48], eax
cmp ecx, 0xf
jbe 0x1002671d
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026710
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002676f
push ecx
push edx
call fcn.100641c5
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
mov dword [ebp - 4], 7
test al, 4
je 0x1002677f
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x1002677f
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026775
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10026775
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov esi, dword [edi + 0x18]
test esi, esi
je 0x1002679c
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x1002679c
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x10073608]
mov ecx, dword [edi + 0x18]
sub esp, 0x1c
call fcn.10012e90
mov byte [ebp - 4], 4
add esp, 0x1c
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x100267de
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100267d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002681a
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x1002682a
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026820
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10026820
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov esi, dword [edi + 0x34]
test esi, esi
je 0x10026845
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x10026845
push 1
mov ecx, esi
call dword [0x100735d4]
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0xf
jbe 0x10026875
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002686b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100268ad
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], 0
cmp ecx, 0xf
jbe 0x100268bd
mov edx, dword [ebx + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100268b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100268b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
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.10064164
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x40
call fcn.10005030
int3