Function at 0x5a9500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a8906
mov eax, dword fs:[0]
push eax
sub esp, 0x174
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 esi, dword [ebp + 8]
mov eax, 0xc
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], 0xc300f5
mov dword [ebp - 0xd4], 0xdf00c5
mov dword [ebp - 0xd0], 0xcf00d9
mov dword [ebp - 0xcc], 0xdc00c3
mov dword [ebp - 0xc8], 0xc0009f
mov dword [ebp - 0xc4], 0xd200d7
mov dword [ebp - 0xc0], 0xb5
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xd8], ax
inc ecx
mov eax, dword [ebp - 0xdc]
cmp ecx, eax
jb 0x5a95a0
xor ecx, ecx
mov word [ebp + eax*2 - 0xd8], cx
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00421b40
add esp, 0xc
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xb4]
call fcn.00403b80
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 4
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x8d], al
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00404220
lea ecx, [ebp - 0xb4]
call fcn.00404490
cmp byte [ebp - 0x8d], 0
jne 0x5a97d5
mov dword [ebp - 0xbc], 0x13
xor ecx, ecx
mov dword [ebp - 0xb8], 0xc600f5
mov dword [ebp - 0xb4], 0xcb00ce
mov dword [ebp - 0xb0], 0xcd00cc
mov dword [ebp - 0xac], 0xef00d6
mov dword [ebp - 0xa8], 0xdc00d8
mov dword [ebp - 0xa4], 0xc000c0
mov dword [ebp - 0xa0], 0xda00d4
mov dword [ebp - 0x9c], 0x9600db
mov dword [ebp - 0x98], 0xde00cb
mov dword [ebp - 0x94], 0xbc00dd
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xb8], ax
inc ecx
mov eax, dword [ebp - 0xbc]
cmp ecx, eax
jb 0x5a96d0
xor ecx, ecx
mov word [ebp + eax*2 - 0xb8], cx
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.00421b40
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x5c]
cmp eax, edi
je 0x5a973e
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x10c]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xb4]
call fcn.00403b80
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 7
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x8d], al
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00404220
lea ecx, [ebp - 0xb4]
call fcn.00404490
cmp byte [ebp - 0x8d], 0
jne 0x5a97d5
push dword [ebp - 0x1c]
push esi
call fcn.005a9e90
jmp 0x5a9e18
xor eax, eax
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x44]
push eax
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x44], xmm0
push 0x7cf388
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.004044f0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x44]
call fcn.00610280
test al, al
jne 0x5a9873
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0xe0], 1
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x5a9858
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x5a9866
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x44]
call fcn.00404490
jmp 0x5a9e18
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.006103a0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x18], 0
jne 0x5a98de
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0xe0], 1
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x5a98c3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x5a98d1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x44]
call fcn.00404490
jmp 0x5a9e18
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xb4], 0xf
mov dword [ebp - 0xb0], 0xee00fb
mov dword [ebp - 0xac], 0x9600ed
mov dword [ebp - 0xa8], 0xcb00e9
mov dword [ebp - 0xa4], 0xd300dc
mov dword [ebp - 0xa0], 0xdb00c3
mov dword [ebp - 0x9c], 0xc000c3
mov dword [ebp - 0x98], 0xd900dc
mov dword [ebp - 0x94], 0xb800d9
call fcn.00403e20
push eax
lea ecx, [ebp - 0x74]
call fcn.004040b0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.00610ad0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x19
call fcn.00404490
cmp dword [ebp - 0x14], 0
je 0x5a9a10
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf0], 0xc700cc
mov dword [ebp - 0xec], 0xc20091
mov dword [ebp - 0xe8], 0xc300cc
mov dword [ebp - 0xe4], 0xb000ca
call fcn.00403e20
push eax
lea ecx, [ebp - 0x128]
call fcn.004040b0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x14]
call fcn.00610750
lea ecx, [ebp - 0x128]
call fcn.00404490
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00404070
lea ecx, [ebp - 0x74]
call fcn.00404490
lea ecx, [ebp - 0x14]
call fcn.006105b0
lea ecx, [ebp - 0x18]
call fcn.006105b0
jmp 0x5a9e10
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], 0xb
mov dword [ebp - 0x10c], 0xcf00ed
mov dword [ebp - 0x108], 0xcf00d8
mov dword [ebp - 0x104], 0xc700df
mov dword [ebp - 0x100], 0xc400df
mov dword [ebp - 0xfc], 0xdd00d8
mov dword [ebp - 0xf8], 0xb400dd
call fcn.00403e20
push eax
lea ecx, [ebp - 0x128]
call fcn.004040b0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00610ad0
push eax
lea ecx, [ebp - 0x14]
call fcn.005a1570
lea ecx, [ebp - 0x1c]
call fcn.006105b0
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x19
call fcn.00404490
cmp dword [ebp - 0x14], 0
jne 0x5a9ac2
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x5a99fb
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf0], 0xc700cc
mov dword [ebp - 0xec], 0xc20091
mov dword [ebp - 0xe8], 0xc300cc
mov dword [ebp - 0xe4], 0xb000ca
call fcn.00403e20
push eax
lea ecx, [ebp - 0x168]
call fcn.004040b0
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00610ad0
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x1e
call fcn.00404490
cmp dword [ebp - 0x24], 0
je 0x5a9b6a
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x24]
call fcn.00610610
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00404070
lea ecx, [ebp - 0x74]
call fcn.00404490
lea ecx, [ebp - 0x24]
call fcn.006105b0
jmp 0x5a99fb
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14c], 0xc
mov dword [ebp - 0x148], 0xc700cc
mov dword [ebp - 0x144], 0xc00091
mov dword [ebp - 0x140], 0xcd00c2
mov dword [ebp - 0x13c], 0xdc00ce
mov dword [ebp - 0x138], 0xc800d8
mov dword [ebp - 0x134], 0xd000d6
mov dword [ebp - 0x130], 0xb5
call fcn.00403e20
push eax
lea ecx, [ebp - 0x180]
call fcn.004040b0
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00610ad0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x21
call fcn.00404490
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5a9d66
nop dword [eax]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xd8], 0xb
mov dword [ebp - 0xd4], 0xcf00ed
mov dword [ebp - 0xd0], 0xcf00d8
mov dword [ebp - 0xcc], 0xc700df
mov dword [ebp - 0xc8], 0xc400df
mov dword [ebp - 0xc4], 0xdd00d8
mov dword [ebp - 0xc0], 0xb400dd
call fcn.00403e20
push eax
lea ecx, [ebp - 0x8c]
call fcn.004040b0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00610ad0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x24
call fcn.00404490
cmp dword [ebp - 0x28], 0
je 0x5a9d2c
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x124], 7
mov dword [ebp - 0x120], 0xc700cc
mov dword [ebp - 0x11c], 0xc20091
mov dword [ebp - 0x118], 0xc300cc
mov dword [ebp - 0x114], 0xb000ca
call fcn.00403e20
push eax
lea ecx, [ebp - 0x10c]
call fcn.004040b0
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00610ad0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x27
call fcn.00404490
cmp dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
jne 0x5a9e3f
call fcn.006105b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x21
call fcn.006105b0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00610a10
push eax
lea ecx, [ebp - 0x20]
call fcn.005a1570
lea ecx, [ebp - 0x12c]
call fcn.006105b0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x5a9c10
mov byte [ebp - 4], 0x28
test eax, eax
je 0x5a9d79
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x5a9d87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0xe0], 1
mov byte [ebp - 4], 0x2c
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5a9dba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x5a9dc8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x30
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5a9dde
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x33
test eax, eax
je 0x5a9dec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x34
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5a9e02
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x37
test eax, eax
je 0x5a9e10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x44]
call fcn.00610210
lea ecx, [ebp - 0x5c]
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.0076eb7e
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x8c]
push eax
call fcn.00610610
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.00404070
lea ecx, [ebp - 0x8c]
call fcn.00404490
lea ecx, [ebp - 0x1c]
call fcn.006105b0
lea ecx, [ebp - 0x28]
call fcn.006105b0
lea ecx, [ebp - 0x20]
call fcn.006105b0
lea ecx, [ebp - 0x24]
call fcn.006105b0
jmp 0x5a99fb