Function at 0x41d8b0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x43a03c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x441d3c
xor ebp, ebp
mov dword [esp + 0x20], 1
mov dword [0x45b274], ebp
mov eax, dword [esi + 0xc30]
push ebp
push ebp
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call edi
push ebp
call edi
lea eax, [esi + 0xf80]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x45b758]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, ebp
je 0x41d924
push eax
call ebx
mov ecx, dword [esi + 0x48]
cmp ecx, ebp
je 0x41d930
call fcn.00426030
mov eax, dword [0x45b278]
cmp eax, ebp
je 0x41d94c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x45b278], ebp
mov dword [0x45b27c], ebp
mov eax, dword [esi + 0x30]
cmp eax, ebp
je 0x41d956
push eax
call ebx
mov eax, dword [esi + 0x2c]
cmp eax, ebp
je 0x41d964
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x30]
cmp eax, ebp
je 0x41d972
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x36c]
cmp eax, ebp
je 0x41d97f
push eax
call ebx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], 0x103
cmp eax, ebp
je 0x41d9d4
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41d9c7
cmp dword [esp + 0x10], 0x103
jne 0x41d9c7
mov eax, dword [esi + 0x20]
cmp eax, ebp
je 0x41d9bc
push eax
call ebx
push ebp
call edi
push 0x64
call edi
push ebp
call edi
mov edx, dword [esi + 0x18]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], ebp
mov eax, dword [esi + 0x20]
cmp eax, ebp
je 0x41d9e5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], ebp
mov eax, dword [esi + 0x1c]
cmp eax, ebp
je 0x41d9ef
push eax
call ebx
mov eax, dword [esi + 0x14]
cmp eax, ebp
je 0x41da40
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41da2f
cmp dword [esp + 0x10], 0x103
jne 0x41da2f
mov eax, dword [esi + 0x1c]
cmp eax, ebp
je 0x41da24
push eax
call ebx
push ebp
call edi
push 0x64
call edi
push ebp
call edi
mov edx, dword [esi + 0x14]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x14]
cmp eax, ebp
je 0x41da40
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], ebp
mov eax, dword [esi + 0x1c]
cmp eax, ebp
je 0x41da51
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], ebp
mov eax, dword [esi + 0x3c]
cmp eax, ebp
je 0x41da5b
push eax
call ebx
mov eax, dword [esi + 0x38]
cmp eax, ebp
je 0x41dab0
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41da9b
cmp dword [esp + 0x10], 0x103
jne 0x41da9b
mov eax, dword [esi + 0x3c]
cmp eax, ebp
je 0x41da90
push eax
call ebx
push ebp
call edi
push 0x64
call edi
push ebp
call edi
mov edx, dword [esi + 0x38]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x38]
cmp eax, ebp
je 0x41dab0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov dword [esi + 0x38], ebp
jmp 0x41dab6
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x3c]
cmp eax, ebp
je 0x41dac3
push eax
call ebx
mov dword [esi + 0x3c], ebp
mov edi, dword [esi + 0xe54]
cmp edi, ebp
je 0x41dae3
mov ecx, edi
call fcn.00417090
push edi
call fcn.0043090e
add esp, 4
mov dword [esi + 0xe54], ebp
mov ecx, dword [esi + 0x48]
cmp ecx, ebp
je 0x41daf3
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x48], ebp
mov eax, dword [esi + 0xc10]
cmp eax, ebp
je 0x41db06
push eax
call fcn.0043090e
add esp, 4
mov eax, dword [esi + 0xc3c]
mov dword [esi + 0xc10], ebp
cmp eax, ebp
je 0x41db51
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41db3e
cmp dword [esp + 0x10], 0x103
jne 0x41db3e
mov edx, dword [esi + 0xc3c]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc3c]
cmp eax, ebp
je 0x41db51
push eax
call ebx
mov dword [esi + 0xc3c], ebp
mov eax, dword [esi + 0x28]
cmp eax, ebp
je 0x41db5b
push eax
call ebx
mov eax, dword [esi + 0x40]
mov dword [esi + 0x28], ebp
cmp eax, ebp
je 0x41db97
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41db8a
cmp dword [esp + 0x10], 0x103
jne 0x41db8a
mov edx, dword [esi + 0x40]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x40]
cmp eax, ebp
je 0x41db97
push eax
call ebx
mov dword [esi + 0x40], ebp
mov eax, dword [0x45b758]
cmp eax, ebp
je 0x41dba9
push eax
call ebx
mov dword [0x45b758], ebp
mov eax, dword [esi + 0x36c]
cmp eax, ebp
je 0x41dbbc
push eax
call ebx
mov dword [esi + 0x36c], ebp
lea edi, [esi + 0xf80]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ebx, dword [esi + 0xf74]
mov edi, dword [ebx]
cmp edi, ebx
je 0x41dc09
mov eax, edi
mov edi, dword [edi]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call fcn.0043090e
mov ecx, dword [esi + 0xf78]
add esp, 4
dec ecx
cmp edi, ebx
mov dword [esi + 0xf78], ecx
jne 0x41dbdc
mov eax, dword [esi + 0xf74]
push eax
call fcn.0043090e
mov dword [esi + 0xf74], ebp
mov dword [esi + 0xf78], ebp
mov ebx, dword [esi + 0xf68]
add esp, 4
mov edi, dword [ebx]
cmp edi, ebx
je 0x41dc5d
mov eax, edi
mov edi, dword [edi]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call fcn.0043090e
mov ecx, dword [esi + 0xf6c]
add esp, 4
dec ecx
cmp edi, ebx
mov dword [esi + 0xf6c], ecx
jne 0x41dc30
mov eax, dword [esi + 0xf68]
push eax
call fcn.0043090e
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0xf68], ebp
mov dword [esi + 0xf6c], ebp
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret