Function at 0x100768e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a2ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0xc]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
call sym.ACE.dll_bool___cdecl_ACE::debug_void_
test al, al
je 0x100769dd
mov esi, dword [edi]
cmp esi, ebx
je 0x100769dd
mov eax, dword [edi + 8]
mov ebx, dword [edi]
lea ecx, [eax + ebx*8]
dec esi
cmp eax, ecx
je 0x1007695b
mov edi, edi
cmp esi, dword [eax]
je 0x1007695d
add eax, 8
cmp eax, ecx
jne 0x10076950
mov eax, ecx
cmp eax, ecx
jne 0x10076977
call fcn.10077b00
mov eax, dword [edi + 8]
lea eax, [eax + ebx*8]
mov dword [eax], esi
mov dword [eax + 4], 0
inc dword [edi]
cmp dword [eax + 4], 0
jne 0x100769d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x10076993
mov ebx, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push esi
push edi
push str.ACE___P_t__SR::fini__repo_____d_____0_n
push 4
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Repository.cpp
mov dword [eax + 0x144], 0x8a
mov dword [eax + 0x148], 0
mov dword [eax + 0x14c], ebx
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x14
test esi, esi
jne 0x10076941
mov ebx, dword [edi]
test ebx, ebx
je 0x10076acc
mov eax, dword [edi + 8]
mov esi, dword [edi]
dec ebx
lea ecx, [eax + esi*8]
mov dword [esp + 0x18], ebx
cmp eax, ecx
je 0x10076a03
cmp ebx, dword [eax]
je 0x10076a05
add eax, 8
cmp eax, ecx
jne 0x100769f8
mov eax, ecx
cmp eax, ecx
jne 0x10076a1f
call fcn.10077b00
mov ecx, dword [edi + 8]
lea eax, [ecx + esi*8]
mov dword [eax], ebx
mov dword [eax + 4], 0
inc dword [edi]
mov esi, dword [eax + 4]
test esi, esi
je 0x10076ac4
mov eax, dword [esi + 4]
test eax, eax
je 0x10076ac4
cmp dword [eax + 0x14], 0x108
je 0x10076ac4
call sym.ACE.dll_bool___cdecl_ACE::debug_void_
test al, al
je 0x10076ab9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x10076a61
mov ebx, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
xor edx, edx
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Repository.cpp
mov dword [eax + 0x144], 0xa6
mov dword [eax + 0x148], edx
mov dword [eax + 0x14c], ebx
mov ecx, dword [esi + 4]
cmp ecx, edx
je 0x10076a99
mov edx, dword [ecx + 8]
movzx ebx, byte [esi + 0x1c]
push ebx
mov ebx, dword [esp + 0x1c]
push edx
mov edx, dword [esi]
push ecx
push edx
push ebx
push edi
push str.ACE___P_t__SR::fini__repo_____d___name_s__type____object____active_d_n
push 4
push eax
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x24
mov ecx, esi
call sym.ACE.dll_public:_int___thiscall_ACE_Service_Type::fini_void_
add dword [esp + 0x14], eax
test ebx, ebx
jne 0x100769e7
mov ebx, dword [edi]
test ebx, ebx
je 0x10076bbb
mov eax, dword [edi + 8]
mov esi, dword [edi]
dec ebx
lea ecx, [eax + esi*8]
mov dword [esp + 0x18], ebx
cmp eax, ecx
je 0x10076af2
cmp ebx, dword [eax]
je 0x10076af4
add eax, 8
cmp eax, ecx
jne 0x10076ae7
mov eax, ecx
cmp eax, ecx
jne 0x10076b0e
call fcn.10077b00
mov eax, dword [edi + 8]
lea eax, [eax + esi*8]
mov dword [eax], ebx
mov dword [eax + 4], 0
inc dword [edi]
mov esi, dword [eax + 4]
test esi, esi
je 0x10076bb3
mov eax, dword [esi + 4]
test eax, eax
je 0x10076bb3
cmp dword [eax + 0x14], 0x108
jne 0x10076bb3
call sym.ACE.dll_bool___cdecl_ACE::debug_void_
test al, al
je 0x10076ba8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x10076b50
mov ebx, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
xor edx, edx
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Repository.cpp
mov dword [eax + 0x144], 0xc6
mov dword [eax + 0x148], edx
mov dword [eax + 0x14c], ebx
mov ecx, dword [esi + 4]
cmp ecx, edx
je 0x10076b88
mov edx, dword [ecx + 8]
movzx ebx, byte [esi + 0x1c]
push ebx
mov ebx, dword [esp + 0x1c]
push edx
push ecx
mov ecx, dword [esi]
push ecx
push ebx
push edi
push str.ACE___P_t__SR::fini__repo_____d___name_s__type____object____active_d_n
push 4
push eax
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x24
mov ecx, esi
call sym.ACE.dll_public:_int___thiscall_ACE_Service_Type::fini_void_
add dword [esp + 0x14], eax
test ebx, ebx
jne 0x10076ad6
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
neg eax
sbb eax, eax
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret