Function at 0x451f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a35b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, ecx
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 8], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
push ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
push esi
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea eax, [esp + 0x28]
mov dword [esp + 0x78], edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov esi, dword [esp + 0x80]
mov ecx, 0xc
lea edi, [esp + 0x40]
push 0xffffffffffffffff
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x5c]
push 1
push ecx
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 3
jae 0x452059
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x451fdb
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push 1
call dword [edx]
mov eax, dword [ebx + 0x80]
test eax, eax
jne 0x452019
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x44]
lea esi, [esp + 0x40]
lea edi, [eax + eax*2]
shl edi, 4
add edi, ecx
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x58]
mov edi, dword [ebx + 0x50]
inc ecx
mov eax, ecx
sub eax, edi
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebx + 0x58], eax
mov eax, dword [ebx + 0x4c]
inc eax
mov dword [ebx + 0x4c], eax
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x45202f
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push 1
call dword [edx + 4]
mov ecx, dword [ebx + 0x34]
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov edx, dword [ebx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebx + 0x80]
xor eax, eax
test edx, edx
sete al
cmp eax, 1
je 0x452083
mov eax, dword [ebx + 0x4c]
push eax
push str._CTaskMgr::__sendmsg_knl__send_fail__current_load:__d
push 0x4c89f8
call fcn.00453c20
mov eax, dword [ebx + 0xa0]
add esp, 0xc
inc eax
mov dword [ebx + 0xa0], eax
xor eax, eax
jmp 0x452109
lea ecx, [esp + 0x38]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
sub edx, edi
mov edi, dword [esp + 0x38]
sbb eax, esi
mov esi, dword [esp + 0x3c]
sub edx, ecx
push 0
sbb eax, ebp
add edx, edi
adc eax, esi
push 0x2710
push eax
push edx
call fcn.00499be0
cmp eax, 0x32
jb 0x452104
mov ecx, dword [ebx + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push str._CTaskMgr::__sendmsg_knl__type:_d__taskid:_d__cost:_dms__queue:_d.
push 0x4c89f8
call fcn.00453bb0
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4