Function at 0x54b9a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7456b0
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 0x54bcdd
call fcn.004eac40
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 0x54b9fe
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 0x54ba1a
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ecx + 4], edx
call fcn.0054cdb0
add esp, 0x18
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
je 0x54ba41
lea ecx, [ebx + 0x68]
lea eax, [ebp - 0x60]
jmp 0x54ba4a
lea ecx, [ebx + 0x88]
lea eax, [ebp - 0x68]
push eax
call fcn.00549af0
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 [0xa902b2], 0
mov dword [ebp - 0x14], edi
je 0x54bc26
cmp byte [0x8f11d8], 0
je 0x54bc26
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0055d2b0
add esp, 8
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 4
je 0x54bc15
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
lea eax, [ebx + 0x3f4]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x58]
xor ecx, ecx
cmp dword [ebp - 0x48], ecx
jbe 0x54bace
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x48]
jb 0x54bab6
lea eax, [ebx + 0x3f4]
push edx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00487090
mov esi, dword [eax + 4]
test esi, esi
jne 0x54baeb
mov esi, dword [ebx + 0x3f8]
cmp esi, dword [ebx + 0x3f8]
je 0x54bc15
mov al, byte [esi + 0x20]
mov byte [ebp + 8], al
test al, al
lea eax, [ebp - 0x38]
push eax
je 0x54bb10
lea ecx, [ebx + 0x168]
lea eax, [ebp - 0x20]
jmp 0x54bb19
lea ecx, [ebx + 0x148]
lea eax, [ebp - 0x78]
push eax
call fcn.00549af0
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
je 0x54bb3d
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 0x54bb4e
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.0053a8d0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x54bb79
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.0049a790
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp + 8], eax
jb 0x54bb92
mov edx, dword [edx]
xor ecx, ecx
mov eax, 0x811c9dc5
cmp dword [ebp + 8], ecx
jbe 0x54bbc0
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 0x54bba3
mov ebx, dword [ebp - 0x18]
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x40c]
lea edx, [ebx + 0x3f8]
and ecx, eax
mov eax, dword [ebx + 0x400]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x54bbf3
cmp eax, esi
jne 0x54bbeb
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x54bbfb
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x54bbfb
cmp eax, esi
jne 0x54bbfb
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.004af8c0
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00481f10
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
test dl, dl
je 0x54bc3a
add dword [edi + 0x10], 1
adc dword [edi + 0x14], 0
add dword [edi + 0x18], ecx
adc dword [edi + 0x1c], eax
jmp 0x54bc47
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 0x54bc7f
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x54bc75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54bcfc
push edx
push ecx
call fcn.00512900
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 0x54bcca
mov eax, bind
lock xadd dword [ebx], eax
test eax, 0x40000000
jne 0x54bcca
cmp eax, 0x80000000
jle 0x54bcca
lock bts dword [ebx], 0x1e
jb 0x54bcca
mov ecx, ebx
call fcn.004ea1a0
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.004e6100
push eax
mov dword [ebp - 4], 0
call fcn.004e4140
call fcn.0070b6e4
int3