Function at 0x24bb7f20
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push 0xffffffffffffffff
push 0x24bc3c57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
mov eax, dword [0x24bda118]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x488], eax
call dword [0x24bd9210]
push str.crdb_universe.dll
lea ecx, [esp + 0x14]
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SString_t_unsigned_short_int__1_::constructor_unsigned_short_int_const__]
mov ebp, dword [esp + 0x49c]
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x498], 0
call dword [sym.imp.cxlibw_3_1.dll_public:_int___thiscall_CXLib301::SString_t_unsigned_short_int__1_::compareNoCase_class_CXLib301::SString_t_unsigned_short_int__1__const__const]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x10]
inc bl
mov dword [esp + 0x494], 0xffffffff
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SString_t_unsigned_short_int__1_::destructor_void_]
test bl, bl
je 0x24bb80f7
mov ecx, 0x16
mov esi, str.SoftwareBusiness_ObjectsSuite_11.5default
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
push 0x200
lea ecx, [esp + 0x8c]
push ecx
push str.BINDIR
lea edx, [esp + 0x38]
push 0
push edx
movsw word es:[edi], word [esi]
call fcn.24b92af0
add esp, 0x14
test ax, ax
je 0x24bb80f7
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
test eax, eax
je 0x24bb80f7
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0
push 0
push str.PATH
call ebx
mov edi, eax
lea ecx, [edi + edi]
push ecx
call sub.MSVCR71.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x24bb8248
push edi
push esi
push str.PATH
call ebx
push esi
lea ecx, [esp + 0x14]
mov edi, eax
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_unsigned_short_int_const__]
mov ebx, 1
push esi
mov dword [esp + 0x498], ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_unsigned_short_int_const__]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x49c], 2
call dword [sym.imp.cxlibw_3_1.dll_public:_class_CXLib301::SString_t_unsigned_short_int__1_::iterator___thiscall_CXLib301::SString_t_unsigned_short_int__1_::find_class_CXLib301::SString_t_unsigned_short_int__1__const__]
mov ecx, eax
call dword [sym.imp.cxlibw_3_1.dll_public:_bool___thiscall_CXLib301::SString_t_unsigned_short_int__1_::iterator::operator__void_const]
test al, al
je 0x24bb80d1
lea ecx, [esp + 0x14]
call dword [sym.imp.cxlibw_3_1.dll_public:_unsigned_int___thiscall_CXLib301::SString_t_unsigned_short_int__1_::getNChars_void_const]
lea edx, [eax + edi + 1]
cmp edx, 0xfffe
jae 0x24bb80d1
push 0x24bc57c0
lea ecx, [esp + 0x18]
call dword [sym.imp.cxlibw_3_1.dll_public:_class_CXLib301::SString_t_unsigned_short_int__1_____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_unsigned_short_int_const__]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.cxlibw_3_1.dll_public:_class_CXLib301::SString_t_unsigned_short_int__1_____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_class_CXLib301::SString_t_unsigned_short_int__1__const__]
lea ecx, [esp + 0x14]
call dword [sym.imp.cxlibw_3_1.dll_public:_unsigned_short_int_const____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_unsigned_short_int_const__void_const]
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea ecx, [esp + 0x14]
mov byte [esp + 0x494], bl
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x494], 0xffffffff
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
mov esi, dword [esp + 0x4a0]
mov ecx, esi
call dword [sym.imp.cxlibw_3_1.dll_public:_bool___thiscall_CXLib301::SString_t_unsigned_short_int__1_::isEmpty_void_const]
test al, al
je 0x24bb813a
mov ecx, ebp
call dword [sym.imp.cxlibw_3_1.dll_public:_unsigned_short_int_const____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_unsigned_short_int_const__void_const]
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
mov esi, eax
call edi
push 8
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push ebx
mov esi, eax
call edi
mov eax, esi
jmp 0x24bb824a
lea ecx, [esp + 0x18]
call fcn.24bb18b0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x49c], 3
call fcn.24bb7cb0
add esp, 8
test eax, eax
jge 0x24bb818a
lea ecx, [esp + 0x18]
mov dword [esp + 0x494], 0xffffffff
call fcn.24b83840
mov edx, dword [esp + 0x1c]
push edx
jmp 0x24bb8240
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
cmp ebx, eax
je 0x24bb821e
mov ebp, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, edi
mov eax, dword [esp + 0x49c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [ebx + 8]
call dword [sym.imp.cxlibw_3_1.dll_public:_class_CXLib301::SString_t_unsigned_short_int__1____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_class_CXLib301::SString_t_unsigned_short_int__1__const__]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x498], 4
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_class_CXLib301::SString_t_unsigned_short_int__1__const__]
lea ecx, [esp + 0x28]
mov byte [esp + 0x494], 6
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SString_t_unsigned_short_int__1_::destructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.cxlibw_3_1.dll_public:_unsigned_short_int_const____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_unsigned_short_int_const__void_const]
push 0x8001
mov esi, eax
call ebp
push 8
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
mov esi, eax
call ebp
test esi, esi
jne 0x24bb826f
lea ecx, [esp + 0x24]
mov byte [esp + 0x494], 3
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
mov ebx, dword [ebx]
cmp ebx, dword [esp + 0x1c]
jne 0x24bb81a0
lea ecx, [esp + 0x18]
call fcn.24b83840
lea ecx, [esp + 0x18]
mov dword [esp + 0x494], 0xffffffff
call fcn.24b83840
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x47c]
pop ebx
call fcn.24bbdf29
add esp, 0x488
ret
lea ecx, [esp + 0x18]
call fcn.24b83840
lea ecx, [esp + 0x24]
mov byte [esp + 0x494], 3
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
lea ecx, [esp + 0x18]
mov dword [esp + 0x494], 0xffffffff
call fcn.24b83840
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x24bb824a