Function at 0x5c6830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ab822
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xc0], edi
lea eax, [ebp - 0x64]
mov word [edi + 0xbc], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
push eax
movq qword [ebp - 0x64], xmm0
call fcn.005c7340
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x64]
cmp esi, dword [ebp - 0x60]
je 0x5c6a78
nop dword [eax]
push esi
lea ecx, [ebp - 0x28]
call fcn.00404120
mov byte [ebp - 4], 1
call fcn.00451ae0
mov edx, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x50], 0xcb00c4
xor ecx, ecx
mov dword [ebp - 0x4c], 0xc000c2
mov dword [ebp - 0x48], 0xdc0083
mov dword [ebp - 0x44], 0xb000da
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x5c68e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x50], cx
lea eax, [ebp - 0x28]
push eax
mov ecx, edx
call fcn.0063f8b0
test al, al
jne 0x5c6921
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], al
call fcn.00404490
add esi, 0x18
cmp esi, dword [ebp - 0x60]
jne 0x5c68a0
jmp 0x5c6a78
push 0x58
lea eax, [ebp - 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xbc]
push eax
call fcn.0042bce0
mov byte [ebp - 4], 2
cmp dword [ebp - 0xbc], 0
je 0x5c69b6
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x58]
call fcn.00404120
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.00404120
lea esi, [edi + 0x1c]
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x5c69a5
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
mov word [ebp - 0x40], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
call fcn.00404490
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
jmp 0x5c69fb
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404120
lea esi, [edi + 0x1c]
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x5c69f8
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
mov word [ebp - 0x40], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [edi + 0xa0]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x5c6a1e
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004044f0
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
push eax
mov byte [edi + 0xc], 1
mov byte [edi + 0xbc], 1
push dword [eax]
lea eax, [ebp - 0xc4]
push eax
call fcn.0042d190
push 0x40
push dword [ebp - 0x6c]
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.00404490
lea ecx, [ebp - 0x9c]
call fcn.00404490
lea ecx, [ebp - 0xb4]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404490
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4c], xmm0
call fcn.005c76d0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
cmp esi, edi
je 0x5c6cf4
push esi
lea ecx, [ebp - 0x40]
call fcn.00404120
mov byte [ebp - 4], 5
call fcn.00451ae0
mov edx, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x20], 0xcb00c4
xor eax, eax
mov dword [ebp - 0x1c], 0xc000c2
mov dword [ebp - 0x18], 0xdc0083
mov dword [ebp - 0x14], 0xb000da
nop dword [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x20], cx
inc eax
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jb 0x5c6ae0
xor eax, eax
mov word [ebp + ecx*2 - 0x20], ax
lea eax, [ebp - 0x40]
push eax
mov ecx, edx
call fcn.0063f8b0
test al, al
jne 0x5c6b21
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00404490
add esi, 0x18
cmp esi, edi
jne 0x5c6aa2
jmp 0x5c6cf4
push 0x58
lea eax, [ebp - 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0xbc], 0
add esp, 0xc
mov word [ebp - 0xb8], ax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
call fcn.0042d730
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xbc]
call fcn.0042bf30
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xbc], 0
je 0x5c6c30
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00404120
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x28]
call fcn.00404120
mov edi, dword [ebp - 0xc0]
lea eax, [ebp - 0x28]
lea esi, [edi + 0x1c]
cmp esi, eax
je 0x5c6c1c
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
call fcn.00404490
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xdc]
jmp 0x5c6c7b
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404120
mov edi, dword [ebp - 0xc0]
lea eax, [ebp - 0x28]
lea esi, [edi + 0x1c]
cmp esi, eax
je 0x5c6c78
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [edi + 0xa0]
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x5c6c9e
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004044f0
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
push eax
mov byte [edi + 0xc], 1
mov byte [edi + 0xbd], 1
push dword [eax]
lea eax, [ebp - 0xc4]
push eax
call fcn.0042d190
push 0x40
push dword [ebp - 0x6c]
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.00404490
lea ecx, [ebp - 0x9c]
call fcn.00404490
lea ecx, [ebp - 0xb4]
call fcn.00404490
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x4c]
call fcn.00404220
lea ecx, [ebp - 0x64]
call fcn.00404220
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.0076eb7e
mov esp, ebp
pop ebp
ret