Function at 0x5b00a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x708e46
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x76e964]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, word [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edi]
lea eax, [ebp - 0x120]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push eax
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0x110], 0
call fcn.006bc290
mov eax, dword [ebp - 0x120]
xorps xmm0, xmm0
mov esi, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x12c], eax
mov eax, 0x8000
movq qword [ebp - 0x138], xmm0
mov word [ebp - 0x130], 0
mov word [ebp - 0x134], ax
movups xmmword [ebp - 0x148], xmm0
mov byte [ebp - 0x12f], 9
mov eax, dword [esi]
shr eax, 1
mov dword [ebp - 0x124], ecx
test al, 1
je 0x5b0164
mov eax, dword [esi + 0x14]
jmp 0x5b0167
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x13c]
push dword [ecx + 0xc]
push eax
call fcn.005e39a0
mov eax, dword [ebp - 0x12c]
add esp, 8
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x140], eax
mov eax, dword [esi + 8]
shr eax, 2
test al, 1
je 0x5b01a0
mov eax, dword [ecx + 0x1c]
jmp 0x5b01a3
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x148], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x144], eax
movups xmm0, xmmword [ebp - 0x148]
mov ax, word [ebp - 0x130]
push 0x2c
mov word [ebp - 0xb8], ax
lea eax, [ebp - 0xfc]
movups xmmword [ebp - 0xd0], xmm0
push 0
movq xmm0, qword [ebp - 0x138]
push eax
movq qword [ebp - 0xc0], xmm0
call fcn.006f4190
add esp, 0xc
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0xfc]
push 0x10
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.005ee030
mov byte [ebp - 0x38], 0
mov eax, dword [edi + 8]
mov byte [ebp - 4], 1
test dword [eax], 0x4000000
je 0x5b025d
push dword [edi + 0xc]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.005afe70
add esp, 0x10
cmp byte [ebp - 0x38], 0
movq xmm0, qword [eax]
movq qword [ebp - 0x34], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
jne 0x5b024e
mov byte [ebp - 0x38], 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xfc]
call fcn.005ee660
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x5b07dc
mov eax, dword [eax]
lea ecx, [ebp - 0xfc]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x76649c]
mov ecx, dword [ebp + 0x3c]
call esi
mov esi, dword [edi]
xorps xmm0, xmm0
add esi, 0x40
movups xmmword [ebp - 0x50], xmm0
push 0x10
mov dword [ebp - 0x128], esi
mov byte [ebp - 0x50], 0
call fcn.006dd216
mov edi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x4c], edi
lea eax, [edi + 0x10]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x44], eax
movups xmmword [edi], xmm0
mov dword [ebp - 0x48], eax
movups xmm0, xmmword [esi + 4]
push 0x20
mov byte [ebp - 4], 2
movups xmmword [edi], xmm0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x28], 0
call fcn.006dd216
mov esi, eax
xorps xmm0, xmm0
add esp, 8
mov dword [ebp - 0x24], esi
lea edx, [esi + 0x20]
movups xmmword [esi], xmm0
mov dword [ebp - 0x1c], edx
movups xmmword [esi + 0x10], xmm0
mov dword [ebp - 0x20], edx
sub edx, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
cmp edx, 0x10
jae 0x5b03b1
mov ecx, edx
mov eax, accept
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x5b032e
mov dword [ebp - 0x124], accept
jmp 0x5b0341
lea eax, [ecx + edx]
mov ecx, 0x10
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x124], eax
test esi, esi
je 0x5b03a0
mov eax, edx
mov ecx, esi
test edx, edx
je 0x5b035b
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x5b0350
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x5b037d
mov ecx, dword [esi - 4]
add edx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x5b07e1
mov esi, ecx
push edx
push esi
call fcn.006dd246
add esp, 8
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x124]
lea ecx, [ebp - 0x28]
call fcn.005b07f0
mov esi, dword [ebp - 0x24]
push 0x10
push edi
push esi
call fcn.006f3c10
add esp, 0xc
lea eax, [esi + 0x10]
mov dword [ebp - 0x20], eax
call fcn.00626200
push 0xffffffffffffffff
mov ecx, eax
call fcn.006262e0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x18], eax
sub ecx, esi
xor edx, edx
mov dword [ebp - 0x124], ecx
mov ecx, eax
not ecx
add ecx, ecx
xor ecx, eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x124], edx
jbe 0x5b0419
mov edi, dword [ebp - 0x124]
nop word [eax + eax]
mov eax, edx
lea ecx, [esi + edx]
and eax, 3
inc edx
mov al, byte [ebp + eax - 0x14]
xor byte [ecx], al
cmp edx, edi
jb 0x5b0400
mov edi, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x14c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x90], xmm0
mov byte [ebp - 4], 5
movups xmmword [ebp - 0x80], xmm0
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x170], eax
mov eax, dword [ecx + 0x18]
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x28]
push eax
call fcn.005afee0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 6
call fcn.00626200
push eax
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x90]
call fcn.005ee670
mov ecx, dword [ebp - 0x160]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x5b04c9
mov eax, dword [ebp - 0x158]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x164]
call fcn.005b09e0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov ecx, dword [esi]
push 0
call fcn.006bcd30
mov edx, dword [esi + 4]
mov esi, dword [0x780f4c]
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x104], ecx
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0x100], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x10c], eax
test esi, esi
jne 0x5b05cc
push 0x5c
call fcn.006dd216
mov esi, eax
add esp, 4
mov dword [ebp - 0x128], esi
test esi, esi
je 0x5b05c4
push 0x5c
push 0
push esi
call fcn.006f4190
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov byte [esi + 0x58], 0
jmp 0x5b05c6
xor esi, esi
mov dword [0x780f4c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x108], esi
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
call fcn.005e4a30
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 9
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xb4]
movups xmmword [ebp - 0xb4], xmm0
movups xmmword [ebp - 0xa4], xmm0
call fcn.005e4910
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xb4]
call fcn.005e4cf0
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x128], eax
test edx, edx
je 0x5b067e
mov ecx, dword [ebp - 0xa4]
sub ecx, edx
push ecx
push edx
lea ecx, [ebp - 0xb0]
call fcn.005b09e0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x5b06ad
mov eax, dword [ebp - 0x68]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.0059aa90
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x5b06ea
mov eax, dword [ebp - 0x84]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.005b09e0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x5b074c
mov esi, dword [ebp - 0x1c]
mov ecx, edx
sub esi, edx
mov eax, esi
je 0x5b070b
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x5b0700
mov eax, edx
mov byte [ebp - 4], 0xc
cmp esi, 0x1000
jb 0x5b072d
mov edx, dword [edx - 4]
add esi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5b07e1
push esi
push edx
call fcn.006dd246
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x150]
mov ecx, edi
sub edx, edi
mov eax, edx
je 0x5b076b
nop word [eax + eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x5b0760
mov byte [ebp - 4], 0xd
cmp edx, 0x1000
jb 0x5b0789
mov ecx, dword [edi - 4]
add edx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x5b07e1
mov edi, ecx
push edx
push edi
call fcn.006dd246
mov edi, dword [ebp + 0x3c]
add esp, 8
mov byte [ebp - 0x38], 0
test edi, edi
je 0x5b07bb
mov esi, dword [edi]
lea eax, [ebp + 0x18]
cmp edi, eax
setne al
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx eax, al
push eax
call dword [0x76649c]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x128]
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.006dd760
mov esp, ebp
pop ebp
ret
call fcn.006de80d
call fcn.0060e3b4
int3