Function at 0x5e5400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ad2f0
mov eax, dword fs:[0]
push eax
sub esp, 0x170
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 eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x70]
mov esi, dword [ebp + 8]
push eax
mov dword [ebp - 0x158], esi
call fcn.00404120
mov dword [ebp - 4], 0
mov eax, 0xe
mov dword [ebp - 0x154], eax
xor ecx, ecx
mov dword [ebp - 0x150], 0xd400e4
mov dword [ebp - 0x14c], 0xd500db
mov dword [ebp - 0x148], 0xdb00d5
mov dword [ebp - 0x144], 0xcc00db
mov dword [ebp - 0x140], 0xef00b4
mov dword [ebp - 0x13c], 0xb000a8
mov dword [ebp - 0x138], 0xab00ab
mov dword [ebp - 0x134], 0xc6
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x150], ax
inc ecx
mov eax, dword [ebp - 0x154]
cmp ecx, eax
jb 0x5e54b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x150], cx
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00421b40
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 7
mov word [ebp - 0x154], ax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x154]
call fcn.00403b80
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 4
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x12d], al
lea ecx, [ebp - 0x13c]
call fcn.00404220
lea ecx, [ebp - 0x154]
call fcn.00404490
cmp byte [ebp - 0x12d], 0
jne 0x5e57d9
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 7
mov word [ebp - 0x17c], ax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x17c]
call fcn.00403b80
lea edx, [ebp - 0x17c]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00417ac0
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 9
call fcn.00404220
lea ecx, [ebp - 0x17c]
call fcn.00404490
mov ecx, dword [ebp - 0x18]
mov eax, 0x38e38e39
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x5e561a
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.0041b0e0
jmp 0x5e5a15
push edi
lea ecx, [ebp - 0x40]
call fcn.00404120
lea ecx, [ebp - 0x70]
call fcn.00404490
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.00404490
mov eax, 0xe
mov dword [ebp - 0x150], 0xd400e4
mov dword [ebp - 0x154], eax
xor ecx, ecx
mov dword [ebp - 0x14c], 0xd500db
mov dword [ebp - 0x148], 0xdb00d5
mov dword [ebp - 0x144], 0xcc00db
mov dword [ebp - 0x140], 0xef00b4
mov dword [ebp - 0x13c], 0xb000a8
mov dword [ebp - 0x138], 0xab00ab
mov dword [ebp - 0x134], 0xc6
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x150], ax
inc ecx
mov eax, dword [ebp - 0x154]
cmp ecx, eax
jb 0x5e56c0
xor ecx, ecx
mov word [ebp + eax*2 - 0x150], cx
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00421b40
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x5e572e
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x40]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 7
mov word [ebp - 0x154], ax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x154]
call fcn.00403b80
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0xc
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x12d], al
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 9
call fcn.00404220
lea ecx, [ebp - 0x154]
call fcn.00404490
cmp byte [ebp - 0x12d], 0
lea ecx, [ebp - 0x1c]
jne 0x5e57d4
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.0041b0e0
jmp 0x5e5a15
call fcn.0041b0e0
xor eax, eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 7
mov word [ebp - 0x154], ax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x154]
call fcn.00403b80
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00418020
add esp, 8
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x11
call fcn.00404220
lea ecx, [ebp - 0x154]
call fcn.00404490
cmp dword [ebp - 0x90], 0
jne 0x5e5870
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x5e5a0a
xorps xmm0, xmm0
lea ecx, [ebp - 0x88]
push 0
movups xmmword [ebp - 0x88], xmm0
movq qword [ebp - 0x78], xmm0
call fcn.00770fe0
push 0x74
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x12
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.00773690
push 1
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00774de0
test al, al
jne 0x5e58e9
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x5e59f4
lea ecx, [ebp - 0x88]
call fcn.00772ad0
test al, al
je 0x5e58d1
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x16c]
movaps xmm0, xmmword [0x7e3540]
mov dword [ebp - 0x16c], 0xe
movups xmmword [ebp - 0x168], xmm0
call fcn.004131e0
push eax
lea ecx, [ebp - 0x88]
call fcn.00771500
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0xa8], 0
je 0x5e5985
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005e5a50
push eax
lea ecx, [ebp - 0x40]
call fcn.00404030
lea ecx, [ebp - 0x28]
call fcn.00404490
cmp dword [ebp - 0x30], 0
jne 0x5e59d6
xor eax, eax
mov dword [ebp - 0x1c], 4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0xded7d8d6
mov byte [ebp - 0x14], 0xbc
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x88]
call fcn.00771500
lea ecx, [ebp - 0x148]
push ecx
mov ecx, eax
call fcn.007721f0
push eax
lea ecx, [ebp - 0x40]
call fcn.00404030
lea ecx, [ebp - 0x148]
call fcn.00404490
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00404070
lea ecx, [ebp - 0xb8]
call fcn.00404490
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x12c]
call fcn.00430850
lea ecx, [ebp - 0x88]
call fcn.007711e0
lea ecx, [ebp - 0xa0]
call fcn.00407a10
lea ecx, [ebp - 0x58]
call fcn.00404490
lea ecx, [ebp - 0x70]
call fcn.00404490
mov eax, esi
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 8