Function at 0x10007380
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d883
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x100521b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 8]
test ecx, ecx
push 0x104
push eax
mov edx, str._ProgramW6432_
mov dword [ebp - 0x3a4], 0
mov eax, 0x1003f820
cmovne eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xb0
lea eax, [ebp - 0x3a0]
push 0
push eax
call fcn.1001fef0
add esp, 0xc
mov dword [ebp - 0x3a0], 0x1003f7c0
mov dword [ebp - 0x390], 0x1003f7c8
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
push 0
lea eax, [ebp - 0x388]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x3a4], 1
call fcn.10004130
mov eax, dword [ebp - 0x390]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x390]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x394], eax
mov eax, dword [ebp - 0x3a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x3a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x3a4], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x3a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x3a4], eax
lea ecx, [ebp - 0x388]
call fcn.10004370
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0
push str.dotnetdotnet.exe____list_runtimes_
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x390]
push 0x1003f888
push eax
call fcn.10001360
add esp, 8
push eax
call fcn.100016e0
add esp, 8
push eax
call fcn.10001360
xorps xmm0, xmm0
add esp, 8
movlpd qword [ebp - 0x238], xmm0
mov ecx, dword [ebp - 0x34c]
xor eax, eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 0x3a4], 0x11
test cl, 2
jne 0x100075aa
mov eax, dword [ebp - 0x368]
mov edx, dword [eax]
test edx, edx
je 0x100075aa
cmp edx, dword [ebp - 0x350]
mov eax, dword [ebp - 0x378]
cmovb edx, dword [ebp - 0x350]
mov ecx, dword [eax]
sub edx, ecx
sar edx, 1
push edx
jmp 0x100075d4
test cl, 4
jne 0x100075e0
mov eax, dword [ebp - 0x36c]
mov edx, dword [eax]
test edx, edx
je 0x100075e0
mov eax, dword [ebp - 0x37c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x35c]
mov eax, dword [eax]
add eax, eax
sub eax, ecx
add eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x230]
call fcn.10010e60
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0x1003f88c
cmovae eax, dword [ebp - 0x230]
push eax
mov dword [ebp - 4], 5
call fcn.100242cc
mov ebx, eax
mov dword [ebp - 0x238], fcn.100241f5
add esp, 8
mov dword [ebp - 0x234], ebx
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x1000765f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007655
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100078f9
push edx
push ecx
call fcn.1001e1f2
add esp, 8
test ebx, ebx
je 0x100078bf
push 0xb8
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.1001fef0
add esp, 0xc
mov dword [ebp - 0x2f0], 0x1003f818
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
push 0
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x3a4], 0x29
call fcn.10004130
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 4], 9
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x2f4], eax
lea ecx, [ebp - 0x2e0]
call fcn.10004370
mov ecx, dword [0x10053670]
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2b0], eax
mov eax, dword [0x1005366c]
mov dword [ebp - method.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 0x298], 0
mov byte [ebp - 0x2a2], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x2a8], 0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
nop word [eax + eax]
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x2c0]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x3a4], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x3a8]
mov byte [ebp - 4], 0xc
push eax
call fcn.10003c60
add esp, 4
mov ecx, dword [eax]
push 0xa
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x3a4]
movzx edi, ax
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x10007860
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10007860
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
push edi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.10003200
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
lea ecx, [ebp - 0x230]
jne 0x100078af
mov eax, dword [esi + 4]
push ecx
cmp eax, dword [esi + 8]
je 0x100078a2
mov ecx, eax
call fcn.10004450
add dword [esi + 4], 0x18
jmp 0x10007800
push eax
mov ecx, esi
call fcn.10001cd0
jmp 0x10007800
call fcn.10005620
lea ecx, [ebp - 0x2f0]
call fcn.100060b0
mov byte [ebp - 4], 0xd
test ebx, ebx
je 0x100078d0
push ebx
call fcn.100241f5
add esp, 4
lea ecx, [ebp - 0x3a0]
call fcn.10006140
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e205
mov esp, ebp
pop ebp
ret 8
call fcn.1002298f
int3