Function at 0x411950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f4ff
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x465040]
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.00415d70
mov dword [edi + 0x3d], vtable.CMaaPtrAE_struct_CMaaTcpLLShaper__.0
mov dword [edi + 0x51], 0
mov esi, dword [0x46790c]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x411a18
mov dword [esi + 8], 0
jmp 0x411a1f
test eax, eax
jne 0x411a28
lea ebx, [edi + 0x1c]
inc dword [esi + 0xc]
inc dword [esi + 8]
inc dword [esi + 4]
mov esi, dword [0x46790c]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x411a48
mov dword [esi + 8], 0
jmp 0x411a4c
test eax, eax
jne 0x411a55
inc dword [esi + 0xc]
inc dword [esi + 8]
inc dword [esi + 4]
inc dword [esi + 0xc]
mov ecx, esi
call fcn.00431960
mov byte [ebp - 4], 2
mov ecx, dword [0x46790c]
call fcn.00431960
push 0xef
mov dword [edi + 0x31], 0
mov dword [edi + 0x2d], 0
call fcn.00433090
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 6
call fcn.0041bfa0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x411ac3
push str.send
mov ecx, eax
call fcn.0041c700
mov dword [ebp - 0x10], eax
test eax, eax
je 0x411aca
cmp dword [eax + 0xc], 0
jne 0x411aca
push ecx
mov ecx, eax
call fcn.0041c140
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x45c800]
mov ecx, esi
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x14], 1
call fcn.00410020
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 0x411b1d
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x411b1d
push ecx
call fcn.0041c140
push 0xef
lea ebx, [edi + 0x1c]
call fcn.00433090
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
call fcn.0041bfa0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x411b65
push str.recv
mov ecx, eax
call fcn.0041c700
mov dword [ebp - 0x10], eax
test eax, eax
je 0x411b6c
cmp dword [eax + 0xc], 0
jne 0x411b6c
push ecx
mov ecx, eax
call fcn.0041c140
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x45c800]
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x14], 2
call fcn.00410020
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 0x411bbd
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x411bbd
push ecx
call fcn.0041c140
push 0xef
call fcn.00433090
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x16
call fcn.0041bfa0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x411c04
push str.102400
mov ecx, eax
call fcn.0041c700
mov dword [ebp - 0x10], eax
test eax, eax
je 0x411c0b
cmp dword [eax + 0xc], 0
jne 0x411c0b
push ecx
mov ecx, eax
call fcn.0041c140
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x45c808]
mov ecx, ebx
push 0xa
push eax
mov dword [ebp - 0x14], 0x10
call fcn.00410020
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x35], eax
test ecx, ecx
je 0x411c4b
mov eax, esi
lock xadd dword [ecx], eax
dec eax
jne 0x411c4b
push ecx
call fcn.0041c140
push 0xef
call fcn.00433090
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x1a
call fcn.0041bfa0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x411c92
push str.102400
mov ecx, eax
call fcn.0041c700
mov dword [ebp - 0x10], eax
test eax, eax
je 0x411c99
cmp dword [eax + 0xc], 0
jne 0x411c99
push ecx
mov ecx, eax
call fcn.0041c140
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x45c808]
mov ecx, ebx
push 0xa
push eax
mov dword [ebp - 0x14], 0x20
call fcn.00410020
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x39], eax
test ecx, ecx
je 0x411cd7
lock xadd dword [ecx], esi
dec esi
jne 0x411cd7
push ecx
call fcn.0041c140
mov eax, dword [edi + 0x35]
test eax, eax
je 0x411ce7
mov ecx, dword [edi + 0x25]
push eax
call fcn.004113c0
mov eax, dword [edi + 0x39]
test eax, eax
je 0x411cf7
mov ecx, dword [edi + 0x29]
push eax
call fcn.004113c0
lea eax, [edi + 0x10]
push eax
push 0
push edi
push 0x41b5c0
push 0
push 0
call fcn.0043eccf
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