Function at 0x140024430
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, [0x14036df68]
mov qword [rsp + 0x20], rax
call fcn.140023a10
add dword [rbx], eax
mov rax, qword [0x14036df68]
test rax, rax
jne 0x140024494
lea rcx, str.MYSQL_GROUP_SUFFIX
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [0x14036df68], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400244cc
cmp byte [0x14036df79], 0
jne 0x1400244cc
lea rbx, [0x14036e180]
mov rdx, rbx
call fcn.140023850
test eax, eax
jne 0x1400246f3
mov rax, qword [0x14036df68]
mov qword [0x14036df60], rbx
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140024509
cmp byte [0x14036df79], 0
jne 0x140024509
lea rbx, [0x14036df80]
mov rdx, rbx
call fcn.140023850
test eax, eax
jne 0x1400246f3
mov rax, qword [0x14036df68]
mov qword [0x14036df70], rbx
jmp 0x140024510
mov rbx, qword [0x14036df70]
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 [0x14036df79], 1
test rax, rax
je 0x140024658
lea rcx, [0x140023af0]
cmp rbp, rcx
jne 0x140024658
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [rax + rbx + 1], r15b
lea rbx, [rbx + 1]
jne 0x140024570
mov r14, qword [rsi + 0x10]
mov rcx, qword [rsi]
mov eax, dword [r14]
lea edx, [rax*2 + 1]
shl rdx, 3
call fcn.14002f9a0
mov r12, rax
test rax, rax
je 0x1400246a1
mov eax, dword [r14]
test eax, eax
je 0x140024641
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 0x1400245d7
mov rcx, qword [rsi]
lea rdx, [r8 + rbx]
mov edx, edx
call fcn.14002f9a0
mov rdi, rax
test rax, rax
je 0x1400246a1
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 [0x14036df68]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r14]
inc r15d
mov r8, qword [rsp + 0x78]
cmp r15d, eax
jb 0x1400245b5
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 [0x14036df70]
test rbx, rbx
je 0x1400246a8
mov dword [rsp + 0x28], r15d
lea r9, [0x14005f88b]
lea r8, [0x14005f88b]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rbp
call fcn.1400249c0
test eax, eax
js 0x140024794
jle 0x1400246d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x14036df70]
jmp 0x140024785
mov eax, 2
jmp 0x1400246d2
mov rcx, rdi
call fcn.140022c90
test rax, rax
je 0x1400246fa
mov r9, rdi
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call fcn.140024910
test eax, eax
js 0x140024794
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 0x1400246d0
nop word [rax + rax]
cmp byte [rax], 0
je 0x14002472c
mov r9, rdi
mov r8, rax
mov rdx, rsi
mov rcx, rbp
call fcn.140024910
test eax, eax
js 0x140024794
jmp 0x140024761
mov rax, qword [0x14036df60]
test rax, rax
je 0x140024761
mov dword [rsp + 0x28], r15d
lea r9, [0x14005f88b]
lea r8, [0x14005f88b]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call fcn.1400249c0
test eax, eax
js 0x140024794
jg 0x140024773
mov rax, qword [rbx + 8]
add rbx, 8
test rax, rax
jne 0x140024710
jmp 0x1400246d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x14036df60]
lea rdx, str.Could_not_open_required_defaults_file:__s_n
mov rcx, rax
call fcn.1400027b0
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.1400027b0
mov eax, 1
jmp 0x1400246d2