Function at 0x10072c70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009fcb2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
cmp dword [edi + 0x24], 0
jne 0x10072d04
push 0x10115520
push 0x10
call fcn.1009ae46
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], 0
test esi, esi
je 0x10072cd2
call fcn.10035010
mov eax, esi
jmp 0x10072cd4
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [edi + 0x24], eax
test eax, eax
jne 0x10072d04
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0xc
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
mov esi, dword [ecx]
mov ebx, ecx
lea ecx, [ecx]
cmp esi, ebx
je 0x10072d68
mov edi, dword [ebp + 8]
mov edx, dword [esi + 4]
mov ecx, dword [edi]
mov eax, dword [edx]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10072d40
test dl, dl
je 0x10072d3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10072d40
add eax, 2
add ecx, 2
test dl, dl
jne 0x10072d20
xor eax, eax
jmp 0x10072d45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10072d4d
mov esi, dword [esi]
jmp 0x10072d10
mov eax, dword [esi + 4]
mov dword [eax + 4], edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x10115520
push 8
call fcn.1009ae46
mov ebx, dword [sym.imp.MSVCR100.dll__errno]
mov esi, eax
add esp, 8
test esi, esi
je 0x10072dcc
mov edi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], edi
mov eax, dword [edi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10072d94
sub eax, edx
inc eax
push 0x10115520
push eax
call fcn.1009ad0c
add esp, 8
mov dword [esi], eax
test eax, eax
jne 0x10072dba
call ebx
mov dword [eax], 0xc
mov ecx, dword [edi]
mov edx, dword [esi]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10072dc0
jmp 0x10072dce
xor esi, esi
mov dword [esp + 0x18], esi
test esi, esi
jne 0x10072df3
call ebx
mov dword [eax], 0xc
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x24]
lea edi, [esp + 0x18]
call fcn.10074f40
test byte [0x10115fcc], 1
jne 0x10072e28
or dword [0x10115fcc], 1
push str.ACE_DEBUG
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [0x10115fc8], eax
jmp 0x10072e2d
mov eax, dword [0x10115fc8]
mov cl, byte [0x10115860]
test cl, cl
je 0x10072e3c
movsx eax, cl
jmp 0x10072e4a
test eax, eax
je 0x10072eae
xor edx, edx
cmp byte [eax], 0x30
setne dl
mov eax, edx
test eax, eax
je 0x10072eae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
mov eax, dword [eax]
test eax, eax
je 0x10072e60
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov ecx, dword [ebp + 8]
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Gestalt.cpp
mov dword [eax + 0x144], 0x184
mov dword [eax + 0x148], 0
mov dword [eax + 0x14c], esi
mov edx, dword [ecx]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ecx + 0x1c]
push edx
push str.ACE___P_t__SG::add_processed_static_svc__repo______s_n
push 4
push eax
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x14
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4