Function at 0x140002580
Capabilities:
Execute command
Self delete

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.libmysql.dll_mysql_init]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xcea
lea rcx, str.almacen
mov qword [rsp + 0x20], rcx
lea r9, str.9056
lea r8, str.root
lea rdx, str.localhost
mov rcx, rax
call qword [sym.imp.libmysql.dll_mysql_real_connect]
mov rbx, rax
test rax, rax
je 0x1400028bd
mov edx, dword [rdi + 0x40]
lea rcx, [rbp + 0xf]
call fcn.140004890
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r13, qword [rbp + 0x1f]
sub rax, r13
cmp rax, 0x2b
jb 0x140002906
lea rdx, [rbp + 0xf]
mov r14, qword [rbp + 0xf]
mov r15, qword [rbp + 0x27]
cmp r15, 0xf
cmova rdx, r14
mov qword [rbp - 0x39], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
lea r12, [r13 + 0x2b]
mov edi, 0xf
lea rsi, [rbp - 0x31]
cmp r12, rdi
jbe 0x1400026ee
mov rdi, r12
or rdi, 0xf
cmp rdi, rcx
jbe 0x1400026a6
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005560
test rax, rax
je 0x1400026d7
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400026e6
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400026bf
xor esi, esi
jmp 0x1400026ea
cmp rcx, 0x1000
jb 0x1400026de
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000290c
jmp 0x14000268b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005560
mov rsi, rax
mov rdx, qword [rbp - 0x39]
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], rdi
movups xmm0, xmmword [str.DELETE_FROM_productos_WHERE_id_productos_]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [0x140007730]
movups xmmword [rsi + 0x10], xmm1
movsd xmm0, qword [0x140007740]
movsd qword [rsi + 0x20], xmm0
movzx eax, word [0x140007748]
mov word [rsi + 0x28], ax
movzx eax, byte [0x14000774a]
mov byte [rsi + 0x2a], al
lea rcx, [rsi + 0x2b]
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r12], 0
xor r8d, r8d
lea rdx, [0x1400074c1]
lea rcx, [rbp - 0x31]
call fcn.140004700
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1400027c0
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000559c
movdqa xmm0, xmmword [0x140008000]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
mov rcx, rbx
call qword [sym.imp.libmysql.dll_mysql_query]
test eax, eax
jne 0x14000281e
lea rcx, [0x1400075e8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.______Datos_eliminados_exitosamente.______
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a70
mov rcx, rax
lea rdx, [0x140004c50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140002832
lea rdx, str._Error_al_eliminar._
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a70
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140002870
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000286b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000286b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000559c
movdqa xmm0, xmmword [0x140008000]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
cmp r15, 0xf
jbe 0x1400028d0
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400028b3
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14000559c
jmp 0x1400028d0
lea rdx, str._Fallo_la_conexion_con_el_servidor____
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a70
mov rcx, rbx
call qword [sym.imp.libmysql.dll_mysql_close]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140005540
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001280
nop
call fcn.1400011e0
int3