Function at 0x41b6c0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x437edb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push esi
mov esi, ecx
push edi
push 0x200
lea ecx, [esp + 0xc]
call fcn.0040de80
lea edi, [esi + 0x5e8]
push str.dbghelp.dll
mov ecx, edi
mov dword [esp + 0x248], 0
call fcn.00413ee0
test eax, eax
je 0x41b9a6
push str.MiniDumpWriteDump
mov ecx, edi
call fcn.00413fb0
test eax, eax
mov dword [esi + 0x5fc], eax
je 0x41b9a6
push str.SymInitialize
mov ecx, edi
call fcn.00413fb0
test eax, eax
mov dword [esi + 0x600], eax
je 0x41b9a6
push str.SymSetOptions
mov ecx, edi
call fcn.00413fb0
test eax, eax
mov dword [esi + 0x604], eax
je 0x41b9a6
push str.SymGetSymFromAddr64
mov ecx, edi
call fcn.00413fb0
test eax, eax
mov dword [esi + 0x608], eax
je 0x41b9a6
push str.SymFromAddr
mov ecx, edi
call fcn.00413fb0
test eax, eax
mov dword [esi + 0x60c], eax
je 0x41b9a6
push str.SymGetModuleInfo64
mov ecx, edi
call fcn.00413fb0
test eax, eax
mov dword [esi + 0x610], eax
je 0x41b9a6
push str.StackWalk64
mov ecx, edi
call fcn.00413fb0
test eax, eax
mov dword [esi + 0x614], eax
je 0x41b9a6
push str.SymFunctionTableAccess64
mov ecx, edi
call fcn.00413fb0
test eax, eax
mov dword [esi + 0x618], eax
je 0x41b9a6
push str.SymGetModuleBase64
mov ecx, edi
call fcn.00413fb0
test eax, eax
mov dword [esi + 0x61c], eax
je 0x41b9a6
push str.SymGetLineFromAddr64
mov ecx, edi
call fcn.00413fb0
test eax, eax
mov dword [esi + 0x620], eax
je 0x41b9a6
lea edi, [esi + 0x5f0]
push str.ntdll.dll
mov ecx, edi
mov dword [esi + 0x5f8], 0
call fcn.00413ee0
cmp eax, 1
jne 0x41b849
push str.NtQueryInformationThread
mov ecx, edi
call fcn.00413fb0
mov dword [esi + 0x5f8], eax
push 0x10
call dword [esi + 0x604]
push 0x44f820
lea ecx, [esp + 0xc]
call fcn.0040e430
lea eax, [esp + 0x34]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41b8aa
lea ecx, [esp + 0x34]
push 0x5c
push ecx
call fcn.0042afc0
add esp, 8
test eax, eax
je 0x41b8aa
lea edx, [esp + 0x34]
lea ecx, [esp + 8]
push edx
mov word [eax + 2], 0
call fcn.0040e4c0
push 0x446114
lea ecx, [esp + 0xc]
call fcn.0040e4c0
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [esp + 0x34]
push 0x104
push eax
push str._NT_SYMBOL_PATH
call edi
test eax, eax
je 0x41b8e1
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xc]
call fcn.0040e4c0
push 0x446114
lea ecx, [esp + 0xc]
call fcn.0040e4c0
lea edx, [esp + 0x34]
push 0x104
push edx
push str._NT_ALTERNATE_SYMBOL_PATH
call edi
test eax, eax
je 0x41b912
lea eax, [esp + 0x34]
lea ecx, [esp + 8]
push eax
call fcn.0040e4c0
push 0x446114
lea ecx, [esp + 0xc]
call fcn.0040e4c0
lea ecx, [esp + 0x34]
push 0x104
push ecx
push str.SYSTEMROOT
call edi
test eax, eax
je 0x41b943
lea edx, [esp + 0x34]
lea ecx, [esp + 8]
push edx
call fcn.0040e4c0
push 0x446114
lea ecx, [esp + 0xc]
call fcn.0040e4c0
lea ecx, [esp + 8]
call fcn.0040ef30
dec eax
lea ecx, [esp + 8]
push eax
call fcn.0040e700
push 1
push 0
lea ecx, [esp + 0x10]
call fcn.0040efa0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [esi + 0x600]
test eax, eax
je 0x41b9af
lea ecx, [esp + 8]
mov dword [esp + 0x244], 0xffffffff
call fcn.0040ded0
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
add esp, 0x240
ret
mov ecx, edi
call fcn.00413f60
jmp 0x41b9b6
mov ecx, esi
call fcn.0041b9f0
lea ecx, [esp + 8]
mov dword [esp + 0x244], 0xffffffff
call fcn.0040ded0
mov ecx, dword [esp + 0x23c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x240
ret