Function at 0x53f370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x738d70
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 0x53f6ad
call fcn.0051ef90
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 0x53f3ce
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 0x53f3ea
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ecx + 4], edx
call fcn.005405f0
add esp, 0x18
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
je 0x53f414
lea ecx, [ebx + 0x88]
lea eax, [ebp - 0x60]
jmp 0x53f41a
lea ecx, [ebx + 0x68]
lea eax, [ebp - 0x68]
push eax
call fcn.0053d530
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 [0xa82632], 0
mov dword [ebp - 0x14], edi
je 0x53f5f6
cmp byte [0x8e1b60], 0
je 0x53f5f6
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00550be0
add esp, 8
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 4
je 0x53f5e5
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
lea eax, [ebx + 0x394]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x58]
xor ecx, ecx
cmp dword [ebp - 0x48], ecx
jbe 0x53f49e
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x48]
jb 0x53f486
lea eax, [ebx + 0x394]
push edx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00481980
mov esi, dword [eax + 4]
test esi, esi
jne 0x53f4bb
mov esi, dword [ebx + 0x398]
cmp esi, dword [ebx + 0x398]
je 0x53f5e5
mov al, byte [esi + 0x20]
mov byte [ebp + 8], al
test al, al
lea eax, [ebp - 0x38]
push eax
je 0x53f4e0
lea ecx, [ebx + 0x108]
lea eax, [ebp - 0x20]
jmp 0x53f4e9
lea ecx, [ebx + 0xe8]
lea eax, [ebp - 0x78]
push eax
call fcn.0053d530
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
je 0x53f50d
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 0x53f51e
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.0052df10
add esp, 4
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x53f549
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.00494ac0
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp + 8], eax
jb 0x53f562
mov edx, dword [edx]
xor ecx, ecx
mov eax, 0x811c9dc5
cmp dword [ebp + 8], ecx
jbe 0x53f590
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 0x53f573
mov ebx, dword [ebp - 0x18]
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x3ac]
lea edx, [ebx + 0x398]
and ecx, eax
mov eax, dword [ebx + 0x3a0]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x53f5c3
cmp eax, esi
jne 0x53f5bb
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x53f5cb
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x53f5cb
cmp eax, esi
jne 0x53f5cb
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.004a9bd0
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.0047c810
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
test dl, dl
je 0x53f60a
add dword [edi + 0x10], 1
adc dword [edi + 0x14], 0
add dword [edi + 0x18], ecx
adc dword [edi + 0x1c], eax
jmp 0x53f617
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 0x53f64f
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x53f645
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53f6cc
push edx
push ecx
call fcn.00503df0
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 0x53f69a
mov eax, bind
lock xadd dword [ebx], eax
test eax, 0x40000000
jne 0x53f69a
cmp eax, 0x80000000
jle 0x53f69a
lock bts dword [ebx], 0x1e
jb 0x53f69a
mov ecx, ebx
call fcn.00502670
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.0051d270
push eax
mov dword [ebp - 4], 0
call fcn.0051c510
call fcn.006fee64
int3