Function at 0x100772e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a1418
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xc]
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x30], ebx
mov edi, dword [ebp + 8]
push ebx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x50], ebx
mov eax, dword [edi]
push edx
push eax
mov ecx, esi
call sym.ACE.dll_protected:_int___thiscall_ACE_Service_Repository::find_i_char_const__const__unsigned_int___class_ACE_Service_Type_const____bool_const
cmp dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
je 0x10077373
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov eax, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0
call fcn.10077aa0
jmp 0x100773a0
mov eax, dword [esi]
cmp ebx, eax
jae 0x1007737b
mov ebx, eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
mov eax, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0
call fcn.10077aa0
mov dword [esp + 0x20], 0
mov eax, dword [eax]
mov dword [esp + 0x48], 0xffffffff
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [eax + 4], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call sym.ACE.dll_bool___cdecl_ACE::debug_void_
test al, al
je 0x10077484
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
jne 0x100773e5
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
jmp 0x100773e9
mov dword [esp + 0x18], eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov ecx, dword [esp + 0x18]
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Repository.cpp
mov dword [eax + 0x144], 0x1c1
mov dword [eax + 0x148], 0
mov dword [eax + 0x14c], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1007742d
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
jmp 0x10077435
mov dword [esp + 0x24], 0
cmp dword [esp + 0x20], 0
jne 0x10077457
cmp dword [esp + 0x14], 0
jne 0x1007744d
mov dword [esp + 0x18], 0x100ab5cc
jmp 0x1007745f
mov dword [esp + 0x18], str.replacing
jmp 0x1007745f
mov dword [esp + 0x18], str.failed
movzx edx, byte [edi + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push ebx
push esi
push str.ACE___P_t__SR::insert___repo_____d___name_s___C___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, 0x28
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10077492
push eax
call fcn.100752d0
mov esi, dword [esp + 0x20]
cmp esi, 0xffffffff
jne 0x100774af
push 0x1c
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0x1c
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4