Function at 0x10036da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x10112018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push esi
mov dword [ebp - 0x424], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x10036ddd
lea esi, [ebp - 0x420]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10036de2
sub eax, edx
inc eax
cmp eax, 0x105
jbe 0x10036e11
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0xc
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009acfd
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x214]
mov eax, esi
sub edx, esi
jmp 0x10036e20
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10036e20
cmp byte [ebp - 0x214], cl
je 0x10036e46
lea eax, [ebp - 0x214]
cmp byte [eax], 0x5c
jne 0x10036e40
mov byte [eax], 0x2f
inc eax
cmp byte [eax], 0
jne 0x10036e38
push edi
mov edi, dword [sym.imp.MSVCR100.dll_strrchr]
lea edx, [ebp - 0x214]
push 0x2f
push edx
call edi
add esp, 8
test eax, eax
jne 0x10036e85
mov byte [ebp - 0x31c], al
jmp 0x10036e70
mov cl, byte [ebp + eax - 0x214]
mov byte [ebp + eax - 0x10c], cl
inc eax
test cl, cl
jne 0x10036e70
jmp 0x10036eb3
lea esi, [eax + 1]
lea edx, [ebp - 0x10c]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10036e92
mov byte [esi], cl
xor eax, eax
mov cl, byte [ebp + eax - 0x214]
mov byte [ebp + eax - 0x31c], cl
inc eax
test cl, cl
jne 0x10036ea0
push ebx
lea eax, [ebp - 0x10c]
push 0x2e
push eax
xor bl, bl
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x10036f3a
push str..dll
push esi
mov bl, 1
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x10036f36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x10036ef5
mov edi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push esi
push str.Warning:_improper_suffix_for_a_shared_library_on_this_platform:__s_n
push 0x20
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.Lib_Find.cpp
mov dword [eax + 0x144], 0x112
mov dword [eax + 0x148], 0xffffffff
mov dword [eax + 0x14c], edi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x10
xor esi, esi
jmp 0x10036f3f
mov esi, 4
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10036f48
sub eax, edx
lea ecx, [eax + esi]
cmp ecx, 0x105
jb 0x10036f7c
call dword [sym.imp.MSVCR100.dll__errno]
pop ebx
pop edi
mov dword [eax], 0xc
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009acfd
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x31c]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10036f85
sub ecx, esi
je 0x1003703e
add ecx, eax
cmp ecx, dword [ebp + 0x10]
jae 0x10036f5c
push 0x5c
lea edx, [ebp - 0x31c]
push 0x2f
push edx
call sym.ACE.dll_unsigned_int___cdecl_ACE::strrepl_char___char__char_
add esp, 0xc
mov eax, 0x100a4a6b
test bl, bl
jne 0x10036fbc
mov eax, str..dll
mov edi, dword [ebp - 0x424]
push eax
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x31c]
push ecx
push str._s_s_s
push edi
call sym.ACE.dll_int___cdecl_ACE_OS::sprintf_char___char_const__
mov esi, dword [sym.imp.MSVCR100.dll__access]
push 0
push edi
call esi
add esp, 0x1c
test eax, eax
je 0x1003702b
mov eax, 0x100a4a6b
test bl, bl
jne 0x10036ffc
mov eax, str..dll
push eax
lea edx, [ebp - 0x10c]
push edx
push 0x100a4a6b
lea eax, [ebp - 0x31c]
push eax
push str._s_s_s_s
push edi
call sym.ACE.dll_int___cdecl_ACE_OS::sprintf_char___char_const__
push 0
push edi
call esi
add esp, 0x20
test eax, eax
jne 0x100370cc
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009acfd
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x424]
mov esi, dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_SearchPathA]
lea ecx, [ebp - 0x428]
push ecx
push ebx
push esi
push str..dll
lea edx, [ebp - 0x10c]
push edx
push 0
mov dword [ebp - 0x428], 0
call edi
cmp eax, esi
jae 0x10036f5c
test eax, eax
jne 0x1003702b
lea esp, [esp]
mov cl, byte [eax + 0x100a4a6b]
mov byte [ebp + eax - 0x10c], cl
inc eax
test cl, cl
jne 0x10037080
lea eax, [ebp - 0x214]
lea ecx, [ebp - 0x10c]
call fcn.1002fdd0
lea eax, [ebp - 0x428]
push eax
push ebx
push esi
push str..dll
lea ecx, [ebp - 0x10c]
push ecx
push 0
call edi
cmp eax, esi
jae 0x10036f5c
test eax, eax
jne 0x1003702b
call dword [sym.imp.MSVCR100.dll__errno]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
mov dword [eax], 2
xor ecx, ebp
or eax, 0xffffffff
pop esi
call fcn.1009acfd
mov esp, ebp
pop ebp
ret