Function at 0x5db310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64557f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0
push 0
mov dword [ebp - 0x14], 0
push 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
mov dword [edi], vtable.CMaaThread.0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 0x18], 0xaa5555aa
mov dword [ebp - 4], 0
lea ebx, [edi + 0x1c]
mov dword [edi], vtable.CMaaShaperThread.0
mov byte [ebx + 8], 0
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
push 0
push 0x400
lea ecx, [edi + 0x3d]
mov byte [ebp - 4], 1
call fcn.005df2d0
mov dword [edi + 0x3d], vtable.CMaaPtrAE_struct_CMaaTcpLLShaper__.0
mov dword [edi + 0x51], 0
mov esi, dword [0x6b0dcc]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x5db3d8
mov dword [esi + 8], 0
jmp 0x5db3df
test eax, eax
jne 0x5db3e8
lea ebx, [edi + 0x1c]
inc dword [esi + 0xc]
inc dword [esi + 8]
inc dword [esi + 4]
mov esi, dword [0x6b0dcc]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x5db408
mov dword [esi + 8], 0
jmp 0x5db40c
test eax, eax
jne 0x5db415
inc dword [esi + 0xc]
inc dword [esi + 8]
inc dword [esi + 4]
inc dword [esi + 0xc]
mov ecx, esi
call fcn.005e0810
mov byte [ebp - 4], 2
mov ecx, dword [0x6b0dcc]
call fcn.005e0810
push 0xef
mov dword [edi + 0x31], 0
mov dword [edi + 0x2d], 0
call fcn.00606edf
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 6
call fcn.005a45d0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x5db483
push str.send
mov ecx, eax
call fcn.005a5480
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5db48a
cmp dword [eax + 0xc], 0
jne 0x5db48a
push ecx
mov ecx, eax
call fcn.005a47b0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x66fd58]
mov ecx, esi
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x14], 1
call fcn.005d8bf0
mov dword [edi + 0x25], eax
or esi, 0xffffffff
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ebp - 4], 2
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x5db4dd
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x5db4dd
push ecx
call fcn.005a47b0
push 0xef
lea ebx, [edi + 0x1c]
call fcn.00606edf
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
call fcn.005a45d0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x5db525
push str.recv
mov ecx, eax
call fcn.005a5480
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5db52c
cmp dword [eax + 0xc], 0
jne 0x5db52c
push ecx
mov ecx, eax
call fcn.005a47b0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x66fd58]
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x14], 2
call fcn.005d8bf0
mov dword [edi + 0x29], eax
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ebp - 4], 2
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x5db57d
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x5db57d
push ecx
call fcn.005a47b0
push 0xef
call fcn.00606edf
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x16
call fcn.005a45d0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x5db5c4
push str.102400
mov ecx, eax
call fcn.005a5480
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5db5cb
cmp dword [eax + 0xc], 0
jne 0x5db5cb
push ecx
mov ecx, eax
call fcn.005a47b0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x66fd68]
mov ecx, ebx
push 0xa
push eax
mov dword [ebp - 0x14], 0x10
call fcn.005d8bf0
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x35], eax
test ecx, ecx
je 0x5db60b
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x5db60b
push ecx
call fcn.005a47b0
push 0xef
call fcn.00606edf
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x1a
call fcn.005a45d0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x5db652
push str.102400
mov ecx, eax
call fcn.005a5480
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5db659
cmp dword [eax + 0xc], 0
jne 0x5db659
push ecx
mov ecx, eax
call fcn.005a47b0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x66fd68]
mov ecx, ebx
push 0xa
push eax
mov dword [ebp - 0x14], 0x20
call fcn.005d8bf0
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x39], eax
test ecx, ecx
je 0x5db697
lock xadd dword [ecx], esi
dec esi
jne 0x5db697
push ecx
call fcn.005a47b0
mov eax, dword [edi + 0x35]
test eax, eax
je 0x5db6a7
mov ecx, dword [edi + 0x25]
push eax
call fcn.005da650
mov eax, dword [edi + 0x39]
test eax, eax
je 0x5db6b7
mov ecx, dword [edi + 0x29]
push eax
call fcn.005da650
lea eax, [edi + 0x10]
push eax
push 0
push edi
push 0x5e0ec0
push 0
push 0
call fcn.0061408e
mov dword [edi + 0xc], eax
add esp, 0x18
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret