Function at 0x5a70d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a6d8b
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 esi, ecx
mov dword [ebp - 0x108], esi
mov edi, dword [ebp + 8]
mov ecx, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x104], eax
call fcn.007728f0
test al, al
je 0x5a78db
mov byte [ebp - 0xd1], 0
xor ecx, ecx
mov dword [ebp - 0xec], 7
mov dword [ebp - 0xe8], 0xca00e4
mov dword [ebp - 0xe4], 0xda00ce
mov dword [ebp - 0xe0], 0xd800db
mov dword [ebp - 0xdc], 0xbf00da
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xe8], ax
inc ecx
mov eax, dword [ebp - 0xec]
cmp ecx, eax
jb 0x5a7161
xor ecx, ecx
mov word [ebp + eax*2 - 0xe8], cx
lea ecx, [ebp - 0x17c]
mov eax, dword [esi + 0x44]
add eax, 0x9c
push eax
call fcn.00404120
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x17c]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 7
mov word [ebp - 0x134], ax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x134]
call fcn.00403b80
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 5
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0xd2], al
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.00404220
lea ecx, [ebp - 0x134]
call fcn.00404490
cmp byte [ebp - 0xd2], 0
mov ecx, 1
movzx eax, byte [ebp - 0xd1]
cmovne eax, ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf8], esi
call fcn.00773590
test eax, eax
je 0x5a78d0
xorps xmm0, xmm0
mov ecx, edi
push esi
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00771570
push eax
lea ecx, [ebp - 0x28]
call fcn.00770aa0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00772ad0
test al, al
jne 0x5a72b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.007711e0
jmp 0x5a78ba
xor ecx, ecx
mov dword [ebp - 0xe0], 0xded7d8d6
mov eax, 4
mov byte [ebp - 0xdc], 0xbc
mov dword [ebp - 0xe4], eax
mov word [ebp - 0xdb], cx
mov byte [ebp - 0xd9], cl
nop dword [eax + eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0xe0], al
inc ecx
mov eax, dword [ebp - 0xe4]
cmp ecx, eax
jb 0x5a72e0
mov byte [ebp + eax - 0xe0], 0
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0xe0]
push eax
call fcn.00771500
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 7
cmp dword [ebp - 0xa8], 0
jne 0x5a7344
lea ecx, [ebp - 0xb8]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.007711e0
jmp 0x5a78ba
push 0x7d7a28
lea ecx, [ebp - 0x28]
call fcn.00771500
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x90], 0
jne 0x5a7393
lea ecx, [ebp - 0xa0]
call fcn.00404490
lea ecx, [ebp - 0xb8]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.007711e0
jmp 0x5a78ba
push 0xc4
call fcn.0076d2e3
mov esi, eax
mov dword [ebp - 0x110], esi
push 0xc4
push 0
push esi
mov byte [ebp - 4], 9
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebp - 0x104]
lea eax, [ebp - 0xa0]
add esp, 0x10
mov ecx, esi
push 2
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [edi]
call fcn.005d43f0
mov esi, dword [ebp - 0x108]
mov byte [ebp - 4], 8
movzx ecx, byte [edi + 4]
mov byte [eax + 0xa0], cl
movzx ecx, byte [edi + 5]
lea edi, [eax + 0x88]
mov byte [eax + 0xa8], cl
lea ecx, [ebp - 0x164]
mov dword [ebp - 0xf4], eax
mov eax, dword [esi + 0x44]
add eax, 0x9c
push eax
call fcn.00404120
push 0x7cd374
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00408060
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x14c]
call fcn.00413520
add esp, 0x10
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.00406920
lea ecx, [ebp - 0x14c]
call fcn.00404490
lea ecx, [ebp - 0x128]
call fcn.00404490
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 8
call fcn.00404490
push dword [ebp - 0x110]
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x100], 0
push dword [ebp - 0xf4]
mov dword [ebp - 0xfc], 0
call fcn.005862a0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [esi + 4]
call fcn.00585f30
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0xfc]
test esi, esi
je 0x5a74eb
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5a74eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5a74eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0xf0], 0
mov byte [ebp - 4], 8
je 0x5a7551
push 0x7cd374
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00421b40
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x128]
call fcn.00413520
add esp, 0x10
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.00406920
lea ecx, [ebp - 0x128]
call fcn.00404490
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 8
call fcn.00404490
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push 0x7d82ec
movups xmmword [ebp - 0x88], xmm0
movq qword [ebp - 0x78], xmm0
call fcn.00771500
push eax
lea ecx, [ebp - 0x88]
call fcn.00770aa0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x11
call fcn.007728f0
test al, al
je 0x5a76ec
xor esi, esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xd8], esi
call fcn.00773590
test eax, eax
je 0x5a76ec
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x88]
call fcn.007713b0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
mov eax, dword [edi + 4]
push ecx
cmp dword [edi + 8], eax
je 0x5a75e4
mov ecx, eax
call fcn.00404120
add dword [edi + 4], 0x18
jmp 0x5a75ec
push eax
mov ecx, edi
call fcn.00404950
cmp byte [ebp - 0xf0], 0
je 0x5a76c6
push esi
lea ecx, [ebp - 0x88]
call fcn.007713b0
lea ecx, [ebp - 0x164]
push ecx
mov ecx, eax
call fcn.007721f0
mov esi, eax
push 0x7cd374
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00421b40
push esi
push eax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x14
push eax
call fcn.00413490
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x5a767a
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x128]
call fcn.00404490
lea ecx, [ebp - 0x14c]
call fcn.00404490
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x12
call fcn.00404490
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x40]
push ecx
cmp dword [edi + 8], eax
je 0x5a76b8
mov ecx, eax
call fcn.00404120
add dword [edi + 4], 0x18
jmp 0x5a76c0
push eax
mov ecx, edi
call fcn.00404950
mov esi, dword [ebp - 0xd8]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x11
call fcn.00404490
inc esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xd8], esi
call fcn.00773590
cmp esi, eax
jb 0x5a75b0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push 0x7d861c
movups xmmword [ebp - 0x70], xmm0
movq qword [ebp - 0x60], xmm0
call fcn.00771500
push eax
lea ecx, [ebp - 0x70]
call fcn.00770aa0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x15
call fcn.007728f0
test al, al
je 0x5a7879
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xd8], edi
call fcn.00773590
test eax, eax
je 0x5a7879
mov esi, dword [ebp - 0xf4]
add esi, 0x94
push edi
lea ecx, [ebp - 0x70]
call fcn.007713b0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x58]
mov eax, dword [esi + 4]
push ecx
cmp dword [esi + 8], eax
je 0x5a7777
mov ecx, eax
call fcn.00404120
add dword [esi + 4], 0x18
jmp 0x5a777f
push eax
mov ecx, esi
call fcn.00404950
cmp byte [ebp - 0xf0], 0
je 0x5a7856
push edi
lea ecx, [ebp - 0x70]
call fcn.007713b0
lea ecx, [ebp - 0x164]
push ecx
mov ecx, eax
call fcn.007721f0
mov edi, eax
push 0x7cd374
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00421b40
push edi
push eax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x18
push eax
call fcn.00413490
mov edi, eax
add esp, 0x18
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x5a780a
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 - 0x128]
call fcn.00404490
lea ecx, [ebp - 0x14c]
call fcn.00404490
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x16
call fcn.00404490
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x58]
push ecx
cmp dword [esi + 8], eax
je 0x5a7848
mov ecx, eax
call fcn.00404120
add dword [esi + 4], 0x18
jmp 0x5a7850
push eax
mov ecx, esi
call fcn.00404950
mov edi, dword [ebp - 0xd8]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x15
call fcn.00404490
inc edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xd8], edi
call fcn.00773590
cmp edi, eax
jb 0x5a7746
lea ecx, [ebp - 0x70]
call fcn.007711e0
lea ecx, [ebp - 0x88]
call fcn.007711e0
lea ecx, [ebp - 0xa0]
call fcn.00404490
lea ecx, [ebp - 0xb8]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.007711e0
mov esi, dword [ebp - 0xf8]
mov edi, dword [ebp - 0x10c]
inc esi
mov ecx, edi
mov dword [ebp - 0xf8], esi
call fcn.00773590
cmp esi, eax
jb 0x5a7272
lea ecx, [ebp - 0xd0]
call fcn.00404490
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