Function at 0x1400096e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x58
mov r10d, dword [r9]
mov r11, rdx
mov rax, qword [r8]
mov rdi, rcx
mov rbx, r9
lea r8, [rsp + 0x80]
lea r9, [rsp + 0x78]
mov ecx, dword [r11]
lea rdx, [rax + r10*8]
sub ecx, r10d
lea rax, [0x140bd54b8]
mov qword [rsp + 0x20], rax
call fcn.140008d40
add dword [rbx], eax
mov rax, qword [0x140bd54b8]
test rax, rax
jne 0x140009744
lea rcx, str.MYSQL_GROUP_SUFFIX
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [0x140bd54b8], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000977c
cmp byte [0x140bd54c9], 0
jne 0x14000977c
lea rbx, [0x140bd56d0]
mov rdx, rbx
call fcn.140008b90
test eax, eax
jne 0x1400099a3
mov rax, qword [0x140bd54b8]
mov qword [0x140bd54b0], rbx
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400097b9
cmp byte [0x140bd54c9], 0
jne 0x1400097b9
lea rbx, [0x140bd54d0]
mov rdx, rbx
call fcn.140008b90
test eax, eax
jne 0x1400099a3
mov rax, qword [0x140bd54b8]
mov qword [0x140bd54c0], rbx
jmp 0x1400097c0
mov rbx, qword [0x140bd54c0]
mov qword [rsp + 0x88], rbp
mov rbp, qword [rsp + 0x90]
mov qword [rsp + 0x50], rsi
xor esi, esi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov r14, qword [rsp + 0x98]
mov qword [rsp + 0x30], r15
mov byte [0x140bd54c9], 1
test rax, rax
je 0x140009909
lea rcx, [0x140008e20]
cmp rbp, rcx
jne 0x140009909
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rax + rdi + 1], sil
lea rdi, [rdi + 1]
jne 0x140009820
mov r15, qword [r14 + 0x10]
mov rcx, qword [r14]
mov eax, dword [r15]
lea edx, [rax*2 + 1]
shl rdx, 3
call fcn.140010900
mov r13, rax
test rax, rax
je 0x140009951
mov eax, dword [r15]
mov r12d, esi
test eax, eax
je 0x1400098ef
nop
mov eax, r12d
mov rbx, 0xffffffffffffffff
lea rcx, [rax*8]
mov rax, qword [r15 + 0x10]
lea r8, [rcx + r13]
mov qword [rsp + 0x78], r8
mov rdx, qword [rcx + rax]
mov qword [r8], rdx
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140009886
mov rcx, qword [r14]
lea rdx, [rdi + 1]
add rdx, rbx
mov edx, edx
call fcn.140010900
mov rsi, rax
test rax, rax
je 0x140009951
mov ecx, dword [r15]
mov r8, rbx
mov rdx, qword [rsp + 0x78]
add ecx, r12d
mov qword [r13 + rcx*8], rax
mov rcx, rax
mov rdx, qword [rdx]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x140bd54b8]
lea r8, [rdi + 1]
lea rcx, [rsi + rbx]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r15]
inc r12d
cmp r12d, eax
jb 0x140009860
xor esi, esi
mov rdi, qword [rsp + 0x70]
add eax, eax
mov dword [r15], eax
mov qword [r15 + 0x10], r13
mov qword [r13 + rax*8], rsi
mov rbx, qword [0x140bd54c0]
test rbx, rbx
je 0x140009958
mov dword [rsp + 0x28], esi
lea r9, [0x1400b8590]
lea r8, [0x1400b8590]
mov qword [rsp + 0x20], rbx
mov rdx, r14
mov rcx, rbp
call fcn.140009c70
test eax, eax
js 0x140009a43
jle 0x140009980
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x140bd54c0]
jmp 0x140009a34
mov eax, 2
jmp 0x140009982
mov rcx, rdi
call fcn.140010840
test rax, rax
je 0x1400099aa
mov r9, rdi
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call fcn.140009bc0
test eax, eax
js 0x140009a43
nop
xor eax, eax
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x88]
mov r15, qword [rsp + 0x30]
add rsp, 0x58
pop rdi
pop rbx
ret
mov rbx, qword [rsp + 0xa0]
mov rax, qword [rbx]
test rax, rax
je 0x140009980
nop word [rax + rax]
cmp byte [rax], 0
je 0x1400099dc
mov r9, rdi
mov r8, rax
mov rdx, r14
mov rcx, rbp
call fcn.140009bc0
test eax, eax
js 0x140009a43
jmp 0x140009a10
mov rax, qword [0x140bd54b0]
test rax, rax
je 0x140009a10
mov dword [rsp + 0x28], esi
lea r9, [0x1400b8590]
lea r8, [0x1400b8590]
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rbp
call fcn.140009c70
test eax, eax
js 0x140009a43
jg 0x140009a22
mov rax, qword [rbx + 8]
add rbx, 8
test rax, rax
jne 0x1400099c0
jmp 0x140009980
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x140bd54b0]
lea rdx, str.Could_not_open_required_defaults_file:__s_n
mov rcx, rax
call fcn.140001020
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Fatal_error_in_defaults_handling._Program_aborted_n
call fcn.140001020
mov eax, 1
jmp 0x140009982