Function at 0x5afc40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7e4c
mov eax, dword fs:[0]
push eax
sub esp, 0x174
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 [ecx + 0xb8]
lea ecx, [ebp - 0x168]
mov esi, dword [ebp + 8]
add eax, 0x84
push eax
call fcn.00404120
push 0x7cd374
lea eax, [ebp - 0x168]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x5afcb7
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00407c50
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0xa8], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x180]
call fcn.00404490
lea ecx, [ebp - 0x168]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x94]
call fcn.00403b80
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 7
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0xe9], al
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.00404220
lea ecx, [ebp - 0x94]
call fcn.00404490
cmp byte [ebp - 0xe9], 0
jne 0x5afe2b
mov dword [ebp - 0x100], 7
xor ecx, ecx
mov dword [ebp - 0xfc], 0xca00cd
mov dword [ebp - 0xf8], 0xc900df
mov dword [ebp - 0xf4], 0xd70092
mov dword [ebp - 0xf0], 0xbf00cd
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xfc], ax
inc ecx
mov eax, dword [ebp - 0x100]
cmp ecx, eax
jb 0x5afdb0
xor ecx, ecx
mov word [ebp + eax*2 - 0xfc], cx
lea ecx, [ebp - 0xfc]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5afde0
mov eax, dword [esi + 0x10]
sub ecx, edx
sar ecx, 1
cmp dword [esi + 0x14], 8
jb 0x5afdfa
mov esi, dword [esi]
cmp eax, ecx
jne 0x5afe1f
push eax
lea eax, [ebp - 0xfc]
push eax
push esi
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5afe1f
mov byte [ebp - 0xe9], 1
jmp 0x5b056f
mov byte [ebp - 0xe9], 0
jmp 0x5b056f
xorps xmm0, xmm0
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
call fcn.00404120
mov byte [ebp - 4], 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.00649d20
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.006480b0
mov byte [ebp - 4], 0xa
mov eax, 0x20
mov byte [ebp - 0xe9], 0
xor ecx, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 0xcb00da
mov dword [ebp - 0x144], 0xcc00d5
mov dword [ebp - 0x140], 0xd800cf
mov dword [ebp - 0x13c], 0x9100cc
mov dword [ebp - 0x138], 0xa400b3
mov dword [ebp - 0x134], 0xb100a3
mov dword [ebp - 0x130], 0xad00a7
mov dword [ebp - 0x12c], 0xa300e8
mov dword [ebp - 0x128], 0xaf00ad
mov dword [ebp - 0x124], 0xbe00ab
mov dword [ebp - 0x120], 0xb900a0
mov dword [ebp - 0x11c], 0xa100ab
mov dword [ebp - 0x118], 0xb800b7
mov dword [ebp - 0x114], 0xb600bc
mov dword [ebp - 0x110], 0xb400ba
mov dword [ebp - 0x10c], 0xb200bb
mov dword [ebp - 0x108], 0xd8
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x148], ax
inc ecx
mov eax, dword [ebp - 0x14c]
cmp ecx, eax
jb 0x5aff30
xor ecx, ecx
mov dword [ebp - 0xf0], 7
mov word [ebp + eax*2 - 0x148], cx
xor eax, eax
mov dword [ebp - 0xf4], ecx
lea ecx, [ebp - 0x148]
mov word [ebp - 0x104], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5aff75
sub ecx, edx
lea eax, [ebp - 0x148]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.004044f0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x70]
call fcn.00648b80
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xe8]
call fcn.00404120
lea ecx, [ebp - 0x9c]
call fcn.00404490
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xe
call fcn.00404490
call fcn.00451010
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, eax
call fcn.0058a560
test al, al
je 0x5b01ed
mov eax, 6
mov byte [ebp - 0xe9], 1
mov dword [ebp - 0x100], eax
xor ecx, ecx
mov dword [ebp - 0xfc], 0xd600ff
mov dword [ebp - 0xf8], 0xdc00d5
mov dword [ebp - 0xf4], 0xd800d0
mov dword [ebp - 0xf0], 0xbe
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xfc], ax
inc ecx
mov eax, dword [ebp - 0x100]
cmp ecx, eax
jb 0x5b0040
xor ecx, ecx
mov dword [ebp - 0x74], 7
mov word [ebp + eax*2 - 0xfc], cx
xor eax, eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0xfc]
mov word [ebp - 0x88], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b0080
sub ecx, edx
lea eax, [ebp - 0xfc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004044f0
mov byte [ebp - 4], 0xf
mov eax, 0x20
mov dword [ebp - 0x14c], eax
xor ecx, ecx
mov dword [ebp - 0x148], 0xcb00da
mov dword [ebp - 0x144], 0xcc00d5
mov dword [ebp - 0x140], 0xd800cf
mov dword [ebp - 0x13c], 0x9100cc
mov dword [ebp - 0x138], 0xa400b3
mov dword [ebp - 0x134], 0xb100a3
mov dword [ebp - 0x130], 0xad00a7
mov dword [ebp - 0x12c], 0xa300e8
mov dword [ebp - 0x128], 0xaf00ad
mov dword [ebp - 0x124], 0xbe00ab
mov dword [ebp - 0x120], 0xb900a0
mov dword [ebp - 0x11c], 0xa100ab
mov dword [ebp - 0x118], 0xb800b7
mov dword [ebp - 0x114], 0xb600bc
mov dword [ebp - 0x110], 0xb400ba
mov dword [ebp - 0x10c], 0xb200bb
mov dword [ebp - 0x108], 0xd8
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x148], ax
inc ecx
mov eax, dword [ebp - 0x14c]
cmp ecx, eax
jb 0x5b0160
xor ecx, ecx
mov word [ebp + eax*2 - 0x148], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b01a0
sub ecx, edx
lea eax, [ebp - 0x148]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.00648f40
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
call fcn.00404490
mov dword [ebp - 0x50], 0x1d
xor ecx, ecx
mov dword [ebp - 0x4c], 0xcb00da
mov dword [ebp - 0x48], 0xcc00d5
mov dword [ebp - 0x44], 0xd800cf
mov dword [ebp - 0x40], 0x9100cc
mov dword [ebp - 0x3c], 0xa400b3
mov dword [ebp - 0x38], 0xb100a3
mov dword [ebp - 0x34], 0xad00a7
mov dword [ebp - 0x30], 0xb400e8
mov dword [ebp - 0x2c], 0xa500ad
mov dword [ebp - 0x28], 0xa800af
mov dword [ebp - 0x24], 0xa800b8
mov dword [ebp - 0x20], 0x8a00aa
mov dword [ebp - 0x1c], 0xb600be
mov dword [ebp - 0x18], 0xbd00bb
mov dword [ebp - 0x14], 0xd500b1
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x5b0260
xor ecx, ecx
mov dword [ebp - 0x74], 7
mov word [ebp + eax*2 - 0x4c], cx
xor eax, eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x88], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b0293
sub ecx, edx
lea eax, [ebp - 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004044f0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00648b80
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0xd0]
call fcn.00404120
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x14
call fcn.00404490
call fcn.00451010
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.0058a560
test al, al
je 0x5b04f2
mov eax, 6
mov dword [ebp - 0xfc], 0xd600ff
mov dword [ebp - 0x100], eax
xor ecx, ecx
mov dword [ebp - 0xf8], 0xdc00d5
mov dword [ebp - 0xf4], 0xd800d0
mov dword [ebp - 0xf0], 0xbe
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xfc], ax
inc ecx
mov eax, dword [ebp - 0x100]
cmp ecx, eax
jb 0x5b0350
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp + eax*2 - 0xfc], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xfc]
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b0390
sub ecx, edx
lea eax, [ebp - 0xfc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
mov byte [ebp - 4], 0x15
xor ecx, ecx
mov dword [ebp - 0x144], 0x1d
mov dword [ebp - 0x140], 0xcb00da
mov dword [ebp - 0x13c], 0xcc00d5
mov dword [ebp - 0x138], 0xd800cf
mov dword [ebp - 0x134], 0x9100cc
mov dword [ebp - 0x130], 0xa400b3
mov dword [ebp - 0x12c], 0xb100a3
mov dword [ebp - 0x128], 0xad00a7
mov dword [ebp - 0x124], 0xb400e8
mov dword [ebp - 0x120], 0xa500ad
mov dword [ebp - 0x11c], 0xa800af
mov dword [ebp - 0x118], 0xa800b8
mov dword [ebp - 0x114], 0x8a00aa
mov dword [ebp - 0x110], 0xb600be
mov dword [ebp - 0x10c], 0xbd00bb
mov dword [ebp - 0x108], 0xd500b1
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x140], ax
inc ecx
mov eax, dword [ebp - 0x144]
cmp ecx, eax
jb 0x5b0460
xor ecx, ecx
mov word [ebp + eax*2 - 0x140], cx
xor eax, eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x74], 7
lea edx, [ecx + 2]
mov word [ebp - 0x88], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b04a0
sub ecx, edx
lea eax, [ebp - 0x140]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004044f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x70]
call fcn.00648f40
lea ecx, [ebp - 0x88]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.00404490
jmp 0x5b04fb
cmp byte [ebp - 0xe9], 0
je 0x5b0513
lea ecx, [ebp - 0x70]
call fcn.006496b0
lea ecx, [ebp - 0x70]
call fcn.00649030
mov byte [ebp - 0xe9], al
jmp 0x5b051a
mov byte [ebp - 0xe9], 1
lea ecx, [ebp - 0xd0]
call fcn.00404490
lea ecx, [ebp - 0xe8]
call fcn.00404490
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x58]
mov esi, dword [ebp - 0x58]
push dword [esi + 4]
call fcn.006499a0
mov eax, dword [ebp - 0x58]
push 0x58
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x58]
mov dword [eax], esi
mov eax, dword [ebp - 0x58]
mov dword [eax + 8], esi
push dword [ebp - 0x58]
mov dword [ebp - 0x54], 0
call fcn.0076d313
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.00404490
lea ecx, [ebp - 0xb8]
call fcn.00404490
mov al, byte [ebp - 0xe9]
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 4