Function at 0x45ebc0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x48237b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, ecx
push edi
push 0x200
lea ecx, [esp + 0xc]
call fcn.0043a940
lea edi, [esi + 0x3e8]
push str.dbghelp.dll
mov ecx, edi
mov dword [esp + 0x144], 0
call fcn.00459a70
test eax, eax
je 0x45eea4
push str.MiniDumpWriteDump
mov ecx, edi
call fcn.00459b10
test eax, eax
mov dword [esi + 0x3fc], eax
je 0x45eea4
push str.SymInitialize
mov ecx, edi
call fcn.00459b10
test eax, eax
mov dword [esi + 0x400], eax
je 0x45eea4
push str.SymSetOptions
mov ecx, edi
call fcn.00459b10
test eax, eax
mov dword [esi + 0x404], eax
je 0x45eea4
push str.SymGetSymFromAddr64
mov ecx, edi
call fcn.00459b10
test eax, eax
mov dword [esi + 0x408], eax
je 0x45eea4
push str.SymFromAddr
mov ecx, edi
call fcn.00459b10
test eax, eax
mov dword [esi + 0x40c], eax
je 0x45eea4
push str.SymGetModuleInfo64
mov ecx, edi
call fcn.00459b10
test eax, eax
mov dword [esi + 0x410], eax
je 0x45eea4
push str.StackWalk64
mov ecx, edi
call fcn.00459b10
test eax, eax
mov dword [esi + 0x414], eax
je 0x45eea4
push str.SymFunctionTableAccess64
mov ecx, edi
call fcn.00459b10
test eax, eax
mov dword [esi + 0x418], eax
je 0x45eea4
push str.SymGetModuleBase64
mov ecx, edi
call fcn.00459b10
test eax, eax
mov dword [esi + 0x41c], eax
je 0x45eea4
push str.SymGetLineFromAddr64
mov ecx, edi
call fcn.00459b10
test eax, eax
mov dword [esi + 0x420], eax
je 0x45eea4
lea edi, [esi + 0x3f0]
push str.ntdll.dll
mov ecx, edi
mov dword [esi + 0x3f8], 0
call fcn.00459a70
cmp eax, 1
jne 0x45ed49
push str.NtQueryInformationThread
mov ecx, edi
call fcn.00459b10
mov dword [esi + 0x3f8], eax
push 0x10
call dword [esi + 0x404]
push 0x4a3290
lea ecx, [esp + 0xc]
call fcn.0043ae00
lea eax, [esp + 0x34]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x45eda8
lea ecx, [esp + 0x34]
push 0x5c
push ecx
call fcn.004718ef
add esp, 8
test eax, eax
je 0x45eda8
lea edx, [esp + 0x34]
lea ecx, [esp + 8]
push edx
mov byte [eax + 1], 0
call fcn.0043ae90
push 0x497380
lea ecx, [esp + 0xc]
call fcn.0043ae90
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [esp + 0x34]
push 0x104
push eax
push str._NT_SYMBOL_PATH
call edi
test eax, eax
je 0x45eddf
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xc]
call fcn.0043ae90
push 0x497380
lea ecx, [esp + 0xc]
call fcn.0043ae90
lea edx, [esp + 0x34]
push 0x104
push edx
push str._NT_ALTERNATE_SYMBOL_PATH
call edi
test eax, eax
je 0x45ee10
lea eax, [esp + 0x34]
lea ecx, [esp + 8]
push eax
call fcn.0043ae90
push 0x497380
lea ecx, [esp + 0xc]
call fcn.0043ae90
lea ecx, [esp + 0x34]
push 0x104
push ecx
push str.SYSTEMROOT
call edi
test eax, eax
je 0x45ee41
lea edx, [esp + 0x34]
lea ecx, [esp + 8]
push edx
call fcn.0043ae90
push 0x497380
lea ecx, [esp + 0xc]
call fcn.0043ae90
lea ecx, [esp + 8]
call fcn.0043baf0
dec eax
lea ecx, [esp + 8]
push eax
call fcn.0043b220
push 1
push 0
lea ecx, [esp + 0x10]
call fcn.0043bbb0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [esi + 0x400]
test eax, eax
je 0x45eead
lea ecx, [esp + 8]
mov dword [esp + 0x140], 0xffffffff
call fcn.0043a990
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
add esp, 0x13c
ret
mov ecx, edi
call fcn.00459ac0
jmp 0x45eeb4
mov ecx, esi
call fcn.0045eef0
lea ecx, [esp + 8]
mov dword [esp + 0x140], 0xffffffff
call fcn.0043a990
mov ecx, dword [esp + 0x138]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret