Function at 0x140076ab0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword [0x1404b3fb8]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rcx
mov qword [rsp + 0x50], r8
mov rax, rdx
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x38], rcx
lea r9, [rsp + 0x38]
lea rcx, str.client
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x40], rcx
lea r8, [rsp + 0x30]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140082d30
cmp dword [rsp + 0x30], 1
je 0x140077262
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + 8]
lea rsi, [rcx + 8]
test rax, rax
je 0x140077267
lea r14, [0x140000000]
mov rcx, rax
call fcn.140082d20
test al, al
jne case.0x140076be3.30
mov rcx, qword [rsi]
cmp byte [rcx], 0x2d
jne case.0x140076be3.30
cmp byte [rcx + 1], 0x2d
jne case.0x140076be3.30
mov edx, 0x3d
call fcn.140084430
xor ebx, ebx
cmp byte [rax], bl
je 0x140076b8e
lea rbx, [rax + 1]
mov byte [rax], 0
mov rcx, qword [rsi]
mov edx, 0x5f
call fcn.140084430
cmp byte [rax], 0
je 0x140076bb5
mov edx, 0x5f
mov byte [rax], 0x2d
mov rcx, rax
call fcn.140084430
cmp byte [rax], 0
jne 0x140076ba0
mov rcx, qword [rsi]
lea rdx, [0x140440330]
add rcx, 2
xor r8d, r8d
call fcn.14007e3b0
dec eax
cmp eax, 0x25
ja case.0x140076be3.30
cdqe
mov edx, dword [r14 + rax*4 + 0x77290]
add rdx, r14
jmp rdx
test rbx, rbx
je case.0x140076be3.30
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rdi + 0xc], eax
jmp case.0x140076be3.30
test rbx, rbx
je case.0x140076be3.30
mov rcx, qword [rdi + 0x30]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x30], rax
jmp case.0x140076be3.30
or dword [rdi + 0x14], 0x20
mov byte [rdi + 0x9d], 1
jmp case.0x140076be3.30
test rbx, rbx
je case.0x140076be3.30
mov rcx, qword [rdi + 0x28]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x28], rax
jmp case.0x140076be3.30
mov dword [rdi + 0x10], 3
test rbx, rbx
je case.0x140076be3.30
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rdi], eax
jmp case.0x140076be3.30
test rbx, rbx
je case.0x140076be3.30
mov rcx, qword [rdi + 0x20]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x20], rax
jmp case.0x140076be3.30
mov rdx, rbx
mov rcx, rdi
call fcn.140073410
jmp case.0x140076be3.30
test rbx, rbx
je case.0x140076be3.30
mov rcx, qword [rdi + 0x18]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x18], rax
jmp case.0x140076be3.30
test rbx, rbx
je case.0x140076be3.30
mov rcx, qword [rdi + 0x38]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x38], rax
jmp case.0x140076be3.30
test rbx, rbx
lea rcx, str.d:t:o__tmp_client.trace
cmovne rcx, rbx
call fcn.14007c110
jmp case.0x140076be3.30
or dword [rdi + 0x14], 2
jmp case.0x140076be3.30
mov rcx, qword [rdi + 0x68]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x68], rax
jmp case.0x140076be3.30
mov rcx, qword [rdi + 0x70]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x70], rax
jmp case.0x140076be3.30
mov rcx, qword [rdi + 0x78]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x78], rax
jmp case.0x140076be3.30
mov rcx, qword [rdi + 0x80]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x80], rax
jmp case.0x140076be3.30
mov rcx, qword [rdi + 0x88]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x88], rax
jmp case.0x140076be3.30
mov rcx, qword [rdi + 0xe0]
test rcx, rcx
je 0x140076e2f
mov rcx, qword [rcx + 0xa0]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140076e4a
mov ecx, dword [0x14052a160]
mov edx, 0xb0
lea r8d, [rdx - 0x80]
call fcn.14007e530
mov qword [rdi + 0xe0], rax
test rbx, rbx
je 0x140076e68
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov rcx, rax
jmp 0x140076e6a
xor ecx, ecx
mov rax, qword [rdi + 0xe0]
mov qword [rax + 0xa0], rcx
mov rax, qword [rdi + 0xe0]
cmp qword [rax + 0xa0], 0
je case.0x140076be3.30
mov dword [rax + 0xac], 2
jmp case.0x140076be3.30
mov rcx, qword [rdi + 0xe0]
test rcx, rcx
je 0x140076eb3
mov rcx, qword [rcx + 0x10]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140076ece
mov ecx, dword [0x14052a160]
mov edx, 0xb0
lea r8d, [rdx - 0x80]
call fcn.14007e530
mov qword [rdi + 0xe0], rax
test rbx, rbx
je 0x140076eec
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov rcx, rax
jmp 0x140076eee
xor ecx, ecx
mov rax, qword [rdi + 0xe0]
mov qword [rax + 0x10], rcx
mov rax, qword [rdi + 0xe0]
cmp qword [rax + 0x10], 0
jmp 0x140076e87
mov rcx, qword [rdi + 0xe0]
test rcx, rcx
je 0x140076f1e
mov rcx, qword [rcx + 0x18]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140076f39
mov ecx, dword [0x14052a160]
mov edx, 0xb0
lea r8d, [rdx - 0x80]
call fcn.14007e530
mov qword [rdi + 0xe0], rax
test rbx, rbx
je 0x140076f57
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov rcx, rax
jmp 0x140076f59
xor ecx, ecx
mov rax, qword [rdi + 0xe0]
mov qword [rax + 0x18], rcx
mov rax, qword [rdi + 0xe0]
cmp qword [rax + 0x18], 0
jmp 0x140076e87
mov rcx, qword [rdi + 0x58]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x58], rax
jmp case.0x140076be3.30
mov rcx, qword [rdi + 0x60]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x60], rax
jmp case.0x140076be3.30
or dword [rdi + 0x14], 0x400
jmp case.0x140076be3.30
test rbx, rbx
je 0x140076feb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
jne 0x140076feb
and dword [rdi + 0x14], 0xffffff7f
jmp case.0x140076be3.30
or dword [rdi + 0x14], 0x80
jmp case.0x140076be3.30
test rbx, rbx
je case.0x140076be3.30
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rdi + 0x98], eax
jmp case.0x140076be3.30
xor r8d, r8d
lea rdx, reloc.WS2_32.dll_connect
mov rcx, rbx
call fcn.14007e3b0
mov dword [rdi + 0x10], eax
test eax, eax
jne case.0x140076be3.30
mov r8, rbx
lea rdx, str.Unknown_option_to_protocol:__s
xor ecx, ecx
call fcn.14007eab0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rdi + 0x90]
cmp rcx, qword [str.MYSQL]
je 0x140077063
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0x90], rax
jmp case.0x140076be3.30
or dword [rdi + 0x14], 0x20000
jmp case.0x140076be3.30
or dword [rdi + 0x14], 0x30000
jmp case.0x140076be3.30
test rbx, rbx
je 0x1400770bb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
xor ecx, ecx
test eax, eax
setne cl
mov byte [rdi + 0xb1], cl
jmp case.0x140076be3.30
mov ecx, 1
mov byte [rdi + 0xb1], cl
jmp case.0x140076be3.30
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x1400770d0
cmp rax, 0x200
jb 0x1400770e8
mov byte [rbx + 0x200], 0
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.14007e850
test eax, eax
jne case.0x140076be3.30
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x260]
call fcn.14007ece0
mov rcx, qword [rdi + 0xe0]
test rcx, rcx
je 0x14007712b
mov rcx, qword [rcx]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140077146
mov ecx, dword [0x14052a160]
mov edx, 0xb0
lea r8d, [rdx - 0x80]
call fcn.14007e530
mov qword [rdi + 0xe0], rax
mov ecx, dword [0x14052a160]
lea rdx, [rsp + 0x260]
mov r8d, reloc.WS2_32.dll_recv
call fcn.14007e710
mov rcx, qword [rdi + 0xe0]
mov qword [rcx], rax
jmp case.0x140076be3.30
mov rcx, qword [rdi + 0xe0]
test rcx, rcx
je 0x140077185
mov rcx, qword [rcx + 8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x1400771a0
mov ecx, dword [0x14052a160]
mov edx, 0xb0
lea r8d, [rdx - 0x80]
call fcn.14007e530
mov qword [rdi + 0xe0], rax
test rbx, rbx
je 0x1400771cc
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov rcx, rax
mov rax, qword [rdi + 0xe0]
mov qword [rax + 8], rcx
jmp case.0x140076be3.30
mov rax, qword [rdi + 0xe0]
xor ecx, ecx
mov qword [rax + 8], rcx
jmp case.0x140076be3.30
mov rcx, qword [rdi + 0xa8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [0x14052a160]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.14007e710
mov qword [rdi + 0xa8], rax
jmp case.0x140076be3.30
cmp qword [rdi + 0xe0], 0
jne 0x140077229
mov ecx, dword [0x14052a160]
mov edx, 0xb0
lea r8d, [rdx - 0x80]
call fcn.14007e530
mov qword [rdi + 0xe0], rax
test rbx, rbx
je 0x14007723f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
jne 0x14007723f
xor ecx, ecx
jmp 0x140077244
mov ecx, 1
mov rax, qword [rdi + 0xe0]
mov byte [rax + 0x98], cl
mov rax, qword [rsi + 8]
add rsi, 8
test rax, rax
jne 0x140076b51
mov rcx, qword [rsp + 0x38]
call fcn.140082ab0
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14012e750
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x470
pop r14
pop rdi
pop rsi
ret