Function at 0x140077330
Capabilities:
Query environment variable
Resolve dns

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b8]
sub rsp, 0x2b8
mov rax, qword [0x1404b3fb8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, qword [rbp + 0x230]
xor r15d, r15d
mov rdi, r9
mov r12, qword [rbp + 0x220]
mov r14, r8
mov qword [rbp - 0x38], r9
mov r13, rdx
mov qword [rbp - 0x30], r8
mov rbx, rcx
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], r15d
mov qword [rbp - 0x40], r15
mov byte [rsp + 0x60], r15b
cmp qword [rcx], r15
je 0x1400773bd
mov r8, qword [section..data]
mov edx, 0x80a
call fcn.14007a390
jmp 0x140077b58
mov r8d, 0x184
lea rdx, [rbp + 0x10]
call fcn.14007a1f0
test eax, eax
jne 0x140077b58
lea rax, [0x140440020]
mov qword [rbx + 0x498], rax
mov qword [rbx], r15
mov rax, qword [rbx + 0x3b0]
mov dword [rbx + 0x34c], r15d
test rax, rax
jne 0x140077401
cmp qword [rbx + 0x3b8], r15
je 0x140077448
mov r8, qword [rbx + 0x3b8]
lea rdx, [0x140135f18]
test rax, rax
lea rcx, [rbx + 0x368]
cmovne rdx, rax
call fcn.140076ab0
mov rcx, qword [rbx + 0x3b0]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, qword [rbx + 0x3b8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rbx + 0x3b8], r15
mov qword [rbx + 0x3b0], r15
test r13, r13
je 0x140077453
cmp byte [r13], r15b
jne 0x14007745f
mov r13, qword [rbx + 0x380]
mov qword [rsp + 0x78], r13
test r14, r14
je 0x140077469
cmp byte [r14], r15b
jne 0x140077482
mov rax, qword [rbx + 0x388]
lea r14, [0x140135a5a]
test rax, rax
cmovne r14, rax
mov qword [rbp - 0x30], r14
test rdi, rdi
jne 0x1400774b6
mov rax, qword [rbx + 0x390]
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x1400774b6
lea rcx, str.MYSQL_PWD
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
lea rdi, [0x140135a5a]
cmovne rdi, rax
mov qword [rbp - 0x38], rdi
test r12, r12
je 0x1400774c1
cmp byte [r12], r15b
jne 0x1400774cc
mov rax, qword [rbx + 0x3a0]
mov qword [rbp - 0x28], rax
cmp dword [rbp + 0x228], r15d
jne 0x1400774e1
mov eax, dword [rbx + 0x374]
mov dword [rbp + 0x228], eax
test rsi, rsi
jne 0x1400774f6
mov rsi, qword [rbx + 0x398]
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x68], rsi
mov rax, qword [rbx + 0x4b8]
mov dword [rbx + 0x35c], 2
test rax, rax
jne 0x140077521
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
cmp qword [rax], r15
je 0x140077550
mov rax, qword [rbx + 0x4b8]
test rax, rax
jne 0x140077547
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
mov rax, qword [rax]
mov dword [rax + 0x10], r15d
jmp 0x140077561
cmp qword [0x1404b82b0], r15
je 0x140077561
mov rcx, rbx
call fcn.14007c510
mov rax, qword [rbx + 0x4b8]
test rax, rax
jne 0x140077582
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
cmp qword [rax], r15
je 0x1400775c8
mov qword [rbp - 0x70], r15
lea r8, [rbp - 0x20]
mov dword [rbp - 0x68], r15d
mov edx, 1
movups xmm0, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], r15
mov rcx, rbx
mov qword [rbp - 0x58], r15
movups xmm1, xmmword [rbp - 0x60]
mov qword [rbp - 0x50], r15
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x48], r15
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp], xmm0
call fcn.14007c590
test dword [rbx + 0x378], 0xfffffffb
lea rdi, [0x140135a60]
jne 0x140077691
test r13, r13
je 0x1400775f7
mov rdx, rdi
mov rcx, r13
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140077691
mov ecx, dword [rbx + 0x368]
lea eax, [rcx - 1]
cmp eax, 0x20c49a
ja 0x140077610
imul r8d, ecx, 0x3e8
jmp 0x140077614
or r8d, 0xffffffff
mov rdx, rbx
mov rcx, rbx
call fcn.1400743b0
cmp rax, 0xffffffffffffffff
jne 0x14007764f
cmp dword [rbx + 0x378], 4
je 0x140077b28
mov dword [rbx + 0x78], r15d
lea rcx, [rbx + 0x27f]
mov byte [rbx + 0x7f], r15b
mov rdx, qword [str.00000]
call fcn.1400844a0
jmp 0x140077691
mov r13, qword [rbx + 0x3f8]
lea r14, [rbp + 0x10]
mov dword [rbx + 0x378], 4
lea rcx, [rbp + 0x10]
mov r8, qword [str.Shared_memory:___.100s]
mov r9, r13
mov edx, 0x183
mov qword [rbp - 0x80], r15
mov rsi, r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x40], r14
call fcn.140083700
mov rdx, qword [rbx]
test rdx, rdx
jne 0x140077af9
cmp dword [rbx + 0x378], 3
je 0x14007770d
test r13, r13
je 0x1400776c5
movzx eax, byte [r13]
cmp al, byte [0x140135a6c]
jne 0x1400776c5
movzx eax, byte [r13 + 1]
cmp al, byte [0x140135a6d]
je 0x14007770d
cmp byte [0x1404bc7d9], r15b
jne 0x1400777e1
test rsi, rsi
jne 0x14007770d
test r13, r13
jne 0x1400777e1
lea rcx, [0x140135b50]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400777e1
lea rdx, str.Windows_NT
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400777e1
mov ecx, dword [rbx + 0x368]
lea eax, [rcx - 1]
cmp eax, 0x20c49a
ja 0x140077725
imul edx, ecx, 0x3e8
jmp 0x140077728
or edx, 0xffffffff
lea r9, [rsp + 0x68]
mov rcx, rbx
lea r8, [rsp + 0x78]
call fcn.1400741a0
cmp rax, 0xffffffffffffffff
jne 0x1400777a8
cmp dword [rbx + 0x378], 3
je 0x140077b28
mov r13, qword [rsp + 0x78]
test r13, r13
je 0x140077775
movzx eax, byte [r13]
cmp al, byte [0x140135a6c]
jne 0x140077775
movzx eax, byte [r13 + 1]
cmp al, byte [0x140135a6d]
je 0x140077b28
mov rsi, qword [rsp + 0x68]
mov qword [rbp - 0x80], rsi
test rsi, rsi
je 0x1400777e1
mov rcx, r15
lea rdx, str.MySQL
nop dword [rax]
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400777e1
cmp rcx, 6
jne 0x140077790
jmp 0x140077b28
mov rcx, rax
call fcn.140084b30
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp + 0x10]
mov qword [rbx], rax
mov r9, rdx
mov r8, qword [str.Named_pipe:___.32s]
lea rax, [rbp + 0x10]
mov qword [rbp - 0x80], rdx
mov edx, 0x183
mov qword [rbp - 0x40], rax
call fcn.140083700
mov r13, qword [rsp + 0x78]
mov rdx, qword [rbx]
test rdx, rdx
jne 0x140077af9
cmp dword [rbx + 0x378], 1
ja 0x140077aea
mov r14d, dword [rbp + 0x228]
lea rax, [rbp + 0x10]
mov r8, qword [str.__.100s_via_TCP_IP]
lea rcx, [rbp + 0x10]
or rsi, 0xffffffffffffffff
mov qword [rbp - 0x78], r15
test r14d, r14d
mov dword [rsp + 0x78], esi
mov edx, 0x183
mov qword [rbp - 0x80], r15
cmove r14d, dword [0x1404b828c]
mov r12d, r15d
test r13, r13
mov dword [rbp + 0x228], r14d
mov qword [rbp - 0x40], rax
cmovne rdi, r13
mov r9, rdi
mov r13, rdi
call fcn.140083700
xor eax, eax
lea r8, [0x140135f34]
mov qword [rbp - 0x68], rax
lea edx, [rsi + 0x21]
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x20]
mov r9d, r14d
mov dword [rbp - 0x68], 1
mov dword [rbp - 0x64], 6
mov dword [rbp - 0x6c], r15d
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
call fcn.140083700
lea r9, [rsp + 0x68]
mov rcx, rdi
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x20]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1400778dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r9, qword [str.Unknown_MySQL_server_host___.100s___d_]
mov edx, 0x7d5
mov r8, qword [section..data]
mov ecx, dword [rax]
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call fcn.14007a4c0
jmp 0x140077b28
mov rcx, qword [rbx + 0x410]
test rcx, rcx
je 0x140077938
lea r9, [rbp - 0x78]
xor edx, edx
lea r8, [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140077938
mov r9, qword [str.Unknown_MySQL_server_host___.100s___d_]
mov edx, 0x7d5
mov r8, qword [section..data]
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x410]
mov qword [rsp + 0x20], rax
call fcn.14007a4c0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x140077b28
mov r14, qword [rsp + 0x68]
test r14, r14
je 0x140077a72
nop word [rax + rax]
mov r8d, dword [r14 + 0xc]
mov edx, dword [r14 + 8]
mov ecx, dword [r14 + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140077a57
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400779b5
nop dword [rax + rax]
mov r8d, dword [rdi + 0x10]
mov rcx, rsi
mov rdx, qword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1400779b5
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140077980
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rsi
mov r12d, eax
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140077a60
mov rcx, qword [rbx]
mov edx, 1
test rcx, rcx
jne 0x140077a16
lea r8d, [rcx + 2]
mov rcx, rsi
call fcn.140084aa0
mov qword [rbx], rax
test rax, rax
jne 0x140077a31
mov edx, 0x7d8
mov r8, qword [section..data]
mov rcx, rbx
call fcn.14007a390
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140077b28
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x140077b28
xor r9d, r9d
mov dword [rsp + 0x20], 2
mov r8, rsi
call fcn.140084cb0
test al, al
jne 0x140077ab2
mov rcx, rbx
call fcn.140074d60
mov rdx, qword [r14 + 0x20]
mov r9d, eax
mov r8d, dword [r14 + 0x10]
mov rcx, qword [rbx]
call fcn.1400857c0
movsx eax, al
mov dword [rsp + 0x78], eax
test eax, eax
je 0x140077a6d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r12d, eax
mov r14, qword [r14 + 0x28]
test r14, r14
jne 0x140077950
mov r14, qword [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140077a8a
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp rsi, 0xffffffffffffffff
jne 0x140077abc
mov r9, qword [str.Cant_create_TCP_IP_socket___d_]
mov edx, 0x7d4
mov r8, qword [section..data]
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.14007a4c0
jmp 0x140077b28
mov edx, 0x7d0
jmp 0x1400779db
cmp dword [rsp + 0x78], r15d
je 0x140077aea
mov r9, qword [str.Cant_connect_to_MySQL_server_on___.100s___d_]
mov edx, 0x7d3
mov r8, qword [section..data]
mov rcx, rbx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r13
call fcn.14007a4c0
jmp 0x140077b28
mov rdx, qword [rbx]
test rdx, rdx
jne 0x140077af9
mov edx, 0x7ff
jmp 0x140077b19
mov rcx, rbx
call fcn.14007d060
test al, al
mov rax, qword [rbx]
mov rcx, rax
je 0x140077b7d
call qword [rax + 0x168]
mov qword [rbx], r15
mov edx, 0x7d8
mov r8, qword [section..data]
mov rcx, rbx
call fcn.14007a390
mov rcx, rbx
call fcn.1400749c0
mov rcx, rbx
call fcn.140075090
cmp dword [rbp + 0x238], 0
jl 0x140077b49
mov rcx, rbx
call fcn.140075140
cmp byte [rsp + 0x60], 0
je 0x140077b58
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14012e750
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dl, 1
call qword [rax + 0x190]
mov edx, dword [rbx + 0x36c]
test edx, edx
je 0x140077b97
mov rcx, rbx
call fcn.14007d340
mov edx, dword [rbx + 0x370]
test edx, edx
je 0x140077ba9
mov rcx, rbx
call fcn.14007d360
mov eax, dword [rbx + 0x400]
test eax, eax
je 0x140077bb6
mov dword [rbx + 0x44], eax
mov rax, qword [rbx + 0x4b8]
test rax, rax
jne 0x140077bd7
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
cmp qword [rax], r15
je 0x140077c1d
mov qword [rbp - 0x70], r15
lea r8, [rbp - 0x20]
mov dword [rbp - 0x68], r15d
mov edx, 2
movups xmm0, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], r15
mov rcx, rbx
mov qword [rbp - 0x58], r15
movups xmm1, xmmword [rbp - 0x60]
mov qword [rbp - 0x50], r15
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x48], r15
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp], xmm0
call fcn.14007c590
mov rax, qword [rbx + 0x4b8]
test rax, rax
jne 0x140077c3e
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
cmp qword [rax], r15
je 0x140077c6e
mov rax, qword [rbx + 0x4b8]
test rax, rax
jne 0x140077c64
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
mov rax, qword [rax]
mov dword [rax + 0x10], 1
mov eax, dword [rbx + 0x368]
mov dword [rbx + 0x354], 0xa
test eax, eax
je 0x140077cdf
cmp eax, 0x20c49b
ja 0x140077c92
imul r8d, eax, 0x3e8
jmp 0x140077c96
or r8d, 0xffffffff
mov rax, qword [rbx]
xor edx, edx
mov rcx, rax
call qword [rax + 0x1d8]
cmp eax, 1
jge 0x140077cdf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
lea rax, str.waiting_for_initial_communication_packet
mov r9, qword [str.Lost_connection_to_MySQL_server_at__s__system_error:__d]
mov edx, 0x7dd
mov r8, qword [section..data]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14007a4c0
jmp 0x140077b28
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140073c30
cmp eax, 0xffffffff
jne 0x140077d11
cmp dword [rbx + 0x78], 0x7dd
jne 0x140077b28
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
lea rax, str.reading_initial_communication_packet
jmp 0x140077cba
mov ecx, eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x78], rcx
lea rsi, [rax + rcx]
movzx ecx, byte [rax]
mov dword [rbx + 0x354], ecx
cmp ecx, 0xa
je 0x140077d5a
mov r9, qword [str.Protocol_mismatch__server_version___d__client_version___d]
mov edx, 0x7d7
mov r8, qword [section..data]
mov dword [rsp + 0x28], 0xa
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.14007a4c0
jmp 0x140077b28
mov rcx, qword [rbx + 0x20]
inc rcx
call fcn.140084420
mov r14, rax
mov ecx, dword [rax + 1]
lea rdx, [rax + 5]
mov dword [rbx + 0x340], ecx
lea rcx, [rdx + 0xa]
mov qword [rsp + 0x68], rdx
cmp rsi, rcx
jb 0x140077d8e
movzx ecx, word [rdx + 9]
mov dword [rbx + 0x350], ecx
lea rax, [rdx + 0x1b]
mov qword [rbp - 0x78], rax
cmp rsi, rax
jb 0x140077dd5
movsx eax, byte [rdx + 0xb]
mov dword [rbx + 0x360], eax
movzx eax, word [rdx + 0xc]
mov dword [rbx + 0x35c], eax
movzx eax, word [rdx + 0xe]
shl eax, 0x10
or dword [rbx + 0x350], eax
movsx r12d, byte [rdx + 0x10]
mov dword [rsp + 0x70], r12d
test r12d, r12d
jns 0x140077dd5
mov edx, 0x7eb
jmp 0x140077b19
mov rcx, rbx
call fcn.140075aa0
test eax, eax
jne 0x140077b28
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140077dff
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r15b
jne 0x140077df2
inc eax
jmp 0x140077e04
mov eax, 1
sub r14d, dword [rbx + 0x20]
lea r9, [rbx + 0x2b8]
inc r14d
lea rdi, [rbx + 0x2b0]
or rdx, 0xffffffffffffffff
lea r12, [rbx + 0x298]
lea r8, [rbx + 0x2c0]
nop dword [rax + rax]
inc rdx
cmp byte [rdx + r13], r15b
jne 0x140077e30
mov r10, qword [rbp - 0x40]
inc edx
or rcx, 0xffffffffffffffff
cmp byte [r10 + rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x140077e43
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x40], r9
lea r9d, [rcx + 1]
mov ecx, dword [0x14052a158]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edx
xor edx, edx
mov qword [rsp + 0x20], r12
call fcn.14007e780
test rax, rax
je 0x140077b14
mov rdx, qword [rbp - 0x30]
xor r8d, r8d
mov ecx, dword [0x14052a158]
call fcn.14007e710
mov qword [rbx + 0x2a0], rax
test rax, rax
je 0x140077b14
mov rdx, qword [rbp - 0x38]
xor r8d, r8d
mov ecx, dword [0x14052a158]
call fcn.14007e710
mov qword [rbx + 0x2a8], rax
test rax, rax
je 0x140077b14
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbx + 0x2c0]
call fcn.1400844a0
mov rcx, qword [r12]
mov rdx, r13
call fcn.1400844a0
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x140077efc
mov rcx, qword [rdi]
call fcn.1400844a0
jmp 0x140077eff
mov qword [rdi], r15
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x2b8]
inc rdx
call fcn.1400844a0
mov eax, dword [rbp + 0x228]
mov rdi, qword [rbp - 0x78]
mov dword [rbx + 0x348], eax
lea rax, [rdi + 0xd]
cmp rsi, rax
jb 0x140077dcb
mov rdx, qword [rsp + 0x68]
add rdi, 0xfffffffffffffff8
mov rcx, rdi
mov r8d, 8
call qword [sym.imp.VCRUNTIME140.dll_memmove]
test dword [rbx + 0x350], 0x80000
je 0x140077f68
movsxd r14, dword [rsp + 0x70]
add r14, rdi
cmp r14, rsi
jbe 0x140077f77
sub esi, edi
mov dword [rsp + 0x70], esi
jmp 0x140077f7b
sub esi, edi
lea r14, str.mysql_native_password
mov dword [rsp + 0x70], esi
jmp 0x140077f7b
mov esi, dword [rsp + 0x70]
mov rax, qword [rbx + 0x4b8]
test rax, rax
jne 0x140077f9c
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
cmp qword [rax], r15
je 0x140077feb
mov rax, qword [rbx + 0x20]
lea r8, [rbp - 0x20]
mov qword [rbp - 0x50], rax
mov edx, 7
mov rax, qword [rsp + 0x78]
mov rcx, rbx
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x68], r15d
movups xmm0, xmmword [rbp - 0x70]
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
movups xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp], xmm0
call fcn.14007c590
mov rax, qword [rbx + 0x4b8]
test rax, rax
jne 0x14007800c
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
cmp qword [rax], r15
je 0x14007803c
mov rax, qword [rbx + 0x4b8]
test rax, rax
jne 0x140078032
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
mov rax, qword [rax]
mov dword [rax + 0x10], 2
mov rcx, qword [rbx + 0x448]
test rcx, rcx
je 0x140078069
cmp dword [rcx + 0xac], 2
ja 0x140078069
mov eax, dword [rbx + 0x378]
sub eax, 3
cmp eax, 1
ja 0x140078069
mov dword [rcx + 0xac], 1
mov r12, qword [rbp - 0x28]
mov rcx, rbx
mov r8d, dword [rbp + 0x238]
mov rdx, r12
call fcn.140073520
test esi, esi
je 0x1400780d7
mov rax, qword [rbx + 0x448]
test rax, rax
je 0x1400780d7
cmp dword [rax + 0xac], 1
je 0x1400780d7
mov ecx, dword [0x14052a148]
mov r8d, reloc.WS2_32.dll_recv
movsxd rsi, esi
mov rdx, rsi
call fcn.14007e530
mov r15, rax
test rax, rax
je 0x140077b14
mov r13b, 1
mov r8, rsi
mov rdx, rdi
mov byte [rsp + 0x60], r13b
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [rsp + 0x70]
jmp 0x1400780dd
mov r15, rdi
xor r13b, r13b
mov rcx, rbx
call fcn.1400735c0
test eax, eax
jne 0x140077b28
mov r9, r14
mov qword [rsp + 0x20], r12
mov r8d, esi
mov rdx, r15
mov rcx, rbx
call fcn.1400796c0
test eax, eax
jne 0x140077b28
cmp r13b, 1
jne 0x14007811d
mov rcx, r15
mov byte [rsp + 0x60], al
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, qword [rbx + 0x4b8]
test rax, rax
jne 0x14007813e
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
cmp qword [rax], 0
je 0x14007816f
mov rax, qword [rbx + 0x4b8]
test rax, rax
jne 0x140078165
lea edx, [rax + 0x68]
xor ecx, ecx
lea r8d, [rax + 0x30]
call fcn.14007e530
mov qword [rbx + 0x4b8], rax
mov rax, qword [rax]
mov dword [rax + 0x10], 4
test byte [rbx + 0x34c], 0x20
je 0x14007817c
mov byte [rbx + 0x6c], 1
test r12, r12
je 0x1400781bf
cmp qword [rbx + 0x2d0], 0
jne 0x1400781bf
mov rdx, r12
mov rcx, rbx
call fcn.1400785b0
test eax, eax
je 0x1400781bf
cmp dword [rbx + 0x78], 0x7dd
jne 0x140077b28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
lea rax, str.Setting_intital_database
mov dword [rsp + 0x28], ecx
jmp 0x140077cba
mov rax, qword [rbx + 0x3a8]
test rax, rax
je 0x140078265
mov rdi, qword [rax]
mov eax, dword [rax + 8]
movzx r14d, byte [rbx + 0x455]
mov byte [rbx + 0x455], 0
lea rsi, [rdi + rax*8]
cmp rdi, rsi
jae 0x14007825e
nop dword [rax]
mov rdx, qword [rdi]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140078200
mov rcx, rbx
call fcn.140078270
test eax, eax
jne 0x140077b28
nop word [rax + rax]
cmp qword [rbx + 0x2e0], 0
je 0x140078243
mov rcx, rbx
call fcn.140072920
test rax, rax
je 0x140077b28
mov rcx, rax
call fcn.140075480
mov rcx, rbx
call fcn.14007c120
test eax, eax
jg 0x140077b28
je 0x140078220
add rdi, 8
cmp rdi, rsi
jb 0x1400781f0
mov byte [rbx + 0x455], r14b
mov rax, rbx
jmp 0x140077b5a