Function at 0x42aae0
Capabilities:
Check if file exists
Get file attributes
Link many functions at runtime
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1408
call fcn.0042d960
mov eax, dword [0x4b3074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1408], ebx
cmp dword [edi], 0
je 0x42ae28
push 0x1000
lea eax, [ebp - 0x1404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x42ac15
push str..local
lea eax, [ebp - 0x1404]
push 0x1000
push eax
call fcn.0043b7c9
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [ebp - 0x1404]
add esp, 0xc
push eax
call ebx
cmp eax, 0xffffffff
jne 0x42ac0f
cmp dword [edi + 4], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
jne 0x42ac0f
push 0x1000
lea ecx, [ebp - 0x1404]
push ecx
push str.ProgramFiles
call eax
test eax, eax
je 0x42abba
push str.Debugging_Tools_for_Windows__x86_dbghelp.dll
lea eax, [ebp - 0x1404]
push 0x1000
push eax
call fcn.0043b7c9
add esp, 0xc
lea eax, [ebp - 0x1404]
push eax
call ebx
cmp eax, 0xffffffff
je 0x42abba
lea eax, [ebp - 0x1404]
push eax
call esi
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
jne 0x42ac0f
push 0x1000
lea ecx, [ebp - 0x1404]
push ecx
push str.ProgramFiles
call eax
test eax, eax
je 0x42ac0f
push str.Debugging_Tools_for_Windowsdbghelp.dll
lea eax, [ebp - 0x1404]
push 0x1000
push eax
call fcn.0043b7c9
add esp, 0xc
lea eax, [ebp - 0x1404]
push eax
call ebx
cmp eax, 0xffffffff
je 0x42ac0f
lea eax, [ebp - 0x1404]
push eax
call esi
mov dword [edi + 4], eax
mov ebx, dword [ebp - 0x1408]
mov eax, dword [edi + 4]
test eax, eax
jne 0x42ac2e
push str.dbghelp.dll
call esi
mov dword [edi + 4], eax
test eax, eax
je 0x42ae28
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 0x42ae11
cmp dword [edi + 0x14], 0
je 0x42ae11
cmp dword [edi + 0x1c], 0
je 0x42ae11
cmp dword [edi + 0x20], 0
je 0x42ae11
cmp dword [edi + 0x24], 0
je 0x42ae11
cmp dword [edi + 0x28], 0
je 0x42ae11
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x42ae11
cmp dword [edi + 0x34], 0
je 0x42ae11
cmp dword [edi + 0x38], 0
je 0x42ae11
cmp dword [edi + 0x3c], 0
je 0x42ae11
cmp dword [edi + 0x30], 0
je 0x42ae11
test ebx, ebx
je 0x42ad5d
push ebx
call fcn.0043b8f6
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 0x42ad86
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 dword [ebp - 0x1408], eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00433180
mov ecx, dword [edi + 0x40]
add esp, 0xc
test ecx, ecx
je 0x42ade3
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [edi + 8]
call ecx
test eax, eax
jne 0x42ade3
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]
mov ecx, dword [edi]
lea edx, [ebp - 0x404]
push 0
push dword [ebp - 0x1408]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cb29
mov esp, ebp
pop ebp
ret 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cb29
mov esp, ebp
pop ebp
ret 4