Function at 0x4125b0
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, dword [0x44e484]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x41264e
test cl, cl
mov esi, 0x3e8
mov eax, 0x2710
cmovne esi, eax
cmp ebx, 0xffffffff
je 0x412648
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
cmp eax, 0xffffffff
je 0x412648
cmp eax, 0x102
jne 0x412645
mov eax, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Terminating_thread__timeout
call dword [eax + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push str._msec
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov eax, dword [0x44e7ac]
mov ecx, dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x41270a
push eax
call ecx
mov ebx, dword [0x44e7b0]
test ebx, ebx
je 0x4126e4
cmp ebx, 0xffffffff
je 0x4126e4
push 0
push 0x1388
push ebx
call esi
cmp eax, 0xffffffff
je 0x4126e4
cmp eax, 0x102
jne 0x4126e1
mov eax, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Terminating_thread__timeout
call dword [eax + 0x1c]
push 0x1388
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push str._msec
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push ebx
call edi
mov eax, dword [0x44e7ac]
mov dword [0x44e7b0], 0
test eax, eax
je 0x412704
push eax
call edi
mov dword [0x44e7ac], 0
mov ecx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x44e8d8]
test eax, eax
je 0x4127ad
cmp dword [0x44e7b4], 0
je 0x4127a6
push eax
call ecx
mov ebx, dword [0x44e7b4]
test ebx, ebx
je 0x4127a1
cmp ebx, 0xffffffff
je 0x4127a1
push 0
push 0x1388
push ebx
call esi
cmp eax, 0xffffffff
je 0x4127a1
cmp eax, 0x102
jne 0x41279e
mov eax, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Terminating_thread__timeout
call dword [eax + 0x1c]
push 0x1388
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push str._msec
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call edi
mov eax, dword [0x44e8d8]
test eax, eax
je 0x4127ad
push eax
call edi
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [0x44e586], 0
pop edi
pop esi
pop ebx
je 0x4127c4
call fcn.00401e10
mov ecx, dword [0x44e79c]
mov byte [0x44e586], 0
test ecx, ecx
je 0x4127e5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x44e79c], 0
mov ecx, dword [0x44e798]
test ecx, ecx
je 0x4127ff
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x44e798], 0
mov ecx, dword [0x44e794]
test ecx, ecx
je 0x412819
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x44e794], 0
mov ecx, dword [0x44e790]
test ecx, ecx
je 0x412833
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x44e790], 0
cmp byte [0x44e584], 0
je 0x412842
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [0x44e47c]
test eax, eax
je 0x41284d
call eax
mov eax, dword [0x44e5a8]
mov dword [eax], 0
ret