Function at 0x411f80
Capabilities:
Get session user name
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x46d4fd
push eax
mov eax, 0x1c08
mov dword fs:[0], esp
call fcn.004362f0
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx], 0
je 0x41232b
push 0x1000
lea eax, [ebp - 0x1414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x4120b1
push str..local
lea eax, [ebp - 0x1414]
push 0x1000
push eax
call fcn.00442d09
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [ebp - 0x1414]
add esp, 0xc
push eax
call edi
cmp eax, 0xffffffff
jne 0x4120b1
cmp dword [ebx + 4], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
jne 0x4120c1
push 0x1000
lea ecx, [ebp - 0x1414]
push ecx
push str.ProgramFiles
call eax
test eax, eax
je 0x41205c
push str.Debugging_Tools_for_Windows__x86_dbghelp.dll
lea eax, [ebp - 0x1414]
push 0x1000
push eax
call fcn.00442d09
add esp, 0xc
lea eax, [ebp - 0x1414]
push eax
call edi
cmp eax, 0xffffffff
je 0x41205c
lea eax, [ebp - 0x1414]
push eax
call esi
mov dword [ebx + 4], eax
cmp dword [ebx + 4], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
jne 0x4120c1
push 0x1000
lea ecx, [ebp - 0x1414]
push ecx
push str.ProgramFiles
call eax
test eax, eax
je 0x4120b1
push str.Debugging_Tools_for_Windowsdbghelp.dll
lea eax, [ebp - 0x1414]
push 0x1000
push eax
call fcn.00442d09
add esp, 0xc
lea eax, [ebp - 0x1414]
push eax
call edi
cmp eax, 0xffffffff
je 0x4120b1
lea eax, [ebp - 0x1414]
push eax
call esi
mov dword [ebx + 4], eax
cmp dword [ebx + 4], 0
jne 0x4120c1
push str.dbghelp.dll
call esi
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x41232b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymInitialize
push eax
call esi
push str.SymCleanup
push dword [ebx + 4]
mov dword [ebx + 0x2c], eax
call esi
push str.StackWalk64
push dword [ebx + 4]
mov dword [ebx + 0x10], eax
call esi
push str.SymGetOptions
push dword [ebx + 4]
mov dword [ebx + 0x38], eax
call esi
push str.SymSetOptions
push dword [ebx + 4]
mov dword [ebx + 0x24], eax
call esi
push str.SymFunctionTableAccess64
push dword [ebx + 4]
mov dword [ebx + 0x34], eax
call esi
push str.SymGetLineFromAddr64
push dword [ebx + 4]
mov dword [ebx + 0x14], eax
call esi
push str.SymGetModuleBase64
push dword [ebx + 4]
mov dword [ebx + 0x18], eax
call esi
push str.SymGetModuleInfo64
push dword [ebx + 4]
mov dword [ebx + 0x1c], eax
call esi
push str.SymGetSymFromAddr64
push dword [ebx + 4]
mov dword [ebx + 0x20], eax
call esi
push str.UnDecorateSymbolName
push dword [ebx + 4]
mov dword [ebx + 0x28], eax
call esi
push str.SymLoadModule64
push dword [ebx + 4]
mov dword [ebx + 0x3c], eax
call esi
push str.SymGetSearchPath
push dword [ebx + 4]
mov dword [ebx + 0x30], eax
call esi
cmp dword [ebx + 0x10], 0
mov dword [ebx + 0x40], eax
je 0x412314
cmp dword [ebx + 0x14], 0
je 0x412314
cmp dword [ebx + 0x1c], 0
je 0x412314
cmp dword [ebx + 0x20], 0
je 0x412314
cmp dword [ebx + 0x24], 0
je 0x412314
cmp dword [ebx + 0x28], 0
je 0x412314
cmp dword [ebx + 0x2c], 0
je 0x412314
cmp dword [ebx + 0x34], 0
je 0x412314
cmp dword [ebx + 0x38], 0
je 0x412314
cmp dword [ebx + 0x3c], 0
je 0x412314
cmp dword [ebx + 0x30], 0
je 0x412314
mov eax, dword [ebp + 8]
test eax, eax
je 0x4121fa
push eax
call fcn.00442e30
add esp, 4
mov dword [ebx + 0xc], eax
push 0x800
lea eax, [ebp - 0x1c14]
push 0
push eax
call fcn.0043a7f0
add esp, 0xc
mov dword [ebp - 0x14], 0x48f4d8
mov ecx, 0x48f4d8
call fcn.00410a30
mov eax, dword [ebx + 0x2c]
push 0
push dword [ebx + 0xc]
mov dword [ebp - 4], 0
push dword [ebx + 8]
call eax
test eax, eax
jne 0x412254
mov edi, dword [ebx]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push eax
push str.SymInitialize
mov ecx, edi
call esi
mov eax, dword [ebx + 0x24]
call eax
mov ecx, dword [ebx + 0x34]
or eax, 0x214
push eax
call ecx
mov ecx, dword [ebx + 0x40]
mov dword [ebp + 8], eax
test ecx, ecx
je 0x41229e
push 0x800
lea eax, [ebp - 0x1c14]
push eax
push dword [ebx + 8]
call ecx
test eax, eax
jne 0x41229e
mov edi, dword [ebx]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push eax
push str.SymGetSearchPath
mov ecx, edi
call esi
mov ecx, 0x48f4d8
mov dword [ebp - 4], 1
call fcn.00410a40
push 0x400
lea eax, [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
call fcn.0043a7f0
add esp, 0xc
mov dword [ebp - 0x10], 0x400
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ecx, dword [ebx]
lea edx, [ebp - 0x414]
push edx
push dword [ebp + 8]
lea edx, [ebp - 0x1c14]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebx + 4], 0
mov dword [ebx + 0x10], 0
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4