Function at 0x4268f0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44afb0
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
mov esi, ecx
mov byte [esi + 0xad], 1
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x42692e
xor eax, eax
pop esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
push ebx
push edi
xor edi, edi
mov al, byte [esi + 0xac]
test al, al
je 0x426974
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x32
jae 0x426956
push 0xa
call ebx
inc edi
mov al, byte [esi + 0xac]
test al, al
jne 0x426942
mov al, byte [esi + 0xac]
test al, al
je 0x426974
mov eax, dword [esi + 0xa8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x426b87
push ebp
mov ecx, esi
call fcn.004266a0
mov ecx, esi
call fcn.00426750
lea edi, [esi + 0xfc]
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xf0]
mov dword [esp + 0x5c], 0
test eax, eax
jbe 0x426ac5
lea ebx, [esi + 0xc8]
mov ecx, ebx
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov ecx, dword [ecx + 0xc]
push eax
mov dword [esp + 0x54], ecx
call sub.MFC42.DLL_operatordelete
mov edi, dword [esi + 0xd0]
mov edx, dword [esi + 0xf0]
add esp, 4
add edi, 4
dec edx
mov dword [esi + 0xd0], edi
mov ecx, edx
mov eax, edi
test ecx, ecx
mov dword [esi + 0xf0], edx
je 0x426a04
cmp eax, dword [esi + 0xcc]
jne 0x426ab3
mov eax, dword [esi + 0xd4]
lea edx, [eax + 4]
mov dword [esi + 0xd4], edx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0xf0]
add esp, 4
test eax, eax
jne 0x426a7b
lea ecx, [esp + 0x24]
call fcn.004291e0
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0xc8]
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0xd8]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0xe8]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x426ab3
mov eax, dword [esi + 0xd4]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00429440
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
lea ecx, [esi + 0xc8]
mov dword [esi + 0xc8], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0xf0]
test eax, eax
ja 0x4269b0
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ebx, [esi + 0x134]
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [esi + 0x128]
mov ecx, dword [esi + 0x130]
lea edi, [esi + 0x124]
mov dword [esp + 0x5c], 1
mov eax, dword [ebp]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x426b42
mov ecx, eax
cmp eax, ecx
jne 0x426b42
cmp ebp, ebp
jne 0x426b42
mov ecx, dword [ebp + 4]
push ecx
mov ecx, edi
call fcn.00428480
mov edx, dword [edi + 4]
mov eax, dword [0x45f0e4]
lea ecx, [esp + 0x18]
mov dword [edx + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 0xc], 0
push ecx
mov dword [eax], eax
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [eax + 8], eax
call fcn.004272e0
jmp 0x426b70
cmp eax, ebp
je 0x426b6c
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
call fcn.004294d0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, edi
call fcn.00428040
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x426b46
mov dword [esp + 0x18], eax
push ebx
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, esi
call fcn.00426bc0
pop ebp
mov ecx, dword [esi + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x50]
pop edi
mov dword [esi + 0xa8], 0
pop ebx
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret