Function at 0x551050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x749fe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
mov ebx, ecx
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x40], ebx
push esi
push edi
test ebx, ebx
je 0x55138d
call fcn.004edc40
mov al, 1
mov byte [ebp - 0xd], al
mov byte [ebp - 0x3c], al
mov esi, dword [ebp + 0xc]
sub esp, 0xc
mov dword [ebp - 4], 2
mov eax, esp
mov ecx, esi
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x5510ae
mov ecx, dword [esi]
mov dword [eax], ecx
sub esp, 8
mov dword [eax + 4], edx
mov ecx, esp
mov byte [eax + 8], 1
lea eax, [esi + 0x18]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x5510ca
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ecx + 4], edx
call fcn.00552510
add esp, 0x18
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
je 0x5510f1
lea ecx, [ebx + 0x68]
lea eax, [ebp - 0x60]
jmp 0x5510fa
lea ecx, [ebx + 0x88]
lea eax, [ebp - 0x68]
push eax
call fcn.0054f180
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x18], edx
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
add edi, 0x20
cmp byte [0xa968b0], 0
mov dword [ebp - 0x14], edi
je 0x5512d6
cmp byte [0x8f7448], 0
je 0x5512d6
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.005628a0
add esp, 8
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 4
je 0x5512c5
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
lea eax, [ebx + 0x4a4]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x58]
xor ecx, ecx
cmp dword [ebp - 0x48], ecx
jbe 0x55117e
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x48]
jb 0x551166
lea eax, [ebx + 0x4a4]
push edx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00489ef0
mov esi, dword [eax + 4]
test esi, esi
jne 0x55119b
mov esi, dword [ebx + 0x4a8]
cmp esi, dword [ebx + 0x4a8]
je 0x5512c5
mov al, byte [esi + 0x20]
mov byte [ebp + 8], al
test al, al
lea eax, [ebp - 0x38]
push eax
je 0x5511c0
lea ecx, [ebx + 0x188]
lea eax, [ebp - 0x20]
jmp 0x5511c9
lea ecx, [ebx + 0x168]
lea eax, [ebp - 0x78]
push eax
call fcn.0054f180
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
je 0x5511ed
add dword [eax + 0x30], 1
adc dword [eax + 0x34], 0
add dword [eax + 0x38], ecx
mov ecx, dword [ebp + 0x14]
adc dword [eax + 0x3c], ecx
jmp 0x5511fe
add dword [eax + 0x20], 1
adc dword [eax + 0x24], 0
add dword [eax + 0x28], ecx
mov ecx, dword [ebp + 0x14]
adc dword [eax + 0x2c], ecx
lea eax, [ebp - 0x20]
push eax
call fcn.0053f410
add esp, 4
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x551229
push dword [ebp + 8]
mov eax, dword [ecx]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x20]
call fcn.0049cca0
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp + 8], eax
jb 0x551242
mov edx, dword [edx]
xor ecx, ecx
mov eax, 0x811c9dc5
cmp dword [ebp + 8], ecx
jbe 0x551270
mov ebx, dword [ebp + 8]
mov edi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x551253
mov ebx, dword [ebp - 0x18]
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x4bc]
lea edx, [ebx + 0x4a8]
and ecx, eax
mov eax, dword [ebx + 0x4b0]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x5512a3
cmp eax, esi
jne 0x55129b
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x5512ab
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x5512ab
cmp eax, esi
jne 0x5512ab
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edx + 4]
mov eax, dword [esi + 4]
push esi
push edx
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
call fcn.004b2170
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00484b50
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
test dl, dl
je 0x5512ea
add dword [edi + 0x10], 1
adc dword [edi + 0x14], 0
add dword [edi + 0x18], ecx
adc dword [edi + 0x1c], eax
jmp 0x5512f7
add dword [edi], 1
adc dword [edi + 4], 0
add dword [edi + 8], ecx
adc dword [edi + 0xc], eax
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x55132f
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x551325
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5513ac
push edx
push ecx
call fcn.00516d60
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp byte [ebp - 0xd], 0
mov dword [ebp - 4], 6
je 0x55137a
mov eax, bind
lock xadd dword [ebx], eax
test eax, 0x40000000
jne 0x55137a
cmp eax, 0x80000000
jle 0x55137a
lock bts dword [ebx], 0x1e
jb 0x55137a
mov ecx, ebx
call fcn.004ed3c0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push str.boost_unique_lock_has_no_mutex
push 1
lea ecx, [ebp - 0xa4]
call fcn.004e95d0
push eax
mov dword [ebp - 4], 0
call fcn.004e75f0
call fcn.0070f5b4
int3