Function at 0x5b1040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a8073
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 [ecx + 0xb8]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
mov esi, dword [ebp + 0xc]
add eax, 0x84
push eax
mov dword [ebp - 0x17c], edi
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
call fcn.00404120
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x70]
call fcn.00403b80
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00404490
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x70]
call fcn.00403640
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x34]
call fcn.00404120
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5b1110
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00407c50
lea eax, [ebp - 0xe8]
push eax
call fcn.005b14c0
mov esi, eax
xor eax, eax
mov ecx, dword [esi]
lea edx, [esi + 4]
test ecx, ecx
je 0x5b1144
lea ecx, [eax + 0xb8]
xor word [edx + eax*2], cx
inc eax
mov ecx, dword [esi]
cmp eax, ecx
jb 0x5b1133
xor eax, eax
mov word [edx + ecx*2], ax
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b1150
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00407c50
lea eax, [ebp - 0xec]
push eax
call fcn.005b15b0
mov esi, eax
xor ecx, ecx
mov eax, dword [esi]
lea edx, [esi + 4]
test eax, eax
je 0x5b1193
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [esi]
cmp ecx, eax
jb 0x5b1182
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b11a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00407c50
lea eax, [ebp - 0xe8]
push eax
call fcn.005b16a0
mov esi, eax
xor ecx, ecx
mov eax, dword [esi]
lea edx, [esi + 4]
test eax, eax
je 0x5b11e3
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [esi]
cmp ecx, eax
jb 0x5b11d2
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b11f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00407c50
lea eax, [ebp - 0xe8]
push eax
call fcn.005b1780
mov esi, eax
xor ecx, ecx
mov eax, dword [esi]
lea edx, [esi + 4]
test eax, eax
je 0x5b1233
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [esi]
cmp ecx, eax
jb 0x5b1222
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b1240
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00407c50
lea eax, [ebp - 0xec]
push eax
call fcn.005b1870
mov esi, eax
xor ecx, ecx
mov eax, dword [esi]
lea edx, [esi + 4]
test eax, eax
je 0x5b1283
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [esi]
cmp ecx, eax
jb 0x5b1272
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b1290
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00407c50
mov eax, 0x2a
mov dword [ebp - 0xc8], 0xda00d9
mov dword [ebp - 0xcc], eax
xor ecx, ecx
mov dword [ebp - 0xc4], 0x9700ce
mov dword [ebp - 0xc0], 0xdc009c
mov dword [ebp - 0xbc], 0xdb00d0
mov dword [ebp - 0xb8], 0xb600e0
mov dword [ebp - 0xb4], 0xaf00ab
mov dword [ebp - 0xb0], 0xe500a8
mov dword [ebp - 0xac], 0xa200a4
mov dword [ebp - 0xa8], 0xbb00e8
mov dword [ebp - 0xa4], 0xb800af
mov dword [ebp - 0xa0], 0xa200bc
mov dword [ebp - 0x9c], 0xab00a0
mov dword [ebp - 0x98], 0xb500b5
mov dword [ebp - 0x94], 0xa700f2
mov dword [ebp - 0x90], 0xf500bb
mov dword [ebp - 0x8c], 0xb400b7
mov dword [ebp - 0x88], 0xb600bb
mov dword [ebp - 0x84], 0xbf00a8
mov dword [ebp - 0x80], 0xb300b5
mov dword [ebp - 0x7c], 0xb300b9
mov dword [ebp - 0x78], 0xcf0099
mov dword [ebp - 0x74], 0xe2
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xc8], ax
inc ecx
mov eax, dword [ebp - 0xcc]
cmp ecx, eax
jb 0x5b1390
xor ecx, ecx
mov word [ebp + eax*2 - 0xc8], cx
lea ecx, [ebp - 0xc8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b13c0
sub ecx, edx
lea eax, [ebp - 0xc8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00407c50
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00405850
add esp, 4
mov byte [ebp - 4], 7
lea eax, [ebp - 0x175]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov byte [ebp - 0x175], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
push eax
push 0x20
call fcn.0041e2a0
mov byte [ebp - 4], 8
lea esi, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x15c]
cmovae esi, dword [ebp - 0x4c]
xor edx, edx
call fcn.00711e20
push dword [ebp - 0x3c]
mov edx, esi
lea ecx, [ebp - 0x15c]
call fcn.00714400
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x15c]
add esp, 4
call fcn.007144c0
lea edx, [ebp - 0x1c]
mov ecx, edi
call fcn.0063c400
lea ecx, [ebp - 0x1c]
call fcn.0040f050
lea ecx, [ebp - 0x4c]
call fcn.00407a10
lea ecx, [ebp - 0x34]
call fcn.00404490
lea ecx, [ebp - 0x174]
call fcn.00404490
lea ecx, [ebp - 0x58]
call fcn.00404220
lea ecx, [ebp - 0x70]
call fcn.00404490
mov eax, edi
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