Function at 0x100164d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009cbe1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [esi], vtable.ACE_Timer_Heap_T_class_ACE_Event_Handler___class_ACE_Event_Handler_Handle_Timeout_Upcall_class_ACE_Recursive_Thread_Mutex___class_ACE_Recursive_Thread_Mutex_.0
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x10016519
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
test eax, eax
je 0x100165c4
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x40]
mov edx, dword [esi + 0x7c]
cmp dword [edx + ecx*4], 0xfffffffe
mov edi, dword [eax]
lea edx, [edx + ecx*4]
jne 0x1001654d
dec dword [esi + 0x70]
jmp 0x10016550
dec dword [esi + 0x6c]
mov dword [edx], 0xffffffff
cmp ecx, dword [esi + 0x84]
jae 0x1001656c
cmp ecx, dword [esi + 0x80]
ja 0x1001656c
mov dword [esi + 0x84], ecx
cmp dword [esi + 0x88], 0
jne 0x10016581
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x10016590
mov ecx, dword [esi + 0x8c]
mov dword [eax + 0x3c], ecx
mov dword [esi + 0x8c], eax
mov eax, dword [edi + 0x14]
xor ebx, ebx
test eax, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
push 0x20
push 0xffffffffffffffff
mov ecx, edi
sete bl
call edx
test ebx, ebx
je 0x100165b4
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
mov ecx, edi
call edx
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x14]
jb 0x1001652e
mov eax, dword [esi + 0x78]
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
push eax
call ebx
mov eax, dword [esi + 0x7c]
push eax
call ebx
add esp, 8
cmp dword [esi + 0x88], 0
je 0x10016625
mov eax, dword [esi + 0x90]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
lea ecx, [ecx]
cmp ecx, dword [esi + 0x90]
je 0x10016625
mov eax, dword [ecx + 4]
test eax, eax
je 0x1001661c
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push sym.ACE.dll_public:_void___thiscall_ACE_Guard_class_ACE_Null_Mutex_::destructor_void_
push ecx
push 0x48
push eax
call fcn.1009ad75
push edi
call ebx
mov ecx, dword [ebp - 0x18]
add esp, 4
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov ecx, edx
jmp 0x100165f0
mov byte [ebp - 4], 0
mov eax, dword [esi + 0x90]
mov edi, dword [eax]
cmp edi, eax
je 0x10016653
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push edi
mov edi, dword [edi]
call eax
dec dword [esi + 0x94]
cmp edi, dword [esi + 0x90]
jne 0x10016635
mov eax, dword [esi + 0x90]
mov dword [eax], eax
mov eax, dword [esi + 0x90]
test eax, eax
je 0x10016673
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x10]
call eax
mov dword [esi + 0x90], 0
mov dword [esi], vtable.ACE_Timer_Queue_T_class_ACE_Event_Handler___class_ACE_Event_Handler_Handle_Timeout_Upcall_class_ACE_Recursive_Thread_Mutex___class_ACE_Recursive_Thread_Mutex_.0
mov dword [ebp - 4], 2
cmp byte [esi + 0x30], 0
je 0x100166a1
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x100166a1
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esi + 0x31], 0
je 0x100166b6
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100166b6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp byte [esi + 0x20], 0
lea eax, [esi + 8]
jne 0x100166ca
push eax
mov byte [eax + 0x18], 1
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret