Function at 0x71cc9790
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x71d5a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x16
lea eax, [ebp - 0x34]
mov dword [ebp - 0x258], 0
push eax
mov ebx, ecx
mov edi, edx
push str.AswJsFltEnvironmentFlags
mov dword [ebp - 0x254], ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x14
ja 0x71cc97f5
lea eax, [ebp - 0x34]
push eax
call fcn.71cfcebe
add esp, 4
mov ebx, eax
call fcn.71cfc1da
cmp dword [eax], esi
jne 0x71cc97ef
mov esi, ebx
and esi, 1
mov ebx, dword [ebp - 0x254]
push 0x10
lea eax, [ebp - 0x28]
mov dword [edi + 0x10], esi
push eax
push str.AswJsFltTestMode
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x71cc981f
mov dword [edi], 1
mov dword [edi + 0x28], 0xffffffff
jmp 0x71cc98b9
push str.setupconfig.def
sub esp, 8
lea ecx, [ebp - 0x250]
push str.ProgramFolder
call fcn.71cef380
add esp, 0x10
mov dword [ebp - 0x258], eax
test eax, eax
js 0x71cc98b9
lea eax, [ebp - 0x250]
xor esi, esi
push eax
push 0x20
lea eax, [ebp - 0x48]
push eax
push esi
push str.VersionType
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x71cc98b7
lea eax, [ebp - 0x48]
push str.Release
push eax
call fcn.71cfcffb
add esp, 8
test eax, eax
jne 0x71cc9882
lea esi, [eax + 3]
jmp 0x71cc98b7
lea eax, [ebp - 0x48]
push str.Beta
push eax
call fcn.71cfcffb
add esp, 8
test eax, eax
jne 0x71cc989c
lea esi, [eax + 2]
jmp 0x71cc98b7
lea eax, [ebp - 0x48]
push str.Internal
push eax
call fcn.71cfcffb
add esp, 8
mov ecx, 1
test eax, eax
cmove esi, ecx
mov dword [edi], esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x71cc993e
lea edx, [edi + 0x48]
mov ecx, esi
call fcn.71cee7d0
push 0x208
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.71cf7720
add esp, 0xc
lea eax, [ebp - 0x250]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x71cc993e
lea eax, [ebp - 0x250]
push 0x5c
push eax
call fcn.71cf6e2b
mov esi, eax
add esp, 8
test esi, esi
je 0x71cc993e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esi + 2]
push eax
push str.A_script_started_by
push str._s_s__i_
lea eax, [edi + 0x2bc]
push 0x104
push eax
call fcn.71cc9e30
add esp, 0x18
test ebx, ebx
je 0x71cc994c
lea edx, [edi + 0x50]
mov ecx, ebx
call fcn.71cee7d0
lea eax, [edi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
push 0x71d1b1a0
mov dword [edi + 0x28c], 0x71cc9760
lea esi, [edi + 0x64]
mov dword [edi + 0x288], 0x71cc9730
mov ecx, 0x71d5455c
cmp word [0x71d79810], 0
mov eax, 0x71d79810
push 0x104
cmove eax, ecx
push esi
push eax
call fcn.71ce5940
add esp, 0x14
test eax, eax
je 0x71cc99f3
lea edx, [edi + 0x60]
test esi, esi
je 0x71cc99e9
mov ecx, 0x7ffffffe
cmp word [esi], 0
je 0x71cc99c2
add esi, 2
sub ecx, 1
jne 0x71cc99b4
test edx, edx
je 0x71cc99e0
test ecx, ecx
je 0x71cc99d8
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [edx], eax
add dword [edx], 0xfffffff2
jmp 0x71cc99f3
mov dword [edx], 0
jmp 0x71cc99ed
test ecx, ecx
je 0x71cc99e9
add dword [edx], 0xfffffff2
jmp 0x71cc99f3
test edx, edx
je 0x71cc99f3
mov dword [edx], 0
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
lea eax, [edi + 0x29c]
mov dword [edi + 0x294], 0
push 1
push 0
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [edi + 0x290], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x298], eax
xor ecx, ebp
mov eax, dword [ebp - 0x258]
pop edi
pop esi
pop ebx
call fcn.71cf548b
mov esp, ebp
pop ebp
ret