Function at 0x766db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7c1d99
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push esi
push edi
mov eax, dword [0x82f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x78], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x78], 1
call fcn.00451100
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], esi
sub eax, 1
je 0x767330
sub eax, 1
je 0x767032
sub eax, 1
jne 0x76744e
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x41]
call fcn.007620e0
mov esi, eax
xor ecx, ecx
mov eax, dword [esi]
lea edx, [esi + 4]
test eax, eax
je 0x766e61
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [esi]
cmp ecx, eax
jb 0x766e50
xor ecx, ecx
mov word [edx + eax*2], cx
xor eax, eax
mov dword [ebp - 0x4c], ecx
mov ecx, edx
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x766e80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.004044f0
mov eax, 4
mov dword [ebp - 4], 7
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xcb00ec
mov dword [ebp - 0x14], 0xc200db
mov dword [ebp - 0x10], 0xbc
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x18], ax
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x766ec0
xor ecx, ecx
mov word [ebp + eax*2 - 0x18], cx
xor eax, eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x40], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x766ef0
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004044f0
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0048d320
mov esi, eax
cmp edi, esi
je 0x766f54
mov ecx, edi
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x766f90
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x766f86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x766f86
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 8
jb 0x766fe0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x766fd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x766fd6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x76744e
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x767444
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x767444
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, 0xa
mov dword [ebp - 0x24], 0xdf00f9
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [ebp - 0x20], 0xde00ce
mov dword [ebp - 0x1c], 0xfe00ce
mov dword [ebp - 0x18], 0xd000d2
mov dword [ebp - 0x14], 0xa400b3
mov dword [ebp - 0x10], 0xc2
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x24], ax
inc ecx
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jb 0x767070
xor ecx, ecx
mov word [ebp + eax*2 - 0x24], cx
xor eax, eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x48], 7
lea edx, [ecx + 2]
mov word [ebp - 0x5c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7670a0
sub ecx, edx
lea eax, [ebp - 0x24]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004044f0
mov eax, 4
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xcb00ec
mov dword [ebp - 0x14], 0xc200db
mov dword [ebp - 0x10], 0xbc
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x18], ax
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x7670e2
xor ecx, ecx
mov word [ebp + eax*2 - 0x18], cx
xor eax, eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x40], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x767112
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004044f0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0048d320
mov esi, eax
cmp edi, esi
je 0x767175
mov ecx, edi
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x7671b1
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7671a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x7671a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x767205
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7671fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x7671fb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x767258
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x76724e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x76724e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
lea eax, [ebp - 0x74]
push eax
call fcn.00660180
add esp, 4
mov esi, eax
push 2
xor eax, eax
mov dword [ebp - 4], 3
push 0x7c61ec
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004044f0
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
push edi
call fcn.00405530
mov edx, dword [ebp - 0x2c]
add esp, 0xc
cmp edx, 8
jb 0x7672de
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7672d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x7672d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x76744e
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x767444
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x767444
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [ebp - 0x24], 9
xor ecx, ecx
mov dword [ebp - 0x20], 0xdf00f9
mov dword [ebp - 0x1c], 0xde00ce
mov dword [ebp - 0x18], 0xee00ce
mov dword [ebp - 0x14], 0xde00dd
mov dword [ebp - 0x10], 0xc100ae
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x20], ax
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x767360
xor ecx, ecx
mov word [ebp + eax*2 - 0x20], cx
xor eax, eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x48], 7
lea edx, [ecx + 2]
mov word [ebp - 0x5c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x767390
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004044f0
mov eax, 4
mov dword [ebp - 4], 5
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xcb00ec
mov dword [ebp - 0x14], 0xc200db
mov dword [ebp - 0x10], 0xbc
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x18], ax
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x7673d2
xor ecx, ecx
mov word [ebp + eax*2 - 0x18], cx
xor eax, eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x40], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x767402
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004044f0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0048d320
mov esi, eax
cmp edi, esi
je 0x766f54
jmp 0x766f2a
push edx
push ecx
call fcn.0076d313
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret