Function at 0x140054d30
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, [0x140bbd028]
mov qword [rsp + 0x20], rax
call fcn.140054310
add dword [rbx], eax
mov rax, qword [0x140bbd028]
test rax, rax
jne 0x140054d94
lea rcx, str.MYSQL_GROUP_SUFFIX
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [0x140bbd028], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140054dcc
cmp byte [0x140bbd039], 0
jne 0x140054dcc
lea rbx, [0x140bbd240]
mov rdx, rbx
call fcn.140054150
test eax, eax
jne 0x140054ff3
mov rax, qword [0x140bbd028]
mov qword [0x140bbd020], rbx
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140054e09
cmp byte [0x140bbd039], 0
jne 0x140054e09
lea rbx, [0x140bbd040]
mov rdx, rbx
call fcn.140054150
test eax, eax
jne 0x140054ff3
mov rax, qword [0x140bbd028]
mov qword [0x140bbd030], rbx
jmp 0x140054e10
mov rbx, qword [0x140bbd030]
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 [0x140bbd039], 1
test rax, rax
je 0x140054f58
lea rcx, [0x1400543f0]
cmp rbp, rcx
jne 0x140054f58
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [rax + rbx + 1], r15b
lea rbx, [rbx + 1]
jne 0x140054e70
mov r14, qword [rsi + 0x10]
mov rcx, qword [rsi]
mov eax, dword [r14]
lea edx, [rax*2 + 1]
shl rdx, 3
call fcn.140060440
mov r12, rax
test rax, rax
je 0x140054fa1
mov eax, dword [r14]
test eax, eax
je 0x140054f41
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 0x140054ed7
mov rcx, qword [rsi]
lea rdx, [r8 + rbx]
mov edx, edx
call fcn.140060440
mov rdi, rax
test rax, rax
je 0x140054fa1
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 [0x140bbd028]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r14]
inc r15d
mov r8, qword [rsp + 0x78]
cmp r15d, eax
jb 0x140054eb5
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 [0x140bbd030]
test rbx, rbx
je 0x140054fa8
mov dword [rsp + 0x28], r15d
lea r9, [0x14009c1cf]
lea r8, [0x14009c1cf]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rbp
call fcn.1400552c0
test eax, eax
js 0x140055094
jle 0x140054fd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x140bbd030]
jmp 0x140055085
mov eax, 2
jmp 0x140054fd2
mov rcx, rdi
call fcn.14005c610
test rax, rax
je 0x140054ffa
mov r9, rdi
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call fcn.140055210
test eax, eax
js 0x140055094
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 0x140054fd0
nop word [rax + rax]
cmp byte [rax], 0
je 0x14005502c
mov r9, rdi
mov r8, rax
mov rdx, rsi
mov rcx, rbp
call fcn.140055210
test eax, eax
js 0x140055094
jmp 0x140055061
mov rax, qword [0x140bbd020]
test rax, rax
je 0x140055061
mov dword [rsp + 0x28], r15d
lea r9, [0x14009c1cf]
lea r8, [0x14009c1cf]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call fcn.1400552c0
test eax, eax
js 0x140055094
jg 0x140055073
mov rax, qword [rbx + 8]
add rbx, 8
test rax, rax
jne 0x140055010
jmp 0x140054fd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x140bbd020]
lea rdx, str.Could_not_open_required_defaults_file:__s_n
mov rcx, rax
call fcn.1400012d0
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.1400012d0
mov eax, 1
jmp 0x140054fd2