Function at 0x605870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b0807
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x82f184]
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, edx
mov esi, ecx
call fcn.006056d0
test al, al
jne 0x605a00
mov dword [ebp - 0x120], 0x1f
xor eax, eax
mov dword [ebp - 0x11c], 0x4f104a6
mov dword [ebp - 0x118], 0x48a0482
mov dword [ebp - 0x114], 0x48d0486
mov dword [ebp - 0x110], 0x4fe009e
mov dword [ebp - 0x10c], 0x48104f5
mov dword [ebp - 0x108], 0x4f604f0
mov dword [ebp - 0x104], 0x4f50484
mov dword [ebp - 0x100], 0x4f700e6
mov dword [ebp - 0xfc], 0x48b048b
mov dword [ebp - 0xf8], 0x4f604ff
mov dword [ebp - 0xf4], 0x4f5048e
mov dword [ebp - 0xf0], 0x4f7048a
mov dword [ebp - 0xec], 0x4e104ea
mov dword [ebp - 0xe8], 0x4eb0494
mov dword [ebp - 0xe4], 0xf504ec
mov dword [ebp - 0xe0], 0xd700fe
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x11c], cx
inc eax
mov ecx, dword [ebp - 0x120]
cmp eax, ecx
jb 0x605960
xor eax, eax
mov word [ebp + ecx*2 - 0x11c], ax
lea eax, [ebp - 0x11c]
push edi
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0041ee30
push 0x7cd37c
push eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 4], 0
push eax
call fcn.00408060
mov esi, eax
add esp, 0x18
cmp edi, esi
je 0x6059e3
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
lea ecx, [ebp - 0xdc]
call fcn.00404490
lea ecx, [ebp - 0x170]
call fcn.00404490
xor al, al
jmp 0x605c74
mov edx, dword [esi]
cmp edx, 0xc8
je 0x605a94
cmp edx, 0x190
je 0x605a94
lea ecx, [ebp - 0x188]
call fcn.0041cc80
mov esi, eax
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 1
push eax
call fcn.00605c90
mov ecx, eax
call fcn.00403e20
push esi
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00413810
push 0x7cd37c
push eax
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 2
push eax
call fcn.00408060
add esp, 0x18
mov ecx, edi
push eax
call fcn.00404030
lea ecx, [ebp - 0x170]
call fcn.00404490
lea ecx, [ebp - 0xdc]
call fcn.00404490
lea ecx, [ebp - 0x188]
call fcn.00404490
xor al, al
jmp 0x605c74
push 0x74
lea eax, [ebp - 0xb4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.00773690
xorps xmm0, xmm0
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.00770fe0
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00774de0
test al, al
jne 0x605b28
lea eax, [ebp - 0x158]
push eax
call fcn.00605d70
mov ecx, eax
call fcn.00403e20
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x605b04
sub edx, esi
mov ecx, edi
sar edx, 1
push edx
push eax
call fcn.004044f0
mov byte [ebp - 0xb5], 0
jmp 0x605c5b
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 6
mov dword [ebp - 0xcc], 0xcfdbcdcb
mov dword [ebp - 0xc8], 0xbecec9
call fcn.004131e0
push eax
lea ecx, [ebp - 0x28]
call fcn.00771500
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00772100
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc0], 0xd8d9cccb
mov dword [ebp - 0xbc], 0xbfcdced9
call fcn.004131e0
mov esi, eax
mov edx, esi
lea eax, [edx + 1]
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x605ba0
sub edx, eax
cmp dword [ebp - 0x2c], 0x10
push edx
push esi
push dword [ebp - 0x30]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040ffd0
add esp, 0x10
test al, al
jne 0x605c3e
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 5
mov dword [ebp - 0xc0], 0xd4c8cbdd
mov dword [ebp - 0xbc], 0xbdce
call fcn.004131e0
push eax
lea ecx, [ebp - 0x28]
call fcn.00771500
lea ecx, [ebp - 0x1b8]
push ecx
mov ecx, eax
call fcn.00772100
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a0]
call fcn.00405660
push eax
mov ecx, edi
call fcn.00404030
lea ecx, [ebp - 0x1a0]
call fcn.00404490
lea ecx, [ebp - 0x1b8]
call fcn.00407a10
mov byte [ebp - 0xb5], 0
jmp 0x605c53
push 0
push 0x7cd378
mov ecx, edi
call fcn.004044f0
mov byte [ebp - 0xb5], 1
lea ecx, [ebp - 0x40]
call fcn.00407a10
lea ecx, [ebp - 0x28]
call fcn.007711e0
lea ecx, [ebp - 0xb4]
call fcn.00430850
mov al, byte [ebp - 0xb5]
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.0076d59e
mov esp, ebp
pop ebp
ret