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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5160a1
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 0x44ed22
mov eax, 1
jmp 0x44f15e
mov eax, dword [esp + 0x23c]
lea ecx, [esp + 0x14]
push eax
call fcn.004ff17f
push str.dbghelp.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x240], ebx
call fcn.004ff3b0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 0x18]
mov dword [esi + 0xc], eax
call fcn.004ff10b
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x234], ebp
call fcn.004ff10b
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44f15c
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 0x44f14f
cmp dword [eax + 4], ebx
je 0x44f14f
cmp dword [eax + 8], ebx
je 0x44f14f
cmp dword [eax + 0xc], ebx
je 0x44f14f
cmp dword [eax + 0x10], ebx
je 0x44f14f
cmp dword [eax + 0x14], ebx
je 0x44f14f
cmp dword [eax + 0x18], ebx
je 0x44f14f
cmp dword [eax + 0x1c], ebx
je 0x44f14f
cmp dword [eax + 0x20], ebx
je 0x44f14f
cmp dword [eax + 0x24], ebx
je 0x44f14f
cmp dword [eax + 0x28], ebx
je 0x44f14f
cmp dword [eax + 0x2c], ebx
je 0x44f14f
mov edx, dword [0x51f068]
mov dword [esp + 0x10], edx
push 0x51e560
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 1
call fcn.004351e0
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 0x44ef32
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004351e0
push 0x51e550
lea ecx, [esp + 0x14]
call fcn.004351e0
lea edx, [esp + 0x2c]
push 0x200
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x44ef75
lea eax, [esp + 0x2c]
push 0x5c
push eax
call fcn.00421340
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [eax], 0
push ecx
lea ecx, [esp + 0x14]
call fcn.004351e0
push 0x51e550
lea ecx, [esp + 0x14]
call fcn.004351e0
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 0x44efac
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
call fcn.004351e0
push 0x51e550
lea ecx, [esp + 0x14]
call fcn.004351e0
lea ecx, [esp + 0x2c]
push 0x200
push ecx
push str._NT_ALTERNATE_SYMBOL_PATH
call edi
test eax, eax
jbe 0x44efdd
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
call fcn.004351e0
push 0x51e550
lea ecx, [esp + 0x14]
call fcn.004351e0
lea eax, [esp + 0x2c]
push 0x200
push eax
push str.SYSTEMROOT
call edi
test eax, eax
jbe 0x44f038
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004351e0
push 0x51e550
lea ecx, [esp + 0x14]
call fcn.004351e0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
call fcn.004351e0
push str._system32
lea ecx, [esp + 0x14]
call fcn.004351e0
push 0x51e550
lea ecx, [esp + 0x14]
call fcn.004351e0
lea edi, [esi + 0x14]
lea ecx, [esp + 0x10]
push edi
call fcn.00435240
mov ecx, edi
call fcn.004342d0
mov edi, dword [esi + 0x10]
push ebx
push ebx
lea ecx, [esp + 0x18]
call fcn.00435260
push eax
mov eax, dword [esi]
push eax
call dword [edi + 0x1c]
test eax, eax
jne 0x44f07d
lea ecx, [esp + 0x10]
mov dword [esi + 8], ebx
mov dword [esp + 0x234], ebp
call fcn.004345c0
jmp 0x44f15c
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.0043ed90
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.0044f1b0
test eax, eax
mov dword [esi + 8], eax
jne 0x44f123
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.0044f990
mov dword [esi + 8], eax
mov esi, dword [esi + 8]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 1
call fcn.0043eda0
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0xffffffff
call fcn.004345c0
mov eax, esi
jmp 0x44f15e
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