Function at 0x605e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b087f
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
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 esi, edx
mov edi, ecx
call fcn.006056d0
test al, al
jne 0x605fe1
mov eax, 0x1c
mov dword [ebp - 0x124], 0x4f104a6
mov dword [ebp - 0x128], eax
xor ecx, ecx
mov dword [ebp - 0x120], 0x48a0482
mov dword [ebp - 0x11c], 0x48d0486
mov dword [ebp - 0x118], 0x4fe009e
mov dword [ebp - 0x114], 0x48104f5
mov dword [ebp - 0x110], 0x4f604f0
mov dword [ebp - 0x10c], 0x4f50484
mov dword [ebp - 0x108], 0x4f700e6
mov dword [ebp - 0x104], 0x48b04fa
mov dword [ebp - 0x100], 0x48b04f4
mov dword [ebp - 0xfc], 0x4fa04f4
mov dword [ebp - 0xf8], 0x48904fe
mov dword [ebp - 0xf4], 0x4e904e8
mov dword [ebp - 0xf0], 0xfb00f2
mov dword [ebp - 0xec], 0xd4
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x124], ax
inc ecx
mov eax, dword [ebp - 0x128]
cmp ecx, eax
jb 0x605f41
xor ecx, ecx
mov word [ebp + eax*2 - 0x124], cx
lea eax, [ebp - 0x124]
push esi
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0041ee30
push 0x7cd37c
push eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 0
push eax
call fcn.00408060
mov edi, eax
add esp, 0x18
cmp esi, edi
je 0x605fc4
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0xe8]
call fcn.00404490
lea ecx, [ebp - 0x178]
call fcn.00404490
xor al, al
jmp 0x606352
mov eax, dword [edi]
cmp eax, 0x193
jne 0x606021
lea eax, [ebp - 0x150]
push eax
call fcn.00606370
mov ecx, eax
call fcn.00403e20
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x606002
sub edx, edi
mov ecx, esi
sar edx, 1
push edx
push eax
call fcn.004044f0
xor al, al
jmp 0x606352
cmp eax, 0xc8
je 0x60605f
lea eax, [ebp - 0x158]
push eax
call fcn.00606440
mov ecx, eax
call fcn.00403e20
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x606040
sub edx, edi
mov ecx, esi
sar edx, 1
push edx
push eax
call fcn.004044f0
xor al, al
jmp 0x606352
push 0x74
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xcc]
call fcn.00773690
xorps xmm0, xmm0
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x40], xmm0
call fcn.00770fe0
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00774de0
test al, al
jne 0x6060f4
lea eax, [ebp - 0x160]
push eax
call fcn.00606520
mov ecx, eax
call fcn.00403e20
mov edx, eax
lea edi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x6060d0
sub edx, edi
mov ecx, esi
sar edx, 1
push edx
push eax
call fcn.004044f0
mov byte [ebp - 0xcd], 0
jmp 0x606339
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x16c], 6
mov dword [ebp - 0x168], 0xcfdbcdcb
mov dword [ebp - 0x164], 0xbecec9
call fcn.004131e0
push eax
lea ecx, [ebp - 0x40]
call fcn.00771500
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00772100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xd8], 0xd8d9cccb
mov dword [ebp - 0xd4], 0xbfcdced9
call fcn.004131e0
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00589e80
test al, al
je 0x60631c
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], 5
mov dword [ebp - 0xd8], 0xd4c8cbdd
mov dword [ebp - 0xd4], 0xbdce
call fcn.004131e0
push eax
lea ecx, [ebp - 0x40]
call fcn.00771500
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00772100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x124], 0x1a
mov dword [ebp - 0x120], 0x4f104a6
mov dword [ebp - 0x11c], 0x48a0482
mov dword [ebp - 0x118], 0x48d0486
mov dword [ebp - 0x114], 0x4fe009e
mov dword [ebp - 0x110], 0x48104f5
mov dword [ebp - 0x10c], 0x4f604f0
mov dword [ebp - 0x108], 0x4f50484
mov dword [ebp - 0x104], 0x4f700e6
mov dword [ebp - 0x100], 0x48b04fa
mov dword [ebp - 0xfc], 0x48b04f4
mov dword [ebp - 0xf8], 0x4fa04f4
mov dword [ebp - 0xf4], 0x48904fe
mov dword [ebp - 0xf0], 0x4e904e8
mov dword [ebp - 0xec], 0xd2
call fcn.00403e20
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x606257
sub edx, edi
mov ecx, esi
sar edx, 1
push edx
push eax
call fcn.004044f0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x7d5458
push dword [ebp - 0x18]
push eax
call fcn.0040ffd0
add esp, 0x10
test al, al
jne 0x60630b
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x1c0]
call fcn.00405660
push eax
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 5
push 0x7d9814
push eax
call fcn.00413810
push 0x7cd37c
push eax
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 6
push eax
call fcn.00408060
add esp, 0x18
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x6062e1
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00407c50
lea ecx, [ebp - 0x190]
call fcn.00404490
lea ecx, [ebp - 0x1a8]
call fcn.00404490
lea ecx, [ebp - 0x1c0]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00407a10
mov byte [ebp - 0xcd], 0
jmp 0x606331
push 0
push 0x7cd378
mov ecx, esi
call fcn.004044f0
mov byte [ebp - 0xcd], 1
lea ecx, [ebp - 0x58]
call fcn.00407a10
lea ecx, [ebp - 0x40]
call fcn.007711e0
lea ecx, [ebp - 0xcc]
call fcn.00430850
mov al, byte [ebp - 0xcd]
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