Function at 0x18009c110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push r12
push r13
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
xor r12d, r12d
lea r8, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], r12
mov rsi, rcx
mov qword [rsp + 0x70], r12
mov r15d, r12d
mov qword [rbp - 0x70], r12
lea edx, [r12 + 0x1b]
call fcn.1800a8bf0
mov dword [rbp + 0x158], eax
mov r13d, eax
mov dword [rbp + 0x150], eax
test eax, eax
jne 0x18009d92a
movsxd r8, dword [rsi + 0x1f8]
lea edx, [rax + 1]
mov qword [rsp + 0x208], rbx
mov rbx, qword [rbp - 0x70]
mov rcx, rbx
mov qword [rsp + 0x200], rdi
mov qword [rsp + 0x1f8], r14
call fcn.180066800
movsxd r8, dword [rsi + 0x1d8]
lea edx, [r12 + 2]
mov rcx, rbx
call fcn.180066800
lea rdi, [0x1801afe14]
mov r14d, r12d
test rbx, rbx
je 0x18009c7c9
cmp qword [rbx], r12
je 0x18009c7c0
mov r13, qword [rbx]
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x18009c1e0
call qword [0x1801e59a8]
and dword [rbx + 0x8c], 0xfffffffd
mov rcx, rbx
call fcn.18012fcc0
mov edi, eax
cmp eax, 0x11
jne 0x18009c681
nop word [rax + rax]
mov ecx, r14d
inc r14d
cmp ecx, 0x32
jge 0x18009c67c
mov rsi, qword [rbx]
lea rax, [rbp - 0x60]
mov rdx, qword [rbx + 0xe8]
xor r9d, r9d
mov r15d, dword [rbx + 0x80]
mov rcx, rsi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
lea r8d, [r9 - 1]
mov qword [rsp + 0x20], rbx
call fcn.18011d5f0
mov edi, eax
test eax, eax
jne 0x18009c4f7
mov rdi, qword [rbp - 0x60]
lea rcx, [rbp - 0x40]
mov rax, rdi
mov edx, 2
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18009c260
movups xmm0, xmmword [rax]
mov edx, 2
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
mov rax, rdi
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov rcx, rbx
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x18009c2d4
movups xmm0, xmmword [rcx]
mov edx, 2
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rbp - 0x40]
movups xmmword [rax + 0x20], xmm0
mov rax, rbx
nop dword [rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x18009c350
movups xmm0, xmmword [rcx]
mov rdx, rbx
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x20], xmm0
mov rcx, qword [rdi + 0x58]
mov rax, qword [rbx + 0x58]
mov qword [rdi + 0x58], rax
mov rax, qword [rbx + 0x50]
mov qword [rbx + 0x58], rcx
mov rcx, qword [rdi + 0x50]
mov qword [rdi + 0x50], rax
mov rax, qword [rbx + 0xe8]
mov qword [rbx + 0x50], rcx
mov rcx, qword [rdi + 0xe8]
mov qword [rdi + 0xe8], rax
mov qword [rbx + 0xe8], rcx
mov rcx, rdi
mov eax, dword [rdi + 0x94]
xor eax, dword [rbx + 0x94]
and eax, 0x80
xor dword [rbx + 0x94], eax
call fcn.180130590
mov dword [rdi + 0x84], r12d
mov eax, dword [rdi + 0x44]
cmp eax, 0xbdf20da3
je 0x18009c42f
cmp eax, 0x519c2973
jne 0x18009c437
mov rcx, rdi
call fcn.180141870
mov rcx, rdi
call fcn.180136340
mov rdi, qword [rbx]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x18009c451
call qword [0x1801e59a8]
cmp qword [rbx + 0xc0], r12
jle 0x18009c465
mov rdx, rbx
mov rcx, rdi
call fcn.1800d0950
mov rcx, rbx
call fcn.180141870
mov dword [rbx + 0x44], 0xbdf20da3
mov dword [rbx + 0x80], 0xffffffff
mov dword [rbx + 0x84], r12d
mov byte [rbx + 0x8a], 2
mov dword [rbx + 0x98], r12d
mov dword [rbx + 0x7c], 1
mov byte [rbx + 0x90], 0xff
mov dword [rbx + 0xa4], r12d
mov qword [rbx + 0xd0], r12
cmp byte [rdi + 0x55], r12b
jne 0x18009c4bc
cmp eax, 0xc0a
jne 0x18009c4c4
mov rcx, rdi
call fcn.1800772f0
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x18009c4d3
call qword [0x1801e59b8]
test r15d, r15d
js 0x18009c4df
or dword [rbx + 0x8c], 2
mov rcx, rbx
call fcn.18012fcc0
mov edi, eax
cmp eax, 0x11
je 0x18009c200
jmp 0x18009c67c
cmp edi, 7
jne 0x18009c525
cmp byte [rsi + 0x55], r12b
jne 0x18009c525
cmp byte [rsi + 0x56], r12b
jne 0x18009c525
mov byte [rsi + 0x55], 1
cmp dword [rsi + 0xb4], r12d
jle 0x18009c51f
mov dword [rsi + 0x148], 1
inc dword [rsi + 0x150]
mov rcx, qword [r13 + 0x140]
test rcx, rcx
jne 0x18009c536
mov r14, r12
jmp 0x18009c56d
movzx edx, word [rcx + 8]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x18009c559
cmp byte [rcx + 0xa], 1
jne 0x18009c559
mov r14, qword [rcx + 0x10]
jmp 0x18009c56d
test dl, 1
je 0x18009c563
mov r14, r12
jmp 0x18009c56d
mov dl, 1
call fcn.18014e3d0
mov r14, rax
mov rsi, qword [rbx + 0x48]
test rsi, rsi
je 0x18009c61a
cmp qword [r13 + 0x290], r12
je 0x18009c593
mov rdx, rsi
mov rcx, r13
call fcn.1800d60e0
jmp 0x18009c61a
cmp rsi, qword [r13 + 0x178]
jb 0x18009c5bf
cmp rsi, qword [r13 + 0x180]
jae 0x18009c5bf
mov rax, qword [r13 + 0x170]
mov qword [rsi], rax
dec dword [r13 + 0x158]
mov qword [r13 + 0x170], rsi
jmp 0x18009c61a
cmp dword [0x1801e5920], r12d
je 0x18009c611
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18009c5da
call qword [0x1801e59a8]
mov rcx, rsi
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, rsi
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18009c61a
call qword [0x1801e59b8]
jmp 0x18009c61a
mov rcx, rsi
call qword [0x1801e5950]
cmp byte [r13 + 0x55], r12b
jne 0x18009c66d
test r14, r14
jne 0x18009c62e
mov r15, r12
mov qword [rbx + 0x48], r12
jmp 0x18009c676
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [r14 + rsi], r12b
jne 0x18009c635
and esi, 0x3fffffff
mov rcx, r13
lea rdx, [rsi + 1]
call fcn.1800f8480
mov r15, rax
test rax, rax
je 0x18009c667
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1801625a0
mov qword [rbx + 0x48], r15
jmp 0x18009c676
mov qword [rbx + 0x48], r12
mov edi, 7
mov dword [rbx + 0x84], edi
mov r15, qword [rsp + 0x48]
cmp byte [r13 + 0x55], r12b
jne 0x18009c695
cmp edi, 0xc0a
je 0x18009c695
and edi, dword [r13 + 0x48]
jmp 0x18009c69f
mov rcx, r13
call fcn.1800772f0
mov edi, eax
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x18009c6ae
call qword [0x1801e59b8]
cmp edi, 0x64
jne 0x18009c7ff
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x18009c6e5
cmp r12w, word [rbx + 0x88]
jae 0x18009c6e5
mov rax, qword [rbx]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x18009c71a
mov rcx, rdx
call qword [0x1801e59a8]
mov rcx, qword [rbx + 0x28]
jmp 0x18009c71a
mov rcx, qword [rbx]
test rcx, rcx
je 0x18009c713
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18009c702
mov rcx, rax
call qword [0x1801e59a8]
mov rcx, qword [rbx]
mov edx, 0x19
mov dword [rcx + 0x44], 0x19
call fcn.1800fb360
lea rcx, [0x1801a4850]
call fcn.18013efc0
mov rcx, qword [rbx]
mov rsi, rax
cmp byte [rcx + 0x55], r12b
jne 0x18009c740
mov edx, dword [rbx + 0x84]
cmp edx, 0xc0a
je 0x18009c740
mov eax, dword [rcx + 0x48]
and eax, edx
jmp 0x18009c748
call fcn.1800772f0
mov rcx, qword [rbx]
mov dword [rbx + 0x84], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x18009c75d
call qword [0x1801e59b8]
mov r14, qword [rbp + 0x140]
mov edi, r12d
mov r13d, dword [rbp + 0x158]
cmp dword [r14 + 0x1d8], r12d
jle 0x18009c1b2
nop dword [rax + rax]
lea r9, [rbp + 0x150]
mov r8d, edi
mov edx, esi
mov rcx, r14
call fcn.18008cae0
xor r15, rax
inc edi
cmp edi, dword [r14 + 0x1d8]
jl 0x18009c780
mov r13d, dword [rbp + 0x150]
mov qword [rsp + 0x48], r15
mov dword [rbp + 0x158], r13d
test r13d, r13d
je 0x18009c1b2
jmp 0x18009c80d
lea rdx, str.API_called_with_finalized_prepared_statement
jmp 0x18009c7d0
lea rdx, str.API_called_with_NULL_prepared_statement
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.18006eed0
mov r9d, 0x11dcf
mov qword [rsp + 0x20], rdi
lea r8, str.misuse
mov ecx, reloc.WS2_32.dll_setsockopt
lea rdx, str._s_at_line__d_of___.10s_
call fcn.18006eed0
jmp 0x18009c806
mov r13d, dword [rbp + 0x158]
mov r14, qword [rbp + 0x140]
test rbx, rbx
jne 0x18009c81a
mov edi, r12d
jmp 0x18009c8b7
mov rsi, qword [rbx]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x18009c82c
call qword [0x1801e59a8]
cmp qword [rbx + 0xc0], r12
jle 0x18009c840
mov rdx, rbx
mov rcx, rsi
call fcn.1800d0950
mov rcx, rbx
call fcn.180141870
mov dword [rbx + 0x44], 0xbdf20da3
mov edi, eax
mov dword [rbx + 0x80], 0xffffffff
mov dword [rbx + 0x84], r12d
mov byte [rbx + 0x8a], 2
mov dword [rbx + 0x98], r12d
mov dword [rbx + 0x7c], 1
mov byte [rbx + 0x90], 0xff
mov dword [rbx + 0xa4], r12d
mov qword [rbx + 0xd0], r12
cmp byte [rsi + 0x55], r12b
jne 0x18009c89e
cmp eax, 0xc0a
je 0x18009c89e
and edi, dword [rsi + 0x48]
jmp 0x18009c8a8
mov rcx, rsi
call fcn.1800772f0
mov edi, eax
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x18009c8b7
call qword [0x1801e59b8]
test r13d, r13d
jne 0x18009d912
mov r13d, edi
test edi, edi
jne 0x18009d912
mov rax, qword [r14 + 0x48]
mov rdx, qword [r14 + 0x1a8]
mov rcx, qword [rax]
mov qword [rbp - 0x78], rcx
lea rcx, str.SELECT__s
call fcn.180063690
mov r12, rax
test rax, rax
jne 0x18009c8fa
lea r13d, [rdi + 7]
jmp 0x18009d912
mov rsi, qword [r14 + 0x18]
xor edi, edi
mov eax, edi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rax
test rsi, rsi
jne 0x18009c91a
lea r8, str.NULL
jmp 0x18009c940
mov eax, dword [rsi + 0x60]
cmp eax, 0xa029a697
je 0x18009c986
cmp eax, 0x4b771290
je 0x18009c939
lea r8, str.invalid
cmp eax, 0xf03b7906
jne 0x18009c940
lea r8, str.unopened
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.18006eed0
lea rbx, [0x1801afe14]
mov r9d, 0x1aef7
lea r8, str.misuse
mov qword [rsp + 0x20], rbx
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.18006eed0
mov r13d, reloc.WS2_32.dll_setsockopt
jmp 0x18009cbbf
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x18009c995
call qword [0x1801e59a8]
mov rcx, rsi
call fcn.1800f0f20
mov r9d, 1
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x60]
mov rdx, r12
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], rdi
lea r8d, [r9 - 2]
call fcn.180125f10
mov r13d, eax
cmp eax, 0x11
jne 0x18009cb9e
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x18009cb72
mov r14, qword [rbx]
test r14, r14
jne 0x18009ca25
lea rdx, str.API_called_with_finalized_prepared_statement
lea ecx, [rax + 4]
call fcn.18006eed0
lea rax, [0x1801afe14]
mov r9d, 0x11ba8
lea r8, str.misuse
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea ecx, [r13 + 4]
call fcn.18006eed0
jmp 0x18009cb72
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x18009ca34
call qword [0x1801e59a8]
cmp qword [rbx + 0xc0], rdi
jle 0x18009ca48
mov rdx, rbx
mov rcx, r14
call fcn.1800d0950
mov eax, dword [rbx + 0x44]
mov r15d, edi
cmp eax, 0xbdf20da3
je 0x18009ca5c
cmp eax, 0x519c2973
jne 0x18009ca67
mov rcx, rbx
call fcn.180141870
mov r15d, eax
mov rdi, qword [rbx]
mov rdx, rbx
mov rcx, rdi
call fcn.180135bd0
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rbx + 0x58]
test rdx, rdx
je 0x18009ca88
mov qword [rdx + 0x58], rcx
jmp 0x18009ca8c
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x18009ca9d
mov rax, qword [rbx + 0x50]
mov qword [rcx + 0x50], rax
mov dword [rbx + 0x44], 0xb606c3c8
mov qword [rbx], 0
test rdi, rdi
je 0x18009caf5
cmp qword [rdi + 0x290], 0
je 0x18009caca
mov rdx, rbx
mov rcx, rdi
call fcn.1800d60e0
jmp 0x18009cb50
cmp rbx, qword [rdi + 0x178]
jb 0x18009caf5
cmp rbx, qword [rdi + 0x180]
jae 0x18009caf5
mov rax, qword [rdi + 0x170]
mov qword [rbx], rax
dec dword [rdi + 0x158]
mov qword [rdi + 0x170], rbx
jmp 0x18009cb50
cmp dword [0x1801e5920], 0
je 0x18009cb47
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18009cb10
call qword [0x1801e59a8]
mov rcx, rbx
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, rbx
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18009cb50
call qword [0x1801e59b8]
jmp 0x18009cb50
mov rcx, rbx
call qword [0x1801e5950]
cmp byte [r14 + 0x55], 0
jne 0x18009cb60
cmp r15d, 0xc0a
jne 0x18009cb68
mov rcx, r14
call fcn.1800772f0
mov rcx, r14
call fcn.18011c490
xor edi, edi
mov r9d, 1
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x60]
mov rdx, r12
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], rdi
lea r8d, [r9 - 2]
call fcn.180125f10
mov r13d, eax
mov rcx, rsi
call fcn.1800f1a30
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x18009cbb5
call qword [0x1801e59b8]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
cmp dword [0x1801e5920], 0
mov dword [rbp + 0x150], r13d
je 0x18009cc18
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18009cbe1
call qword [0x1801e59a8]
mov rcx, r12
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, r12
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18009cc21
call qword [0x1801e59b8]
jmp 0x18009cc21
mov rcx, r12
call qword [0x1801e5950]
mov r12, qword [rsp + 0x68]
test r13d, r13d
jne 0x18009d771
nop
mov esi, edi
test r12, r12
je 0x18009d734
cmp qword [r12], 0
je 0x18009d72b
mov r15, qword [r12]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x18009cc59
call qword [0x1801e59a8]
and dword [r12 + 0x8c], 0xfffffffd
mov rcx, r12
call fcn.18012fcc0
mov ebx, eax
cmp eax, 0x11
jne 0x18009d125
nop word [rax + rax]
mov ecx, esi
inc esi
cmp ecx, 0x32
jge 0x18009d125
mov rdi, qword [r12]
lea rax, [rbp - 0x58]
mov rdx, qword [r12 + 0xe8]
xor r9d, r9d
mov r14d, dword [r12 + 0x80]
mov rcx, rdi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r8d, [r9 - 1]
mov qword [rsp + 0x20], r12
call fcn.18011d5f0
mov ebx, eax
test eax, eax
jne 0x18009cf94
mov rbx, qword [rbp - 0x58]
lea rcx, [rbp - 0x40]
mov rax, rbx
mov edx, 2
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18009cce1
movups xmm0, xmmword [rax]
mov edx, 2
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
mov rax, rbx
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov rcx, r12
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x18009cd55
movups xmm0, xmmword [rcx]
mov edx, 2
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rbp - 0x40]
movups xmmword [rax + 0x20], xmm0
mov rax, r12
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x18009cdd0
movups xmm0, xmmword [rcx]
mov rdx, r12
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x20], xmm0
mov rcx, qword [rbx + 0x58]
mov rax, qword [r12 + 0x58]
mov qword [rbx + 0x58], rax
mov rax, qword [r12 + 0x50]
mov qword [r12 + 0x58], rcx
mov rcx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rax
mov rax, qword [r12 + 0xe8]
mov qword [r12 + 0x50], rcx
mov rcx, qword [rbx + 0xe8]
mov qword [rbx + 0xe8], rax
mov qword [r12 + 0xe8], rcx
mov rcx, rbx
mov eax, dword [rbx + 0x94]
xor eax, dword [r12 + 0x94]
and eax, 0x80
xor dword [r12 + 0x94], eax
call fcn.180130590
xor edi, edi
mov dword [rbx + 0x84], edi
mov eax, dword [rbx + 0x44]
cmp eax, 0xbdf20da3
je 0x18009ceba
cmp eax, 0x519c2973
jne 0x18009cec2
mov rcx, rbx
call fcn.180141870
mov rcx, rbx
call fcn.180136340
mov rbx, qword [r12]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18009cedd
call qword [0x1801e59a8]
cmp qword [r12 + 0xc0], rdi
jle 0x18009cef2
mov rdx, r12
mov rcx, rbx
call fcn.1800d0950
mov rcx, r12
call fcn.180141870
mov dword [r12 + 0x44], 0xbdf20da3
mov dword [r12 + 0x80], 0xffffffff
mov dword [r12 + 0x84], edi
mov byte [r12 + 0x8a], 2
mov dword [r12 + 0x98], edi
mov dword [r12 + 0x7c], 1
mov byte [r12 + 0x90], 0xff
mov dword [r12 + 0xa4], edi
mov qword [r12 + 0xd0], rdi
cmp byte [rbx + 0x55], dil
jne 0x18009cf57
cmp eax, 0xc0a
jne 0x18009cf5f
mov rcx, rbx
call fcn.1800772f0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18009cf6e
call qword [0x1801e59b8]
test r14d, r14d
js 0x18009cf7c
or dword [r12 + 0x8c], 2
mov rcx, r12
call fcn.18012fcc0
mov ebx, eax
cmp eax, 0x11
je 0x18009cc80
jmp 0x18009d125
cmp ebx, 7
jne 0x18009cfc2
cmp byte [rdi + 0x55], 0
jne 0x18009cfc2
cmp byte [rdi + 0x56], 0
jne 0x18009cfc2
cmp dword [rdi + 0xb4], 0
mov byte [rdi + 0x55], 1
jle 0x18009cfbc
mov dword [rdi + 0x148], 1
inc dword [rdi + 0x150]
mov rcx, qword [r15 + 0x140]
test rcx, rcx
jne 0x18009cfd2
xor esi, esi
jmp 0x18009d008
movzx edx, word [rcx + 8]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x18009cff5
cmp byte [rcx + 0xa], 1
jne 0x18009cff5
mov rsi, qword [rcx + 0x10]
jmp 0x18009d008
test dl, 1
je 0x18009cffe
xor esi, esi
jmp 0x18009d008
mov dl, 1
call fcn.18014e3d0
mov rsi, rax
mov rdi, qword [r12 + 0x48]
test rdi, rdi
je 0x18009d0b7
cmp qword [r15 + 0x290], 0
je 0x18009d030
mov rdx, rdi
mov rcx, r15
call fcn.1800d60e0
jmp 0x18009d0b7
cmp rdi, qword [r15 + 0x178]
jb 0x18009d05c
cmp rdi, qword [r15 + 0x180]
jae 0x18009d05c
mov rax, qword [r15 + 0x170]
mov qword [rdi], rax
dec dword [r15 + 0x158]
mov qword [r15 + 0x170], rdi
jmp 0x18009d0b7
cmp dword [0x1801e5920], 0
je 0x18009d0ae
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18009d077
call qword [0x1801e59a8]
mov rcx, rdi
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, rdi
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18009d0b7
call qword [0x1801e59b8]
jmp 0x18009d0b7
mov rcx, rdi
call qword [0x1801e5950]
cmp byte [r15 + 0x55], 0
jne 0x18009d111
test rsi, rsi
jne 0x18009d0cf
xor edi, edi
mov r14d, edi
mov qword [r12 + 0x48], rdi
jmp 0x18009d11d
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rsi + rdi], 0
jne 0x18009d0d6
and edi, 0x3fffffff
mov rcx, r15
lea rdx, [rdi + 1]
call fcn.1800f8480
mov r14, rax
test rax, rax
je 0x18009d108
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call fcn.1801625a0
xor edi, edi
mov qword [r12 + 0x48], r14
jmp 0x18009d11d
xor edi, edi
mov ebx, 7
mov qword [r12 + 0x48], rdi
mov dword [r12 + 0x84], ebx
cmp byte [r15 + 0x55], 0
jne 0x18009d13a
cmp ebx, 0xc0a
je 0x18009d13a
and ebx, dword [r15 + 0x48]
jmp 0x18009d144
mov rcx, r15
call fcn.1800772f0
mov ebx, eax
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x18009d153
call qword [0x1801e59b8]
cmp ebx, 0x64
jne 0x18009d771
mov rcx, qword [r12 + 0x28]
test rcx, rcx
je 0x18009d195
cmp di, word [r12 + 0x88]
jae 0x18009d195
mov rax, qword [r12]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x18009d18c
mov rcx, rdx
call qword [0x1801e59a8]
mov rcx, qword [r12 + 0x28]
lea rsi, [0x1801a4850]
jmp 0x18009d1cf
mov rcx, qword [r12]
test rcx, rcx
je 0x18009d1c5
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18009d1b4
mov rcx, rax
call qword [0x1801e59a8]
mov rcx, qword [r12]
mov edx, 0x19
mov dword [rcx + 0x44], 0x19
call fcn.1800fb360
lea rsi, [0x1801a4850]
mov rcx, rsi
call fcn.18013efc0
mov rcx, qword [r12]
mov qword [rbp - 0x50], rax
cmp byte [rcx + 0x55], 0
jne 0x18009d1f9
mov edx, dword [r12 + 0x84]
cmp edx, 0xc0a
je 0x18009d1f9
mov eax, dword [rcx + 0x48]
and eax, edx
jmp 0x18009d202
call fcn.1800772f0
mov rcx, qword [r12]
mov dword [r12 + 0x84], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x18009d219
call qword [0x1801e59b8]
mov r14, qword [rbp + 0x140]
mov eax, edi
mov qword [rsp + 0x58], rax
cmp qword [r14 + 0x58], 0
je 0x18009d2f5
mov rdx, qword [r12 + 0x28]
test rdx, rdx
je 0x18009d277
mov ebx, dword [r14 + 0x30]
movzx eax, word [r12 + 0x88]
inc ebx
cmp ebx, eax
jge 0x18009d277
test ebx, ebx
js 0x18009d277
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18009d26b
call qword [0x1801e59a8]
mov rdx, qword [r12 + 0x28]
movsxd rax, ebx
imul rcx, rax, 0x38
add rcx, rdx
jmp 0x18009d2aa
mov rcx, qword [r12]
test rcx, rcx
je 0x18009d2a7
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18009d296
mov rcx, rax
call qword [0x1801e59a8]
mov rcx, qword [r12]
mov edx, 0x19
mov dword [rcx + 0x44], 0x19
call fcn.1800fb360
mov rcx, rsi
call fcn.18013efc0
mov rcx, qword [r12]
mov qword [rsp + 0x58], rax
cmp byte [rcx + 0x55], 0
jne 0x18009d2d5
mov edx, dword [r12 + 0x84]
cmp edx, 0xc0a
je 0x18009d2d5
mov eax, dword [rcx + 0x48]
and eax, edx
jmp 0x18009d2de
call fcn.1800772f0
mov rcx, qword [r12]
mov dword [r12 + 0x84], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x18009d2f5
call qword [0x1801e59b8]
mov rcx, rdi
mov qword [rbp - 0x68], rcx
test r13d, r13d
jne 0x18009d771
mov r15d, 1
mov dword [rbp + 0x158], r15d
lea eax, [r15 - 1]
mov dword [rbp - 0x80], eax
cmp eax, dword [r14 + 0x30]
jge 0x18009cc30
mov rax, qword [r14 + 0x40]
cmp byte [rcx + rax], 0
jne 0x18009d709
mov rdx, qword [r12 + 0x28]
test rdx, rdx
je 0x18009d377
movzx eax, word [r12 + 0x88]
cmp r15d, eax
jge 0x18009d377
test r15d, r15d
js 0x18009d377
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18009d366
call qword [0x1801e59a8]
mov rdx, qword [r12 + 0x28]
movsxd rax, r15d
imul rcx, rax, 0x38
add rcx, rdx
jne 0x18009d3aa
mov r14, rdi
jmp 0x18009d3e1
mov rcx, qword [r12]
test rcx, rcx
je 0x18009d3a7
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18009d396
mov rcx, rax
call qword [0x1801e59a8]
mov rcx, qword [r12]
mov edx, 0x19
mov dword [rcx + 0x44], 0x19
call fcn.1800fb360
mov rcx, rsi
movzx edx, word [rcx + 8]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x18009d3cd
cmp byte [rcx + 0xa], 1
jne 0x18009d3cd
mov r14, qword [rcx + 0x10]
jmp 0x18009d3e1
test dl, 1
je 0x18009d3d7
mov r14, rdi
jmp 0x18009d3e1
mov dl, 1
call fcn.18014e3d0
mov r14, rax
mov rcx, qword [r12]
cmp byte [rcx + 0x55], 0
jne 0x18009d402
mov edx, dword [r12 + 0x84]
cmp edx, 0xc0a
je 0x18009d402
mov eax, dword [rcx + 0x48]
and eax, edx
jmp 0x18009d40b
call fcn.1800772f0
mov rcx, qword [r12]
mov dword [r12 + 0x84], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x18009d422
call qword [0x1801e59b8]
mov rdx, qword [r12 + 0x28]
test rdx, rdx
je 0x18009d463
movzx eax, word [r12 + 0x88]
cmp r15d, eax
jge 0x18009d463
test r15d, r15d
js 0x18009d463
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18009d457
call qword [0x1801e59a8]
mov rdx, qword [r12 + 0x28]
movsxd rax, r15d
imul rcx, rax, 0x38
add rcx, rdx
jmp 0x18009d496
mov rcx, qword [r12]
test rcx, rcx
je 0x18009d493
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18009d482
mov rcx, rax
call qword [0x1801e59a8]
mov rcx, qword [r12]
mov edx, 0x19
mov dword [rcx + 0x44], 0x19
call fcn.1800fb360
mov rcx, rsi
movzx eax, word [rcx + 8]
test al, 2
je 0x18009d4a9
cmp byte [rcx + 0xa], 1
jne 0x18009d4a9
mov ebx, dword [rcx + 0xc]
jmp 0x18009d4cc
test al, 0x10
je 0x18009d4bb
bt ax, 0xe
mov ebx, dword [rcx + 0xc]
jae 0x18009d4cc
add ebx, dword [rcx]
jmp 0x18009d4cc
test al, 1
je 0x18009d4c3
mov ebx, edi
jmp 0x18009d4cc
mov dl, 1
call fcn.18014dd70
mov ebx, eax
mov rcx, qword [r12]
cmp byte [rcx + 0x55], 0
jne 0x18009d4ed
mov edx, dword [r12 + 0x84]
cmp edx, 0xc0a
je 0x18009d4ed
mov eax, dword [rcx + 0x48]
and eax, edx
jmp 0x18009d4f6
call fcn.1800772f0
mov rcx, qword [r12]
mov dword [r12 + 0x84], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x18009d50d
call qword [0x1801e59b8]
mov rsi, qword [rbp + 0x140]
lea r9, [rsp + 0x40]
mov r8d, ebx
mov qword [rsp + 0x40], 0
mov rdx, r14
mov rsi, qword [rsi + 0x48]
mov rcx, rsi
mov rdi, qword [rsi]
call qword [rdi + 0x18]
mov rbx, qword [rsp + 0x58]
test eax, eax
jne 0x18009d572
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rsi
cmp dword [rdi], 1
jl 0x18009d572
mov rcx, qword [rsp + 0x40]
mov edx, ebx
call qword [rdi + 0x30]
mov r13d, eax
test eax, eax
je 0x18009d572
mov rcx, qword [rsp + 0x40]
call qword [rdi + 0x20]
xor edi, edi
mov qword [rsp + 0x40], rdi
mov ecx, edi
jmp 0x18009d6e3
mov rcx, qword [rsp + 0x40]
mov r13d, eax
mov qword [rbp + 0x150], rcx
test eax, eax
jne 0x18009d6e1
xor r12d, r12d
nop dword [rax]
mov rsi, qword [rbp - 0x78]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x7c]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x54], r12d
lea r8, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x48]
mov dword [rsp + 0x7c], r12d
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x50], r12d
call qword [rsi + 0x28]
mov r13d, eax
test eax, eax
jne 0x18009d6ca
mov rax, qword [rbp - 0x50]
movsxd r14, dword [rbp - 0x80]
movsxd r15, dword [rsp + 0x50]
mov edi, dword [rsp + 0x54]
mov r10, qword [rbp - 0x48]
lea rsi, [rax + rax*8]
movsxd rax, ebx
add rsi, rax
imul rcx, rsi, 0x51
add rcx, r14
lea rax, [r15 + rcx*8]
add rcx, rax
test edi, edi
jle 0x18009d625
mov rdx, r10
mov r8d, edi
nop
movsx rax, byte [rdx]
lea rcx, [rcx + rcx*8]
add rcx, rax
lea rdx, [rdx + 1]
sub r8, 1
jne 0x18009d610
mov r13, qword [rsp + 0x70]
mov rdx, qword [rbp + 0x140]
xor r13, rcx
mov rcx, qword [rbp + 0x150]
mov qword [rsp + 0x70], r13
mov eax, dword [rdx + 0x1d8]
cmp eax, 1
jle 0x18009d590
mov r9, qword [rdx + 0x1e0]
lea ebx, [rax - 1]
add r9, 0x28
mov r11d, 1
movsxd rdx, dword [r9]
cmp edx, edi
jg 0x18009d6a7
lea rcx, [r11 + rsi*8]
mov r8, rdx
add rcx, rsi
lea rax, [r14 + rcx*8]
add rcx, rax
lea rax, [r15 + rcx*8]
add rcx, rax
mov rax, r12
test edx, edx
jle 0x18009d6a4
nop dword [rax]
movsx rdx, byte [rax + r10]
lea rcx, [rcx + rcx*8]
add rcx, rdx
inc rax
cmp rax, r8
jl 0x18009d690
xor r13, rcx
inc r11
add r9, 0x28
sub rbx, 1
jne 0x18009d663
mov rcx, qword [rbp + 0x150]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x70], r13
jmp 0x18009d590
mov r12, qword [rsp + 0x68]
xor edi, edi
mov rcx, qword [rbp + 0x150]
mov r15d, dword [rbp + 0x158]
jmp 0x18009d6e7
xor edi, edi
mov rsi, qword [rbp - 0x78]
test rcx, rcx
je 0x18009d6ef
call qword [rsi + 0x20]
mov rcx, qword [rbp - 0x68]
cmp r13d, 0x65
mov r14, qword [rbp + 0x140]
cmove r13d, edi
mov dword [rbp + 0x150], r13d
inc r15d
inc rcx
mov dword [rbp + 0x158], r15d
mov qword [rbp - 0x68], rcx
test r13d, r13d
jne 0x18009d771
lea rsi, [0x1801a4850]
jmp 0x18009d312
lea rdx, str.API_called_with_finalized_prepared_statement
jmp 0x18009d73b
lea rdx, str.API_called_with_NULL_prepared_statement
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.18006eed0
lea rbx, [0x1801afe14]
mov r9d, 0x11dcf
lea r8, str.misuse
mov qword [rsp + 0x20], rbx
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.18006eed0
jmp 0x18009d778
lea rbx, [0x1801afe14]
test r12, r12
je 0x18009d912
mov rdi, qword [r12]
test rdi, rdi
jne 0x18009d7bf
lea rdx, str.API_called_with_finalized_prepared_statement
lea ecx, [rdi + 0x15]
call fcn.18006eed0
mov r9d, 0x11ba8
mov qword [rsp + 0x20], rbx
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
lea ecx, [rdi + 0x15]
call fcn.18006eed0
jmp 0x18009d912
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x18009d7ce
call qword [0x1801e59a8]
cmp qword [r12 + 0xc0], 0
jle 0x18009d7e4
mov rdx, r12
mov rcx, rdi
call fcn.1800d0950
mov eax, dword [r12 + 0x44]
xor r14d, r14d
mov esi, r14d
cmp eax, 0xbdf20da3
je 0x18009d7fd
cmp eax, 0x519c2973
jne 0x18009d807
mov rcx, r12
call fcn.180141870
mov esi, eax
mov rbx, qword [r12]
mov rdx, r12
mov rcx, rbx
call fcn.180135bd0
mov rdx, qword [r12 + 0x50]
mov rcx, qword [r12 + 0x58]
test rdx, rdx
je 0x18009d82b
mov qword [rdx + 0x58], rcx
jmp 0x18009d82f
mov qword [rbx + 8], rcx
mov rcx, qword [r12 + 0x58]
test rcx, rcx
je 0x18009d842
mov rax, qword [r12 + 0x50]
mov qword [rcx + 0x50], rax
mov dword [r12 + 0x44], 0xb606c3c8
mov qword [r12], r14
test rbx, rbx
je 0x18009d899
cmp qword [rbx + 0x290], r14
je 0x18009d86d
mov rdx, r12
mov rcx, rbx
call fcn.1800d60e0
jmp 0x18009d8f4
cmp r12, qword [rbx + 0x178]
jb 0x18009d899
cmp r12, qword [rbx + 0x180]
jae 0x18009d899
mov rax, qword [rbx + 0x170]
mov qword [r12], rax
dec dword [rbx + 0x158]
mov qword [rbx + 0x170], r12
jmp 0x18009d8f4
cmp dword [0x1801e5920], r14d
je 0x18009d8eb
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18009d8b4
call qword [0x1801e59a8]
mov rcx, r12
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, r12
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18009d8f4
call qword [0x1801e59b8]
jmp 0x18009d8f4
mov rcx, r12
call qword [0x1801e5950]
cmp byte [rdi + 0x55], r14b
jne 0x18009d902
cmp esi, 0xc0a
jne 0x18009d90a
mov rcx, rdi
call fcn.1800772f0
mov rcx, rdi
call fcn.18011c490
mov rdi, qword [rsp + 0x200]
mov rbx, qword [rsp + 0x208]
mov r14, qword [rsp + 0x1f8]
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0x70]
mov eax, 0
mov rcx, qword [rbp + 0x148]
sete al
mov dword [rcx], eax
mov eax, r13d
add rsp, 0x210
pop r15
pop r13
pop r12
pop rsi
pop rbp
ret