Function at 0x44f010
Capabilities:
Get common file path
Link many functions at runtime
Query environment variable

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x516471
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 8], ebx
je 0x44f042
mov eax, 1
jmp 0x44f47e
mov eax, dword [esp + 0x23c]
lea ecx, [esp + 0x14]
push eax
call fcn.004ff523
push str.dbghelp.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x240], ebx
call fcn.004ff754
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 0x18]
mov dword [esi + 0xc], eax
call fcn.004ff4af
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x234], ebp
call fcn.004ff4af
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44f47c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymCleanup
push eax
call edi
mov edx, dword [esi + 0x10]
push str.SymFunctionTableAccess64
mov dword [edx], eax
mov eax, dword [esi + 0xc]
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.SymGetLineFromAddr64
mov dword [ecx + 4], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
push str.SymGetModuleBase64
mov dword [ecx + 8], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
push str.SymGetModuleInfo64
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
push str.SymGetOptions
mov dword [ecx + 0x10], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
push str.SymGetSymFromAddr64
mov dword [ecx + 0x14], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
push str.SymInitialize
mov dword [ecx + 0x18], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
push str.SymLoadModule64
mov dword [ecx + 0x1c], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
push str.SymSetOptions
mov dword [ecx + 0x20], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
push str.StackWalk64
mov dword [ecx + 0x24], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
push str.UnDecorateSymbolName
mov dword [ecx + 0x28], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
push str.MiniDumpWriteDump
mov dword [ecx + 0x2c], eax
mov edx, dword [esi + 0xc]
push edx
call edi
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 0x10]
cmp dword [eax], ebx
je 0x44f46f
cmp dword [eax + 4], ebx
je 0x44f46f
cmp dword [eax + 8], ebx
je 0x44f46f
cmp dword [eax + 0xc], ebx
je 0x44f46f
cmp dword [eax + 0x10], ebx
je 0x44f46f
cmp dword [eax + 0x14], ebx
je 0x44f46f
cmp dword [eax + 0x18], ebx
je 0x44f46f
cmp dword [eax + 0x1c], ebx
je 0x44f46f
cmp dword [eax + 0x20], ebx
je 0x44f46f
cmp dword [eax + 0x24], ebx
je 0x44f46f
cmp dword [eax + 0x28], ebx
je 0x44f46f
cmp dword [eax + 0x2c], ebx
je 0x44f46f
mov edx, dword [0x520068]
mov dword [esp + 0x10], edx
push 0x51f560
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 1
call fcn.00435500
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jbe 0x44f252
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00435500
push 0x51f550
lea ecx, [esp + 0x14]
call fcn.00435500
lea edx, [esp + 0x2c]
push 0x200
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x44f295
lea eax, [esp + 0x2c]
push 0x5c
push eax
call fcn.00421660
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [eax], 0
push ecx
lea ecx, [esp + 0x14]
call fcn.00435500
push 0x51f550
lea ecx, [esp + 0x14]
call fcn.00435500
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edx, [esp + 0x2c]
push 0x200
push edx
push str._NT_SYMBOL_PATH
call edi
test eax, eax
jbe 0x44f2cc
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
call fcn.00435500
push 0x51f550
lea ecx, [esp + 0x14]
call fcn.00435500
lea ecx, [esp + 0x2c]
push 0x200
push ecx
push str._NT_ALTERNATE_SYMBOL_PATH
call edi
test eax, eax
jbe 0x44f2fd
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
call fcn.00435500
push 0x51f550
lea ecx, [esp + 0x14]
call fcn.00435500
lea eax, [esp + 0x2c]
push 0x200
push eax
push str.SYSTEMROOT
call edi
test eax, eax
jbe 0x44f358
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00435500
push 0x51f550
lea ecx, [esp + 0x14]
call fcn.00435500
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
call fcn.00435500
push str._system32
lea ecx, [esp + 0x14]
call fcn.00435500
push 0x51f550
lea ecx, [esp + 0x14]
call fcn.00435500
lea edi, [esi + 0x14]
lea ecx, [esp + 0x10]
push edi
call fcn.00435560
mov ecx, edi
call fcn.004345f0
mov edi, dword [esi + 0x10]
push ebx
push ebx
lea ecx, [esp + 0x18]
call fcn.00435580
push eax
mov eax, dword [esi]
push eax
call dword [edi + 0x1c]
test eax, eax
jne 0x44f39d
lea ecx, [esp + 0x10]
mov dword [esi + 8], ebx
mov dword [esp + 0x234], ebp
call fcn.004348e0
jmp 0x44f47c
mov ecx, dword [esi + 0x10]
call dword [ecx + 0x14]
mov edx, dword [esi + 0x10]
or eax, 0x210
push eax
call dword [edx + 0x24]
lea ecx, [esp + 0x1c]
call fcn.0043f0b0
mov edi, dword [esp + 0x258]
mov ebp, dword [esp + 0x254]
mov ebx, dword [esp + 0x250]
mov eax, dword [esp + 0x24c]
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x244]
push edi
push ebp
push ebx
push eax
mov eax, dword [esp + 0x250]
push ecx
mov ecx, dword [esp + 0x250]
push edx
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x254], 2
call fcn.0044f4d0
test eax, eax
mov dword [esi + 8], eax
jne 0x44f443
mov edx, dword [esp + 0x24c]
mov eax, dword [esp + 0x248]
mov ecx, dword [esp + 0x244]
push edi
push ebp
push ebx
push edx
mov edx, dword [esp + 0x250]
push eax
mov eax, dword [esp + 0x250]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0044fcb0
mov dword [esi + 8], eax
mov esi, dword [esi + 8]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 1
call fcn.0043f0c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0xffffffff
call fcn.004348e0
mov eax, esi
jmp 0x44f47e
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0xc], ebx
xor eax, eax
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x228
ret 0x20