Function at 0x411620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d6cf
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x462040]
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.00415f00
mov dword [edi + 0x3d], vtable.CMaaPtrAE_struct_CMaaTcpLLShaper__.0
mov dword [edi + 0x51], 0
mov esi, dword [0x46490c]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x4116e8
mov dword [esi + 8], 0
jmp 0x4116ef
test eax, eax
jne 0x4116f8
lea ebx, [edi + 0x1c]
inc dword [esi + 0xc]
inc dword [esi + 8]
inc dword [esi + 4]
mov esi, dword [0x46490c]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x411718
mov dword [esi + 8], 0
jmp 0x41171c
test eax, eax
jne 0x411725
inc dword [esi + 0xc]
inc dword [esi + 8]
inc dword [esi + 4]
inc dword [esi + 0xc]
mov ecx, esi
call fcn.0042fbe0
mov byte [ebp - 4], 2
mov ecx, dword [0x46490c]
call fcn.0042fbe0
push 0xef
mov dword [edi + 0x31], 0
mov dword [edi + 0x2d], 0
call fcn.00431310
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
call fcn.0041b7c0
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x4117ce
mov dword [esi], 1
push 0xc
mov dword [esi + 0xc], 0
mov dword [esi + 8], 4
call fcn.004316b4
add esp, 4
mov dword [esi + 4], eax
push dword [esi + 8]
push str.send
push eax
call fcn.00434180
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], esi
mov dword [ecx + eax], 0
mov dword [ecx + eax + 4], 0
test esi, esi
je 0x4117d5
cmp dword [esi + 4], 0
jne 0x4117d5
push ecx
mov ecx, esi
call fcn.0041b960
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x45a800]
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x14], 1
call fcn.0040fe60
mov dword [edi + 0x25], eax
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov dword [ebx + 4], eax
or ebx, 0xffffffff
mov ecx, dword [eax + 4]
mov dword [ebp - 4], 2
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x411829
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x411829
push ecx
call fcn.0041b960
push 0xef
call fcn.00431310
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
call fcn.0041b7c0
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x4118ab
mov dword [esi], 1
push 0xc
mov dword [esi + 0xc], 0
mov dword [esi + 8], 4
call fcn.004316b4
add esp, 4
mov dword [esi + 4], eax
push dword [esi + 8]
push str.recv
push eax
call fcn.00434180
mov ecx, dword [esi + 4]
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], esi
mov dword [ecx + eax], 0
mov dword [ecx + eax + 4], 0
test esi, esi
je 0x4118b2
cmp dword [esi + 4], 0
jne 0x4118b2
push ecx
mov ecx, esi
call fcn.0041b960
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x45a800]
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x14], 2
call fcn.0040fe60
mov dword [edi + 0x29], eax
lea edx, [edi + 0x1c]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov dword [eax], edx
mov dword [edx + 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 0x411906
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x411906
push ecx
call fcn.0041b960
push 0xef
call fcn.00431310
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x16
call fcn.0041b7c0
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x17
test esi, esi
je 0x411988
mov dword [esi], 1
push 0xe
mov dword [esi + 0xc], 0
mov dword [esi + 8], 6
call fcn.004316b4
add esp, 4
mov dword [esi + 4], eax
push dword [esi + 8]
push str.102400
push eax
call fcn.00434180
mov ecx, dword [esi + 4]
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], esi
mov dword [ecx + eax], 0
mov dword [ecx + eax + 4], 0
test esi, esi
je 0x41198f
cmp dword [esi + 4], 0
jne 0x41198f
push ecx
mov ecx, esi
call fcn.0041b960
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x45a808]
mov ecx, dword [ebp - 0x18]
push 0xa
push eax
mov dword [ebp - 0x14], 0x10
call fcn.0040fe60
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x35], eax
test ecx, ecx
je 0x4119d0
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
jne 0x4119d0
push ecx
call fcn.0041b960
push 0xef
call fcn.00431310
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x1a
call fcn.0041b7c0
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x411a52
mov dword [esi], 1
push 0xe
mov dword [esi + 0xc], 0
mov dword [esi + 8], 6
call fcn.004316b4
add esp, 4
mov dword [esi + 4], eax
push dword [esi + 8]
push str.102400
push eax
call fcn.00434180
mov ecx, dword [esi + 4]
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], esi
mov dword [ecx + eax], 0
mov dword [ecx + eax + 4], 0
test esi, esi
je 0x411a59
cmp dword [esi + 4], 0
jne 0x411a59
push ecx
mov ecx, esi
call fcn.0041b960
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x10]
movsd xmm3, qword [0x45a808]
mov ecx, dword [ebp - 0x18]
push 0xa
push eax
mov dword [ebp - 0x14], 0x20
call fcn.0040fe60
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x39], eax
test ecx, ecx
je 0x411a98
lock xadd dword [ecx], ebx
dec ebx
jne 0x411a98
push ecx
call fcn.0041b960
mov eax, dword [edi + 0x35]
test eax, eax
je 0x411aa8
mov ecx, dword [edi + 0x25]
push eax
call fcn.00411200
mov eax, dword [edi + 0x39]
test eax, eax
je 0x411ab8
mov ecx, dword [edi + 0x29]
push eax
call fcn.00411200
lea eax, [edi + 0x10]
push eax
push 0
push edi
push 0x41adf0
push 0
push 0
call fcn.0043cf4f
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