Function at 0x1008cc10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ecx + 4]
xor ebx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x1008cd1a
mov esi, dword [0x10115fc8]
test byte [0x10115fcc], 1
jne 0x1008cc58
or dword [0x10115fcc], 1
push str.ACE_DEBUG
call dword [sym.imp.MSVCR100.dll_getenv]
mov esi, eax
add esp, 4
mov dword [0x10115fc8], esi
mov al, byte [0x10115860]
cmp al, bl
je 0x1008cc66
movsx eax, al
jmp 0x1008cc72
cmp esi, ebx
je 0x1008ccd6
xor eax, eax
cmp byte [esi], 0x30
setne al
cmp eax, ebx
je 0x1008ccd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
cmp eax, ebx
je 0x1008cc8c
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov ecx, dword [ebp + 8]
push ecx
lea edx, [edi + 0xc]
push edx
push str.ACE_Stream::remove_comparing_existing_module_:_s:_with_:_s:_n
push 4
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.D:UserscspunginACE_wrappers_ace_Stream.cpp
mov dword [eax + 0x144], 0xfc
mov dword [eax + 0x148], ebx
mov dword [eax + 0x14c], esi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
mov esi, dword [0x10115fc8]
add esp, 0x14
mov edx, dword [ebp + 8]
lea ecx, [edi + 0xc]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1008cd00
cmp al, bl
je 0x1008ccfc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1008cd00
add ecx, 2
add edx, 2
cmp al, bl
jne 0x1008cce0
xor eax, eax
jmp 0x1008cd05
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1008cd7c
mov dword [ebp - 4], edi
mov edi, dword [edi + 0x114]
cmp edi, ebx
jne 0x1008cc32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
cmp eax, ebx
je 0x1008cd30
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov ecx, dword [ebp + 8]
push ecx
push str.ACE_Stream::remove_failed_to_find_module_with_name__s_to_remove_n
push 0x20
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.D:UserscspunginACE_wrappers_ace_Stream.cpp
mov dword [eax + 0x144], 0x115
mov dword [eax + 0x148], ebx
mov dword [eax + 0x14c], esi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x10
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0x114]
cmp ecx, ebx
jne 0x1008cd8f
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
mov dword [ecx + 0x114], eax
mov esi, dword [eax + 8]
mov edx, dword [ecx + 8]
mov dword [edx + 0x58], esi
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov dword [eax + 0x58], ecx
mov eax, dword [ebp + 0xc]
cmp eax, 4
je 0x1008cde6
cmp dword [edi + 0x11c], ebx
jne 0x1008cdbd
mov dword [edi + 0x11c], eax
mov edx, dword [edi + 0x11c]
push edx
xor eax, eax
call fcn.10078330
mov eax, dword [edi + 0x11c]
push eax
mov eax, 1
call fcn.10078330
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8