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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0xa8f9b6
push eax
mov eax, 0x10820
mov dword fs:[0], esp
call fcn.00a7e750
push esi
mov esi, dword [esp + 0x10834]
push 0
push 0
push esi
push str.Capture.ini
call fcn.00a75900
add esp, 0x10
test al, al
jne 0xa6e1d3
mov eax, dword [0xa918f4]
push edi
push eax
push 0
push esi
lea ecx, [esp + 0x414]
call fcn.00a151b0
mov cx, word [0xab504c]
lea edx, [esp + 0x828]
mov word [esp + 0x828], cx
mov ecx, 0x3fff
xor eax, eax
lea edi, [esp + 0x82a]
push 0xfffe
push edx
rep stosd dword es:[edi], eax
push str.THINSTALL_BIN2
mov dword [esp + 0x1083c], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
pop edi
jne 0xa6e0c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.No_THINSTALL_BIN2_env_var_n
push esi
call fcn.00a16060
add esp, 8
lea ecx, [esp + 0x404]
mov dword [esp + 0x1082c], 0xffffffff
call fcn.00a155e0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10820]
mov dword fs:[0], ecx
add esp, 0x1082c
ret
cmp eax, 0x7fff
jb 0xa6e0f7
lea ecx, [esp + 0x404]
mov dword [esp + 0x1082c], 0xffffffff
call fcn.00a155e0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10820]
mov dword fs:[0], ecx
add esp, 0x1082c
ret
lea eax, [esp + 0x824]
push eax
push 0
push esi
push str.Capture.ini
call fcn.00a75900
add esp, 0x10
test al, al
jne 0xa6e1bc
mov ecx, dword [0xa918f4]
push ecx
push 0
push esi
lea ecx, [esp + 0x620]
call fcn.00a151b0
mov edx, dword [esp + 0x408]
mov eax, dword [esp + 0x40c]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x10834], 1
call fcn.00a15a90
mov ecx, dword [esp + 0x618]
mov edx, dword [esp + 0x61c]
push ecx
push edx
mov ecx, esi
call fcn.00a15880
lea eax, [esp + 0x824]
push eax
push str.Searched_env_var_THINSTALL_BIN2___ls_n
push esi
call fcn.00a16060
add esp, 0xc
lea ecx, [esp + 0x614]
mov byte [esp + 0x1082c], 0
call fcn.00a155e0
lea ecx, [esp + 0x404]
mov dword [esp + 0x1082c], 0xffffffff
call fcn.00a155e0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10820]
mov dword fs:[0], ecx
add esp, 0x1082c
ret
lea ecx, [esp + 0x404]
mov dword [esp + 0x1082c], 0xffffffff
call fcn.00a155e0
push 0x400
mov ecx, esi
call fcn.00a15680
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00a7e8d0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0
push str.CapLevel
push str.Capture
call esi
mov dword [0xab0308], eax
lea eax, [esp + 4]
push eax
push 0x19
push str.CapArray
push str.Capture
call esi
lea ecx, [esp + 4]
mov dword [0xab030c], eax
push ecx
push 0x96
push str.CapString
push str.Capture
call esi
lea edx, [esp + 4]
mov dword [0xab0310], eax
push edx
push 0x64
push str.CapNest
push str.Capture
call esi
mov dword [0xab0314], eax
lea eax, [esp + 4]
push eax
push 0
push str.DoCycles
push str.Capture
call esi
lea ecx, [esp + 4]
mov dword [0xaf752c], eax
push ecx
push 1
push str.ShowDllAddr
push str.Monitor
call esi
lea edx, [esp + 4]
mov dword [0xab0318], eax
push edx
push 0
push str.ShowAddrAsRel
push str.Monitor
call esi
mov dword [0xaf7530], eax
lea eax, [esp + 4]
push eax
push 1
push str.Columnize
push str.Monitor
call esi
lea ecx, [esp + 4]
mov dword [0xab031c], eax
push ecx
push 0
push str.ShowFullDllName
push str.Monitor
call esi
lea edx, [esp + 4]
mov dword [0xaf7534], eax
push edx
push 0
push str.ShowCapCycles
push str.Monitor
call esi
mov dword [0xaf7538], eax
lea eax, [esp + 4]
push eax
push 1
push str.ShowLastErr
push str.Monitor
call esi
lea ecx, [esp + 4]
mov dword [0xab0320], eax
push ecx
push 0
push str.IgnoreGLEBypass
push str.Monitor
call esi
lea edx, [esp + 4]
mov dword [0xaf753c], eax
push edx
push 1
push str.ShowPrevGLE
push str.Monitor
call esi
mov dword [0xab0324], eax
lea eax, [esp + 4]
push eax
push 0
push str.ShowFcnCallType
push str.Monitor
call esi
lea ecx, [esp + 4]
mov dword [0xaf7540], eax
push ecx
push 1
push str.ShowNestedFcns
push str.Monitor
call esi
lea edx, [esp + 4]
mov dword [0xab0328], eax
push edx
push 0
push str.ListUnknownFcns
push str.Monitor
call esi
mov dword [0xaf7544], eax
lea eax, [esp + 4]
push eax
push 0
push str.ListMemErrFcns
push str.Monitor
call esi
lea ecx, [esp + 4]
mov dword [0xaf7548], eax
push ecx
push 0
push str.ListFcnUsages
push str.Monitor
call esi
lea edx, [esp + 4]
mov dword [0xaf754c], eax
push edx
push 0
push str.ListCapCycles
push str.Monitor
call esi
mov dword [0xaf7550], eax
lea eax, [esp + 4]
push eax
push 0
push str.DumpExceptions
push str.Monitor
call esi
mov ecx, dword [esp + 0x10824]
mov dword [0xaf7554], eax
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1082c
ret