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

Disassembly:
mov eax, 0x1804
call fcn.00431cd0
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x42ec0e
xor eax, eax
pop edi
add esp, 0x1804
ret 4
push ebx
push ebp
push esi
push 0x1000
lea eax, [esp + 0x818]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x42ed0f
push str..local
lea eax, [esp + 0x818]
push 0x1000
push eax
call fcn.00443ddb
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x820]
add esp, 0xc
push eax
call ebx
cmp eax, 0xffffffff
jne 0x42ed0f
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [esp + 0x814]
push 0x1000
push eax
push str.ProgramFiles
call ebp
test eax, eax
je 0x42ecbb
push str.Debugging_Tools_for_Windowsdbghelp.dll
lea eax, [esp + 0x818]
push 0x1000
push eax
call fcn.00443ddb
add esp, 0xc
lea eax, [esp + 0x814]
push eax
call ebx
cmp eax, 0xffffffff
je 0x42ecbb
lea eax, [esp + 0x814]
push eax
call esi
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
jne 0x42ed1f
push 0x1000
lea eax, [esp + 0x818]
push eax
push str.ProgramFiles
call ebp
test eax, eax
je 0x42ed0f
push str.Debugging_Tools_for_Windows_64_Bitdbghelp.dll
lea eax, [esp + 0x818]
push 0x1000
push eax
call fcn.00443ddb
add esp, 0xc
lea eax, [esp + 0x814]
push eax
call ebx
cmp eax, 0xffffffff
je 0x42ed0f
lea eax, [esp + 0x814]
push eax
call esi
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
jne 0x42ed1f
push str.dbghelp.dll
call esi
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x42ef4d
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 0x42ef36
cmp dword [edi + 0x14], 0
je 0x42ef36
cmp dword [edi + 0x1c], 0
je 0x42ef36
cmp dword [edi + 0x20], 0
je 0x42ef36
cmp dword [edi + 0x24], 0
je 0x42ef36
cmp dword [edi + 0x28], 0
je 0x42ef36
cmp dword [edi + 0x2c], 0
je 0x42ef36
cmp dword [edi + 0x34], 0
je 0x42ef36
cmp dword [edi + 0x38], 0
je 0x42ef36
cmp dword [edi + 0x3c], 0
je 0x42ef36
cmp dword [edi + 0x30], 0
je 0x42ef36
mov eax, dword [esp + 0x1818]
test eax, eax
je 0x42ee5c
push eax
call fcn.00443e44
add esp, 4
mov dword [edi + 0xc], eax
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 0x42ee88
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 + 0x418]
push 0
push eax
call fcn.00434830
mov ecx, dword [edi + 0x40]
add esp, 0xc
test ecx, ecx
je 0x42eee3
push 0x400
lea eax, [esp + 0x418]
push eax
push dword [edi + 8]
call ecx
test eax, eax
jne 0x42eee3
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 + 0x18]
push 0
push eax
call fcn.00434830
add esp, 0xc
mov dword [esp + 0x10], 0x400
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push edx
push ebp
lea edx, [esp + 0x41c]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x1804
ret 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x1804
ret 4