Function at 0x1400231a0
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, [0x14037d168]
mov qword [rsp + 0x20], rax
call fcn.140022780
add dword [rbx], eax
mov rax, qword [0x14037d168]
test rax, rax
jne 0x140023204
lea rcx, str.MYSQL_GROUP_SUFFIX
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [0x14037d168], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002323c
cmp byte [0x14037d179], 0
jne 0x14002323c
lea rbx, [0x14037d380]
mov rdx, rbx
call fcn.1400225c0
test eax, eax
jne 0x140023463
mov rax, qword [0x14037d168]
mov qword [0x14037d160], rbx
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140023279
cmp byte [0x14037d179], 0
jne 0x140023279
lea rbx, [0x14037d180]
mov rdx, rbx
call fcn.1400225c0
test eax, eax
jne 0x140023463
mov rax, qword [0x14037d168]
mov qword [0x14037d170], rbx
jmp 0x140023280
mov rbx, qword [0x14037d170]
mov qword [rsp + 0x88], rbp
mov rbp, qword [rsp + 0x90]
mov qword [rsp + 0x50], rsi
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
xor r15d, r15d
mov byte [0x14037d179], 1
test rax, rax
je 0x1400233c8
lea rcx, [0x140022860]
cmp rbp, rcx
jne 0x1400233c8
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [rax + rbx + 1], r15b
lea rbx, [rbx + 1]
jne 0x1400232e0
mov r14, qword [rsi + 0x10]
mov rcx, qword [rsi]
mov eax, dword [r14]
lea edx, [rax*2 + 1]
shl rdx, 3
call fcn.140028610
mov r12, rax
test rax, rax
je 0x140023411
mov eax, dword [r14]
test eax, eax
je 0x1400233b1
lea r8, [rbx + 1]
mov qword [rsp + 0x78], r8
mov eax, r15d
mov rbx, 0xffffffffffffffff
lea rcx, [rax*8]
mov rax, qword [r14 + 0x10]
lea r13, [rcx + r12]
mov rdx, qword [rcx + rax]
mov qword [r13], rdx
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140023347
mov rcx, qword [rsi]
lea rdx, [r8 + rbx]
mov edx, edx
call fcn.140028610
mov rdi, rax
test rax, rax
je 0x140023411
mov ecx, dword [r14]
mov r8, rbx
add ecx, r15d
mov qword [r12 + rcx*8], rax
mov rcx, rax
mov rdx, qword [r13]
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rsp + 0x78]
lea rcx, [rdi + rbx]
mov rdx, qword [0x14037d168]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r14]
inc r15d
mov r8, qword [rsp + 0x78]
cmp r15d, eax
jb 0x140023325
mov rdi, qword [rsp + 0x70]
add eax, eax
mov qword [r14 + 0x10], r12
mov dword [r14], eax
xor r15d, r15d
mov qword [r12 + rax*8], r15
mov rbx, qword [0x14037d170]
test rbx, rbx
je 0x140023418
mov dword [rsp + 0x28], r15d
lea r9, [0x14005eb97]
lea r8, [0x14005eb97]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140023730
test eax, eax
js 0x140023504
jle 0x140023440
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x14037d170]
jmp 0x1400234f5
mov eax, 2
jmp 0x140023442
mov rcx, rdi
call fcn.140026cb0
test rax, rax
je 0x14002346a
mov r9, rdi
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call fcn.140023680
test eax, eax
js 0x140023504
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 0x140023440
nop word [rax + rax]
cmp byte [rax], 0
je 0x14002349c
mov r9, rdi
mov r8, rax
mov rdx, rsi
mov rcx, rbp
call fcn.140023680
test eax, eax
js 0x140023504
jmp 0x1400234d1
mov rax, qword [0x14037d160]
test rax, rax
je 0x1400234d1
mov dword [rsp + 0x28], r15d
lea r9, [0x14005eb97]
lea r8, [0x14005eb97]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call fcn.140023730
test eax, eax
js 0x140023504
jg 0x1400234e3
mov rax, qword [rbx + 8]
add rbx, 8
test rax, rax
jne 0x140023480
jmp 0x140023440
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x14037d160]
lea rdx, str.Could_not_open_required_defaults_file:__s_n
mov rcx, rax
call fcn.140001540
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.140001540
mov eax, 1
jmp 0x140023442