Function at 0x44b5f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x837cc5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0xa5e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
sub eax, edx
mov ecx, dword [ebx + 0x34]
sar eax, 3
mov dword [ebp - 0x10], 0
cmp ecx, eax
jae 0x44b7b3
nop word [eax + eax]
mov edi, dword [edx + ecx*8 + 4]
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x44b656
lock inc dword [edi + 4]
mov edi, dword [edx + ecx*8 + 4]
mov dword [ebp - 0x1c], edi
mov esi, dword [edx + ecx*8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x44b671
lock inc dword [edi + 4]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 1
test esi, esi
je 0x44b728
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x44b728
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.0044da60
or dword [ebp - 0x10], 2
cmp dword [ebx + 0x1c], 0
je 0x44b721
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x28], ecx
cmp esi, ecx
je 0x44b71e
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
nop dword [eax + eax]
cmp dword [esi + 0x14], 8
mov ebx, esi
mov ecx, dword [esi + 0x10]
jb 0x44b6cd
mov ebx, dword [esi]
xor eax, eax
mov edx, 0x811c9dc5
add ecx, ecx
mov dword [ebp - 0x20], ecx
je 0x44b6f4
mov edi, ecx
nop dword [eax]
movzx ecx, byte [eax + ebx]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, edi
jb 0x44b6e0
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x40]
push edx
push esi
add ebx, 0x14
push eax
mov ecx, ebx
call fcn.00449d90
mov eax, dword [eax + 4]
test eax, eax
jne 0x44b711
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x24]
jne 0x44b725
add esi, 0x18
cmp esi, dword [ebp - 0x28]
jne 0x44b6c0
mov esi, dword [ebp - 0x14]
mov bl, 1
jmp 0x44b72a
mov esi, dword [ebp - 0x14]
xor bl, bl
mov eax, dword [ebp - 0x10]
test al, 2
je 0x44b73f
and eax, 0xfffffffd
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], eax
call fcn.0044c610
test bl, bl
jne 0x44b7e3
or esi, 0xffffffff
test edi, edi
je 0x44b76d
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x44b76d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x44b76d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
inc dword [ebx + 0x34]
test edi, edi
je 0x44b79d
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x44b79d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x44b79d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
sub eax, edx
mov ecx, dword [ebx + 0x34]
sar eax, 3
cmp ecx, eax
jb 0x44b640
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
or ebx, 0xffffffff
mov byte [ebp - 4], 0
test edi, edi
je 0x44b80d
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x44b80d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x44b80d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov ecx, esi
add eax, 0x4c
push eax
call fcn.0044da00
push edx
push eax
call fcn.0044ca90
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0044da10
test edi, edi
je 0x44b853
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x44b853
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x44b853
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4