Function at 0x468750
Capabilities:
Check if file exists
Get file attributes
Get session user name
Link many functions at runtime
Query environment variable

Disassembly:
mov eax, 0x1810
call fcn.0048c7c0
mov eax, dword [0x4b000c]
xor eax, esp
mov dword [esp + 0x180c], eax
push ebx
mov ebx, dword [esp + 0x1818]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
cmp dword [edi], 0
je 0x468ab9
push 0x1000
lea eax, [esp + 0x81c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x46888e
push str..local
lea eax, [esp + 0x81c]
push 0x1000
push eax
call fcn.0047864a
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x824]
add esp, 0xc
push eax
call ebx
cmp eax, 0xffffffff
jne 0x46888a
cmp dword [edi + 4], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
jne 0x46888a
push 0x1000
lea eax, [esp + 0x81c]
push eax
push str.ProgramFiles
call ebp
test eax, eax
je 0x468836
push str.Debugging_Tools_for_Windows__x86_dbghelp.dll
lea eax, [esp + 0x81c]
push 0x1000
push eax
call fcn.0047864a
add esp, 0xc
lea eax, [esp + 0x818]
push eax
call ebx
cmp eax, 0xffffffff
je 0x468836
lea eax, [esp + 0x818]
push eax
call esi
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
jne 0x46888a
push 0x1000
lea eax, [esp + 0x81c]
push eax
push str.ProgramFiles
call ebp
test eax, eax
je 0x46888a
push str.Debugging_Tools_for_Windowsdbghelp.dll
lea eax, [esp + 0x81c]
push 0x1000
push eax
call fcn.0047864a
add esp, 0xc
lea eax, [esp + 0x818]
push eax
call ebx
cmp eax, 0xffffffff
je 0x46888a
lea eax, [esp + 0x818]
push eax
call esi
mov dword [edi + 4], eax
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 4]
test eax, eax
jne 0x4688a7
push str.dbghelp.dll
call esi
mov dword [edi + 4], eax
test eax, eax
je 0x468ab9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymInitialize
push eax
call esi
push str.SymCleanup
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call esi
push str.StackWalk64
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.SymGetOptions
push dword [edi + 4]
mov dword [edi + 0x38], eax
call esi
push str.SymSetOptions
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push str.SymFunctionTableAccess64
push dword [edi + 4]
mov dword [edi + 0x34], eax
call esi
push str.SymGetLineFromAddr64
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.SymGetModuleBase64
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.SymGetModuleInfo64
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
push str.SymGetSymFromAddr64
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
push str.UnDecorateSymbolName
push dword [edi + 4]
mov dword [edi + 0x28], eax
call esi
push str.SymLoadModule64
push dword [edi + 4]
mov dword [edi + 0x3c], eax
call esi
push str.SymGetSearchPath
push dword [edi + 4]
mov dword [edi + 0x30], eax
call esi
cmp dword [edi + 0x10], 0
mov dword [edi + 0x40], eax
je 0x468aa2
cmp dword [edi + 0x14], 0
je 0x468aa2
cmp dword [edi + 0x1c], 0
je 0x468aa2
cmp dword [edi + 0x20], 0
je 0x468aa2
cmp dword [edi + 0x24], 0
je 0x468aa2
cmp dword [edi + 0x28], 0
je 0x468aa2
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x468aa2
cmp dword [edi + 0x34], 0
je 0x468aa2
cmp dword [edi + 0x38], 0
je 0x468aa2
cmp dword [edi + 0x3c], 0
je 0x468aa2
cmp dword [edi + 0x30], 0
je 0x468aa2
test ebx, ebx
je 0x4689d6
push ebx
call fcn.00476a14
mov dword [edi + 0xc], eax
add esp, 4
mov eax, dword [edi + 0x2c]
push 0
push dword [edi + 0xc]
push dword [edi + 8]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4689ff
mov eax, dword [edi]
push 0
push 0
mov esi, dword [eax]
call ebx
mov ecx, dword [edi]
push eax
push str.SymInitialize
call dword [esi + 0x10]
mov eax, dword [edi + 0x24]
call eax
or eax, 0x210
push eax
mov eax, dword [edi + 0x34]
call eax
push 0x400
mov ebp, eax
lea eax, [esp + 0x41c]
push 0
push eax
call fcn.0046e200
mov ecx, dword [edi + 0x40]
add esp, 0xc
test ecx, ecx
je 0x468a5a
push 0x400
lea eax, [esp + 0x41c]
push eax
push dword [edi + 8]
call ecx
test eax, eax
jne 0x468a5a
mov eax, dword [edi]
push 0
push 0
mov esi, dword [eax]
call ebx
mov ecx, dword [edi]
push eax
push str.SymGetSearchPath
call dword [esi + 0x10]
push 0x400
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0046e200
add esp, 0xc
mov dword [esp + 0x14], 0x400
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ecx, dword [edi]
lea edx, [esp + 0x18]
push edx
push ebp
lea edx, [esp + 0x420]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, 1
jmp 0x468abb
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
xor eax, eax
mov ecx, dword [esp + 0x181c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046ad4d
add esp, 0x1810
ret 4