Function at 0x768420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7c3509
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push esi
push edi
mov eax, dword [0x831184]
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.00451bd0
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], esi
sub eax, 1
je 0x7689a0
sub eax, 1
je 0x7686a2
sub eax, 1
jne 0x768abe
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x41]
call fcn.00763740
mov esi, eax
xor ecx, ecx
mov eax, dword [esi]
lea edx, [esi + 4]
test eax, eax
je 0x7684d1
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [esi]
cmp ecx, eax
jb 0x7684c0
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 0x7684f0
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], 0xd800fd
mov dword [ebp - 0x14], 0xd500ca
mov dword [ebp - 0x10], 0xad
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x18], ax
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x768530
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 0x768560
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.0048e3a0
mov esi, eax
cmp edi, esi
je 0x7685c4
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 0x768600
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7685f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x7685f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
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 0x768650
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x768646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x768646
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
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 0x768abe
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x768ab4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x768ab4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, 0xa
mov dword [ebp - 0x24], 0xcc00e8
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [ebp - 0x20], 0xc900df
mov dword [ebp - 0x1c], 0xed00df
mov dword [ebp - 0x18], 0xdf00c3
mov dword [ebp - 0x14], 0xd700c2
mov dword [ebp - 0x10], 0xb3
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x24], ax
inc ecx
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jb 0x7686e0
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 0x768710
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], 0xd800fd
mov dword [ebp - 0x14], 0xd500ca
mov dword [ebp - 0x10], 0xad
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x18], ax
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x768752
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 0x768782
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.0048e3a0
mov esi, eax
cmp edi, esi
je 0x7687e5
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 0x768821
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x768817
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x768817
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
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 0x768875
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x76886b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x76886b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
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 0x7688c8
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x7688be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x7688be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
add esp, 8
lea eax, [ebp - 0x74]
push eax
call fcn.00660e80
add esp, 4
mov esi, eax
push 2
xor eax, eax
mov dword [ebp - 4], 3
push 0x7c81ec
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 0x76894e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x768944
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x768944
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
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 0x768abe
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x768ab4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x768ab4
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], 0xcc00e8
mov dword [ebp - 0x1c], 0xc900df
mov dword [ebp - 0x18], 0xfd00df
mov dword [ebp - 0x14], 0xd100cc
mov dword [ebp - 0x10], 0xb200df
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x20], ax
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x7689d0
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 0x768a00
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], 0xd800fd
mov dword [ebp - 0x14], 0xd500ca
mov dword [ebp - 0x10], 0xad
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x18], ax
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x768a42
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 0x768a72
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.0048e3a0
mov esi, eax
cmp edi, esi
je 0x7685c4
jmp 0x76859a
push edx
push ecx
call fcn.0076e8f3
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