Function at 0x10038b40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x114], ebx
mov byte [esi + 0x118], 1
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov word [esi + 0x12c], 0x100
mov dword [esi + 0x130], ebx
mov eax, dword [sym.ACE.dll_unsigned_long_int_ACE_Log_Msg::default_priority_mask_]
push edi
mov dword [esi + 0x134], eax
mov dword [esi + 0x138], ebx
call fcn.10038580
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [sym.ACE.dll_int_ACE_Log_Msg::instance_count_]
inc eax
mov dword [sym.ACE.dll_int_ACE_Log_Msg::instance_count_], eax
cmp eax, 1
jne 0x10038beb
mov dword [sym.ACE.dll_void____cdecl___class_ACE_OS_Log_Msg_Attributes___int____cdecl___void____int____cdecl___void____ACE_Base_Thread_Adapter::init_log_msg_hook_], sym.ACE.dll_public:_static_void___cdecl_ACE_Log_Msg::init_hook_class_ACE_OS_Log_Msg_Attributes___int____cdecl___void____int____cdecl___void___
mov dword [sym.ACE.dll_void____cdecl___class_ACE_OS_Thread_Descriptor___class_ACE_OS_Log_Msg_Attributes___ACE_Base_Thread_Adapter::inherit_log_msg_hook_], sym.ACE.dll_public:_static_void___cdecl_ACE_Log_Msg::inherit_hook_class_ACE_OS_Thread_Descriptor___class_ACE_OS_Log_Msg_Attributes__
mov dword [sym.ACE.dll_void____cdecl___void__ACE_Base_Thread_Adapter::close_log_msg_hook_], sym.ACE.dll_private:_static_void___cdecl_ACE_Log_Msg::close_void_
mov dword [sym.ACE.dll_void____cdecl___char_const___ACE_Base_Thread_Adapter::sync_log_msg_hook_], sym.ACE.dll_private:_static_void___cdecl_ACE_Log_Msg::sync_hook_char_const__
mov dword [sym.ACE.dll_class_ACE_OS_Thread_Descriptor_____cdecl___void__ACE_Base_Thread_Adapter::thr_desc_log_msg_hook_], sym.ACE.dll_private:_static_class_ACE_OS_Thread_Descriptor____cdecl_ACE_Log_Msg::thr_desc_hook_void_
push str.ACE_LOG_TIMESTAMP
mov byte [esi + 0x13c], bl
call dword [sym.imp.MSVCR100.dll_getenv]
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10038c83
mov edx, str.TIME
mov ecx, edi
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10038c30
cmp al, bl
je 0x10038c2c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10038c30
add ecx, 2
add edx, 2
cmp al, bl
jne 0x10038c10
xor eax, eax
jmp 0x10038c35
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x10038c45
mov dword [esi + 0x138], 1
jmp 0x10038c83
mov ecx, str.DATE
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10038c70
cmp dl, bl
je 0x10038c6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10038c70
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x10038c50
xor eax, eax
jmp 0x10038c75
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x10038c83
mov dword [esi + 0x138], 2
push 0x10115520
push 0x1001
call fcn.1009ad0c
add esp, 8
mov dword [esi + 0x114], eax
cmp eax, ebx
jne 0x10038cab
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret