Function at 0x10077030
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x1007705b
push 0
call sym.ACE.dll_public:_struct_HINSTANCE______thiscall_ACE_DLL_Handle::get_handle_int_
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov ebx, eax
mov dword [esp + 0xc], eax
cmp eax, dword [ebp + 0xc]
jae 0x10077287
lea ecx, [ecx]
mov eax, dword [edi + 8]
mov esi, dword [edi]
lea ecx, [eax + esi*8]
cmp eax, ecx
je 0x1007708b
lea esp, [esp]
cmp ebx, dword [eax]
je 0x1007708d
add eax, 8
cmp eax, ecx
jne 0x10077080
mov eax, ecx
cmp eax, ecx
jne 0x100770a7
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]
xor eax, eax
cmp esi, eax
je 0x100770bd
mov ecx, dword [esi + 0x14]
cmp ecx, eax
je 0x100770bd
push eax
call sym.ACE.dll_public:_struct_HINSTANCE______thiscall_ACE_DLL_Handle::get_handle_int_
test byte [0x10115fcc], 1
mov dword [esp + 0x14], eax
jne 0x100770e6
or dword [0x10115fcc], 1
push str.ACE_DEBUG
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [0x10115fc8], eax
jmp 0x100770eb
mov eax, dword [0x10115fc8]
mov cl, byte [0x10115860]
test cl, cl
je 0x100770fa
movsx eax, cl
jmp 0x1007710c
test eax, eax
je 0x100771dc
xor edx, edx
cmp byte [eax], 0x30
setne dl
mov eax, edx
test eax, eax
je 0x100771dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x10077175
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x1007712e
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push ebx
push edi
push str.ACE___P_t__SR::relocate_i___repo_____d_:_skipping_empty_slot_n
push 4
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Repository.cpp
mov dword [eax + 0x144], 0x15c
mov dword [eax + 0x148], 0
mov dword [eax + 0x14c], esi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x14
jmp 0x10077279
mov ebx, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x10077185
mov ebx, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov edx, dword [esp + 0x14]
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Repository.cpp
mov dword [eax + 0x144], 0x165
mov dword [eax + 0x148], 0
mov dword [eax + 0x14c], ebx
mov ecx, dword [esi]
push ecx
push edx
push edi
push str.ACE___P_t__SR::relocate_i___repo_____d_:_trying_name_s__handle:__d_____d_n
push 4
push eax
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
mov ebx, dword [esp + 0x2c]
add esp, 0x20
test esi, esi
je 0x10077279
cmp dword [esp + 0x14], 0
jne 0x10077279
cmp dword [esp + 0x10], 0
je 0x10077279
call sym.ACE.dll_bool___cdecl_ACE::debug_void_
test al, al
je 0x1007726d
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 0x10077219
mov ebx, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push 0
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Repository.cpp
mov dword [eax + 0x144], 0x176
mov dword [eax + 0x148], 0
mov dword [eax + 0x14c], ebx
mov edx, dword [esi]
push edx
push ecx
push edi
push str.ACE___P_t__SR::relocate_i___repo_____d_:_relocating_name_s__handle:__d_____d_n
push 4
push eax
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
mov ebx, dword [esp + 0x2c]
add esp, 0x20
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [esi + 8]
call sym.ACE.dll_public:_class_ACE_DLL____thiscall_ACE_DLL::operator_class_ACE_DLL_const__
inc ebx
mov dword [esp + 0xc], ebx
cmp ebx, dword [ebp + 0xc]
jb 0x10077070
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc