Function at 0x10074890
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a09fd
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 2
push ebx
push 1
push str.df:k:nyS:
push eax
push esi
lea ecx, [ebp - 0x84]
call sym.ACE.dll_public:_void___thiscall_ACE_Get_Opt::constructor_int__char____char_const___int__int__int__int_
mov ecx, edi
mov dword [ebp - 4], ebx
call sym.ACE.dll_protected:_int___thiscall_ACE_Service_Gestalt::init_svc_conf_file_queue_void_
cmp eax, 0xffffffff
je 0x10074c57
cmp esi, ebx
je 0x10074ba2
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x4c], ebx
cmp dword [ebp - 0x80], ebx
je 0x10074b9f
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x10074913
cmp byte [eax], 0
jne 0x10074922
lea ecx, [ebp - 0x84]
call sym.ACE.dll_private:_int___thiscall_ACE_Get_Opt::nextchar_i_void_
cmp eax, ebx
jne 0x10074953
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + ecx*4]
cmp byte [eax], 0x2d
jne 0x10074936
cmp byte [eax + 1], 0x2d
je 0x1007493b
cmp dword [ebp - 0x6c], ebx
je 0x10074948
lea ecx, [ebp - 0x84]
call sym.ACE.dll_private:_int___thiscall_ACE_Get_Opt::long_option_i_void_
jmp 0x10074953
lea ecx, [ebp - 0x84]
call sym.ACE.dll_private:_int___thiscall_ACE_Get_Opt::short_option_i_void_
mov edi, eax
cmp edi, 0xffffffff
je 0x10074ba2
lea eax, [edi - 0x53]
cmp eax, 0x26
ja case.0x10074971.84
movzx eax, byte [eax + 0x10074d20]
jmp dword [eax*4 + 0x10074d04]
mov byte [0x10115860], 1
jmp 0x100748f8
mov esi, dword [ebp - 0x74]
cmp dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], ebx
jne 0x100749c0
call sym.ACE.dll_public:_static_class_ACE_Recursive_Thread_Mutex____cdecl_ACE_Static_Object_Lock::instance_void_
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], ebx
jne 0x100749b9
mov dword [0x10115e5c], vtable.ACE_New_Allocator.0
mov dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_], 0x10115e5c
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [sym.ACE.dll_class_ACE_Allocator__ACE_Allocator::allocator_]
xor eax, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], 0
cmp esi, ebx
je 0x100749ea
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100749e1
sub eax, edx
push 1
push eax
push esi
lea ecx, [ebp - 0x24]
call sym.ACE.dll_public:_void___thiscall_ACE_String_Base_char_::set_char_const___unsigned_int__bool_
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 1
mov edi, dword [eax + 0x18]
push edx
call fcn.100750d0
cmp eax, 0xffffffff
sete bl
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x10074a2d
cmp byte [ebp - 0x14], 0
je 0x10074a2d
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx + 0x10]
push eax
call edx
test bl, bl
jne 0x10074bca
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor ebx, ebx
jmp 0x100748f8
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], ecx
jmp 0x100748f8
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x10], 1
jmp 0x100748f8
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x10], 0
jmp 0x100748f8
mov esi, dword [ebp - 0x10]
cmp dword [esi + 0x14], ebx
jne 0x10074aa4
push 0x10115520
push 0xc
call fcn.1009ae46
add esp, 8
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x10074a93
mov edi, eax
call fcn.10074fb0
jmp 0x10074a95
xor eax, eax
mov byte [ebp - 4], 0
mov dword [esi + 0x14], eax
cmp eax, ebx
je 0x10074c4b
mov edx, dword [ebp - 0x74]
push 1
push ebx
push edx
lea ecx, [ebp - 0x38]
call sym.ACE.dll_public:_void___thiscall_ACE_String_Base_char_::constructor_char_const___class_ACE_Allocator___bool_
mov byte [ebp - 4], 3
mov edi, dword [esi + 0x14]
push eax
call fcn.100750d0
cmp eax, 0xffffffff
sete bl
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x10074ae4
cmp byte [ebp - 0x28], 0
je 0x10074ae4
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x10]
push edx
call eax
test bl, bl
jne 0x10074c80
xor ebx, ebx
jmp 0x100748f8
test byte [0x10115fcc], 1
jne 0x10074b1b
or dword [0x10115fcc], 1
push str.ACE_DEBUG
call dword [sym.imp.MSVCR100.dll_getenv]
mov ecx, eax
add esp, 4
mov dword [0x10115fc8], ecx
jmp 0x10074b21
mov ecx, dword [0x10115fc8]
mov al, byte [0x10115860]
test al, al
je 0x10074b2f
movsx eax, al
jmp 0x10074b3f
cmp ecx, ebx
je 0x100748f8
xor eax, eax
cmp byte [ecx], 0x30
setne al
cmp eax, ebx
je 0x100748f8
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 0x10074b5d
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push edi
push str.ACE___P_t___c_is_not_a_ACE_Service_Config_option_n
push 4
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Gestalt.cpp
mov dword [eax + 0x144], 0x4db
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
jmp 0x100748f8
mov dword [ebp - 0x7c], ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
call sym.ACE.dll_public:_void___thiscall_ACE_Get_Opt::destructor_void_
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x10074be0
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push str.enqueue_tail
push 0x100a50fc
push 0x80
or edi, 0xffffffff
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Gestalt.cpp
mov dword [eax + 0x144], 0x4b9
mov dword [eax + 0x148], edi
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
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], edi
call sym.ACE.dll_public:_void___thiscall_ACE_Get_Opt::destructor_void_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0xc
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
call sym.ACE.dll_public:_void___thiscall_ACE_Get_Opt::destructor_void_
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x10074c96
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push str.enqueue_tail
push 0x100a50fc
push 0x80
or edi, 0xffffffff
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Service_Gestalt.cpp
mov dword [eax + 0x144], 0x4d5
mov dword [eax + 0x148], edi
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
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], edi
call sym.ACE.dll_public:_void___thiscall_ACE_Get_Opt::destructor_void_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc