Function at 0x44a040
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x46a234
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x140]
push 0xffffffffffffffff
call sub.MFC71.DLL_CSingleLock::Lock
mov al, byte [esi + 0x17e]
mov ecx, dword [esi + 0x140]
xor ebx, ebx
cmp al, bl
je 0x44a091
call sub.MFC71.DLL_CSingleLock::Unlock
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push ebp
call sub.MFC71.DLL_CSingleLock::Unlock
call sub.MFC71.DLL_AfxGetModuleState
mov ebp, dword [eax + 4]
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov eax, dword [ebp + 0x100]
push ebx
push eax
mov ecx, esi
call fcn.00445cc0
test al, al
jne 0x44a0dc
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [ebp + 0x100]
push edi
lea edi, [esi + 0xa8]
mov dword [edi], eax
cmp dword [ebp + 0x10c], ebx
je 0x44a109
mov eax, dword [ebp + 0x13c]
cmp eax, 0xffffffff
je 0x44a109
mov ecx, dword [ebp + 0x108]
mov eax, dword [ecx + eax*4]
jmp 0x44a10b
xor eax, eax
fld qword [0x46d448]
mov dword [esi + 0xac], eax
or eax, 0xffffffff
fstp qword [esi + 0x108]
push 8
mov dword [esi + 0xd0], esi
mov byte [esi + 0x13c], 1
mov dword [esi + 0x138], ebx
mov dword [esi + 0x12c], eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
call sub.MFC71.DLL_operator_new
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x1c], ebx
je 0x44a16f
push ebx
push ebx
push 1
push ebx
mov ecx, eax
call fcn.00465246
jmp 0x44a171
xor eax, eax
push 8
mov dword [esp + 0x20], 0xffffffff
mov dword [esi + 0x134], eax
call sub.MFC71.DLL_operator_new
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x1c], 1
je 0x44a1a7
push ebx
push ebx
push 1
push ebx
mov ecx, eax
call fcn.00465246
jmp 0x44a1a9
xor eax, eax
mov edx, dword [esi + 0x134]
mov dword [esi + 0x130], eax
mov eax, dword [edx + 4]
push eax
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
fld qword [0x46dfe0]
mov eax, dword [edi]
sub esp, 8
fstp qword [esp]
push 0xfb0
push eax
call sub.MIL.dll_Ordinal_141
mov ecx, dword [edi]
push edi
push 0x4468f0
push 3
push ecx
call sub.MIL.dll_Ordinal_801
push ebx
push 4
push ebx
push ebx
push edi
push 0x449f90
call sub.MFC71.DLL_AfxBeginThread
push ebx
push 4
push ebx
push ebx
push edi
push 0x4474d0
mov dword [esi + 0x150], eax
call sub.MFC71.DLL_AfxBeginThread
mov edx, dword [esi + 0x150]
mov dword [esi + 0x14c], eax
mov eax, dword [edx + 0x30]
push eax
push ebx
mov ecx, ebp
call fcn.00436880
mov ecx, dword [esi + 0x14c]
mov edx, dword [ecx + 0x30]
push edx
push 1
mov ecx, ebp
call fcn.00436880
mov eax, dword [esi + 0x150]
mov ecx, dword [eax + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push ecx
call edi
mov edx, dword [esi + 0x14c]
mov eax, dword [edx + 0x2c]
push eax
call edi
fld qword [0x46d440]
mov ecx, dword [esi + 0x150]
sub esp, 8
mov dword [ecx + 0x28], ebx
fstp qword [esp]
mov edx, dword [esi + 0x14c]
push ebx
mov dword [edx + 0x28], ebx
push ebx
mov ecx, esi
mov byte [esi + 0x59], 1
call fcn.00447c20
mov ecx, dword [esp + 0x14]
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret