Function at 0x140257ff0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
movaps xmmword [rsp + 0x150], xmm6
mov qword [rsp + 0x90], rdx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rax, r8
or rax, qword [rsp + 0x1d0]
je 0x1402582e1
mov rsi, rcx
mov rdi, qword [rcx + 0x148]
test rdi, rdi
je 0x1402582e1
mov ebp, r9d
mov rbx, r8
mov r12, qword [rsi]
cmp qword [rsp + 0x1d0], 0
jne 0x140258c32
mov r14, qword [rdi]
mov rcx, r14
mov edx, 0x5f
call fcn.14027a7bc
test rax, rax
je 0x140258097
mov r15, rax
mov byte [rax], 0
mov rcx, r12
mov rdx, r14
xor r8d, r8d
call fcn.1402455e0
mov byte [r15], 0x5f
test rax, rax
jne 0x14025832a
lea r9, [r12 + 0xc5]
cmp byte [r12 + 0xc5], 0
je 0x1402580c8
cmp byte [rdi + 0x3f], 0
mov eax, dword [r12 + 0xc0]
jne 0x1402589c5
mov dword [rdi + 0x28], eax
cmp eax, 1
je 0x1402582fb
bt ebp, 0x10
mov qword [rsp + 0x68], r9
jb 0x140258940
test bpl, bpl
js 0x14025860d
mov rax, qword [rdi + 0x60]
test rax, rax
je 0x140258bc3
mov rcx, qword [r12 + 0x20]
add rcx, 0x18
mov r13d, 0xffffffff
inc r13d
lea rdx, [rcx + 0x20]
cmp qword [rcx], rax
mov rcx, rdx
jne 0x1402580fc
mov rdx, qword [rdi + 0x20]
test rdx, rdx
jne 0x1402589e0
test byte [rdi + 0x30], 0x60
movzx eax, word [rdi + 0x36]
jne 0x140258abe
test ax, ax
jle 0x140258a99
mov rcx, qword [rdi + 8]
movzx edx, ax
inc edx
add rcx, 0xd
xor eax, eax
movzx r8d, byte [rcx]
add eax, r8d
dec edx
add rcx, 0x18
cmp edx, 1
ja 0x14025813e
movzx ecx, word [rdi + 0x34]
shr ecx, 0xf
add ecx, eax
shl ecx, 2
cmp ecx, 8
jb 0x14025857e
mov ax, Ordinal_41
cmp ecx, 0x100
jae 0x1402585a3
mov r8, rcx
cmp r8, 0x10
jb 0x140258aaf
mov rdx, r8
add eax, 0xa
shr rdx, 1
cmp r8, 0x1f
mov r8, rdx
ja 0x140258185
and edx, 7
lea rcx, [0x140417bb0]
add ax, word [rcx + rdx*2]
add eax, 0xfffffff6
mov word [rdi + 0x3c], ax
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140258264
lea rcx, [0x140417bb0]
movzx edx, word [rax + 0x60]
xor r8d, r8d
test rdx, rdx
je 0x140258ab7
mov r14, rbx
mov r9, qword [rax + 0x18]
mov r9, qword [r9 + 8]
mov r10, qword [rax + 8]
xor r11d, r11d
movsx rbx, word [r10 + r11*2]
test rbx, rbx
js 0x140258320
lea rbx, [rbx + rbx*2]
movzx ebx, byte [r9 + rbx*8 + 0xd]
add r8d, ebx
inc r11
cmp rdx, r11
jne 0x1402581df
shl r8d, 2
cmp r8d, 8
jb 0x140258c75
mov dx, Ordinal_41
cmp r8d, 0x100
jae 0x140258c93
mov r9, r8
mov rbx, r14
mov r8, r9
cmp r9, 0x10
jb 0x140258242
add edx, 0xa
mov r8, r9
shr r8, 1
cmp r9, 0x1f
mov r9, r8
ja 0x140258230
and r8d, 7
add dx, word [rcx + r8*2]
add edx, 0xfffffff6
mov r9, qword [rsp + 0x68]
mov word [rax + 0x5c], dx
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1402581bd
cmp byte [r9], 0
je 0x140258346
mov rdx, qword [rdi]
mov rcx, qword [rdi + 0x60]
add rcx, 8
mov r8, rdi
call fcn.140255740
test rax, rax
jne 0x140258bce
mov qword [rsi + 0x148], 0
or byte [r12 + 0x2c], 1
mov rcx, qword [rdi]
lea rdx, str.sqlite_sequence
call fcn.14029ba40
test eax, eax
je 0x140258339
cmp qword [rsp + 0x1d0], 0
jne 0x1402582e1
cmp byte [rdi + 0x3f], 0
jne 0x1402582e1
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
cmovne rbx, rax
mov eax, dword [rbx]
sub eax, dword [rsi + 0x100]
add eax, 0xd
mov dword [rdi + 0x40], eax
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x140258304
call fcn.140278ca0
int3
or byte [rdi + 0x30], 1
jmp 0x1402580c8
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebx, 1
jmp 0x1402581f7
cmp byte [rax + 0x3f], 1
jne 0x140258097
jmp 0x140259115
mov rax, qword [rdi + 0x60]
mov qword [rax + 0x68], rdi
jmp 0x1402582b2
mov r15, qword [rsi + 0x10]
test r15, r15
je 0x140258cc5
movsxd rax, dword [r15 + 0x90]
cmp dword [r15 + 0x94], eax
jle 0x14025855e
lea ecx, [rax + 1]
mov dword [r15 + 0x90], ecx
mov rcx, qword [r15 + 0x88]
lea rax, [rax + rax*2]
mov byte [rcx + rax*8], 0x7a
xorps xmm0, xmm0
movups xmmword [rcx + rax*8 + 1], xmm0
mov qword [rcx + rax*8 + 0x10], 0
cmp byte [rdi + 0x3f], 0
lea rax, str.table
lea r14, str.view
cmove r14, rax
lea rax, str.TABLE
lea r8, str.VIEW
cmove r8, rax
cmp qword [rsp + 0x1d0], 0
mov qword [rsp + 0x80], rbx
jne 0x140258f8a
lea rcx, [rsi + 0x110]
test ebp, ebp
cmove rcx, rbx
mov rdx, qword [rcx]
mov rax, qword [rsi + 0x100]
mov r9d, edx
sub r9d, eax
cmp byte [rdx], 0x3b
je 0x1402583f6
add r9d, dword [rcx + 8]
mov qword [rsp + 0x20], rax
lea rdx, str.CREATE__s__.s
mov rcx, r12
call fcn.1401b3480
mov rbp, rax
mov eax, dword [rsi + 0x88]
mov ecx, dword [rsi + 0x8c]
mov rdx, qword [rdi]
mov r8, qword [r12 + 0x20]
movsxd rbx, r13d
shl rbx, 5
mov r8, qword [r8 + rbx]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
lea rdx, str.UPDATE__Q.sqlite_master_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
mov rcx, rsi
mov r9, r14
call fcn.1401decb0
test rbp, rbp
je 0x140258465
mov rcx, r12
mov rdx, rbp
call fcn.140245f10
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + rbx + 0x18]
mov eax, dword [rax]
inc eax
movsxd rdx, dword [rcx + 0x90]
cmp dword [rcx + 0x94], edx
jle 0x140258542
lea r8d, [rdx + 1]
mov dword [rcx + 0x90], r8d
mov rcx, qword [rcx + 0x88]
lea rdx, [rdx + rdx*2]
mov dword [rcx + rdx*8], reloc.WS2_32.dll_WSASetLastError
mov dword [rcx + rdx*8 + 4], r13d
mov dword [rcx + rdx*8 + 8], 1
mov dword [rcx + rdx*8 + 0xc], eax
mov qword [rcx + rdx*8 + 0x10], 0
test byte [rdi + 0x30], 8
jne 0x140258511
mov r8, qword [rdi]
lea rdx, str.tbl_name_q_AND_type_trigger
mov rcx, r12
call fcn.1401b3480
mov rcx, r15
mov edx, r13d
mov r8, rax
xor r9d, r9d
call fcn.1401dee90
test byte [rdi + 0x30], 0x60
jne 0x140258e22
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
mov rbx, qword [rsp + 0x80]
je 0x1402582b2
jmp 0x14025826e
cmp byte [rsi + 0x124], 0
jne 0x1402584c9
mov rax, qword [r12 + 0x20]
mov rcx, qword [rax + rbx + 0x18]
cmp qword [rcx + 0x68], 0
jne 0x1402584c9
add rax, rbx
mov r8, qword [rax]
lea rdx, str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
mov rcx, rsi
call fcn.1401decb0
jmp 0x1402584c9
mov dword [rsp + 0x20], eax
mov edx, reloc.WS2_32.dll_WSASetLastError
mov r8d, r13d
mov r9d, 1
call fcn.1401cbb10
jmp 0x1402584c3
mov dword [rsp + 0x20], 0
mov rcx, r15
mov edx, 0x7a
xor r8d, r8d
xor r9d, r9d
call fcn.1401cbb10
jmp 0x140258391
test rcx, rcx
je 0x1402589d9
mov ax, Ordinal_41
mov rdx, rcx
add eax, 0xfffffff6
mov ecx, 0
test rdx, rdx
je 0x14025858b
add rdx, rdx
jmp 0x140258194
mov ax, Ordinal_41
mov r8, rcx
add eax, 0x28
shr r8, 4
cmp rcx, 0xfff
mov rcx, r8
jbe 0x140258178
jmp 0x1402585aa
mov rbx, qword [r13 + 0x40]
mov r14, qword [rbx + rcx*8]
mov qword [rsp + 0x78], r14
mov rbx, qword [rbx + r11*8]
mov qword [rsp + 0x70], rbx
xor r14d, r14d
jmp 0x1402585e1
inc r14
mov rbx, qword [rsp + 0x70]
movzx ebx, byte [rbx + r14]
mov r15, qword [rsp + 0x78]
movzx r15d, byte [r15 + r14]
cmp bl, r15b
jne 0x140259134
test rbx, rbx
jne 0x1402585de
dec word [r13 + 0x60]
jmp 0x14025875c
mov ecx, dword [rdi + 0x30]
test cl, 8
jne 0x140258c1c
test cl, 4
je 0x140258c61
or ecx, 0x280
mov dword [rdi + 0x30], ecx
mov rax, qword [rsi]
mov r10, qword [rsi + 0x10]
mov qword [rsp + 0x60], rax
test byte [rax + 0xc8], 2
jne 0x14025868a
movzx eax, word [rdi + 0x36]
test ax, ax
jle 0x140258681
mov ecx, 8
xor edx, edx
jmp 0x140258670
mov r9d, dword [r8 + rcx]
test r9b, 0xf
je 0x140258e11
inc rdx
movsx r8, ax
add rcx, 0x18
cmp rdx, r8
jge 0x14025867e
mov r8, qword [rdi + 8]
test byte [r8 + rcx + 0xa], 1
je 0x140258660
jmp 0x140258652
mov ecx, dword [rdi + 0x30]
or ecx, 0x800
mov dword [rdi + 0x30], ecx
movsxd rax, dword [rsi + 0xc0]
test rax, rax
je 0x1402586b9
mov rcx, qword [r10]
cmp byte [rcx + 0x67], 0
jne 0x140259109
lea rax, [rax + rax*2]
shl rax, 3
add rax, qword [r10 + 0x88]
mov dword [rax + 0xc], 2
movsx rax, word [rdi + 0x34]
test rax, rax
mov qword [rsp + 0x80], rbx
jns 0x140258e7a
mov r13, qword [rdi + 0x10]
test r13, r13
je 0x140258e00
mov eax, dword [r13 + 0x64]
and eax, 3
cmp eax, 2
jne 0x140258e08
movzx edx, word [r13 + 0x5e]
mov eax, 1
cmp dx, 2
jb 0x14025876d
mov ecx, 1
mov qword [rsp + 0x58], r10
test eax, eax
jle 0x14025872c
mov r8, qword [r13 + 8]
movzx r9d, word [r8 + rcx*2]
mov r10d, eax
xor r11d, r11d
cmp word [r8 + r11*2], r9w
je 0x1402585c3
inc r11
cmp r11, r10
jne 0x140258719
mov rdx, qword [r13 + 0x40]
mov r8, qword [rdx + rcx*8]
movsxd r9, eax
mov qword [rdx + r9*8], r8
mov rdx, qword [r13 + 0x38]
mov r8b, byte [rdx + rcx]
mov byte [rdx + r9], r8b
mov rdx, qword [r13 + 8]
movzx r8d, word [rdx + rcx*2]
inc eax
mov word [rdx + r9*2], r8w
movzx edx, word [r13 + 0x5e]
mov r10, qword [rsp + 0x58]
inc rcx
movzx r8d, dx
cmp rcx, r8
jb 0x140258706
mov word [r13 + 0x5e], ax
mov eax, dword [r13 + 0x64]
mov ecx, eax
or ecx, 0x20
mov dword [r13 + 0x64], ecx
mov rcx, qword [rsp + 0x60]
test byte [rcx + 0xc8], 2
jne 0x140258794
or eax, 0x28
mov dword [r13 + 0x64], eax
movzx r15d, word [r13 + 0x5e]
mov word [r13 + 0x60], r15w
test r10, r10
je 0x1402587cb
movsxd rax, dword [r13 + 0x58]
test rax, rax
je 0x1402587cb
mov rcx, qword [r10]
cmp byte [rcx + 0x67], 0
jne 0x1402590fd
lea rax, [rax + rax*2]
shl rax, 3
add rax, qword [r10 + 0x88]
mov byte [rax], 9
mov eax, dword [rdi + 0x28]
mov dword [r13 + 0x58], eax
mov r14, qword [rdi + 0x10]
test r14, r14
je 0x1402587f7
mov ecx, r15d
mov eax, dword [r14 + 0x64]
and eax, 3
cmp eax, 2
jne 0x140258cfc
mov r14, qword [r14 + 0x28]
test r14, r14
jne 0x1402587de
movsx rax, word [rdi + 0x36]
test rax, rax
mov rbx, qword [rsp + 0x80]
jle 0x140258aa0
mov rcx, qword [r13 + 8]
xor edx, edx
xor r8d, r8d
jmp 0x140258839
mov r9, qword [rdi + 8]
lea r10, [rdx + rdx*2]
mov r9b, byte [r9 + r10*8 + 0x12]
and r9b, 0x20
cmp r9b, 1
adc r8d, 0
inc rdx
cmp rdx, rax
je 0x140258859
mov r9d, r15d
mov r10, rcx
test r9d, r9d
jle 0x140258818
dec r9d
movsx r11, word [r10]
add r10, 2
mov r11d, r11d
cmp rdx, r11
jne 0x14025883f
jmp 0x140258831
add r8d, r15d
mov rcx, qword [rsp + 0x60]
mov rdx, r13
call fcn.1401defc0
test eax, eax
mov r9, qword [rsp + 0x68]
jne 0x1402580e0
movzx edx, word [rdi + 0x36]
test dx, dx
jle 0x1402588e1
xor eax, eax
lea rcx, str.BINARY
jmp 0x1402588bd
mov r9, qword [rdi + 8]
lea r10, [rax + rax*2]
test byte [r9 + r10*8 + 0x12], 0x20
jne 0x1402588b1
movsxd r15, r15d
mov word [r8 + r15*2], ax
mov rdx, qword [r13 + 0x40]
mov qword [rdx + r15*8], rcx
inc r15d
movzx edx, word [rdi + 0x36]
inc rax
movsx r8, dx
cmp rax, r8
jge 0x1402588e1
mov r8, qword [r13 + 8]
mov r9d, r15d
mov r10, r8
test r9d, r9d
jle 0x14025888a
dec r9d
movsx r11, word [r10]
add r10, 2
mov r11d, r11d
cmp rax, r11
jne 0x1402588c7
jmp 0x1402588b1
movzx eax, word [r13 + 0x60]
test rax, rax
je 0x140258aa8
mov rdx, qword [r13 + 8]
mov r8, qword [r13 + 0x18]
inc rax
xor ecx, ecx
movsx r9, word [rdx + rax*2 - 4]
test r9, r9
js 0x140258926
cmp r9w, 0x3e
ja 0x140258926
mov r10, qword [r8 + 8]
lea r11, [r9 + r9*2]
movzx r10d, word [r10 + r11*8 + 0x12]
and r10d, 0x20
jne 0x140258926
bts rcx, r9
dec rax
cmp rax, 1
ja 0x1402588fc
not rcx
mov qword [r13 + 0x68], rcx
mov r9, qword [rsp + 0x68]
jmp 0x1402580e0
or byte [rdi + 0x32], 1
cmp word [rdi + 0x36], 0
jle 0x1402580d7
mov eax, reloc.WS2_32.dll_select
xor ecx, ecx
mov rdx, qword [rdi + 8]
mov r8d, dword [rdx + rax - 0xa]
mov r9d, r8d
shr r9d, 4
and r9d, 0xf
cmp r9d, 1
je 0x140258df6
test r9d, r9d
je 0x140258bdb
test byte [rdx + rax], 1
mov r9, qword [rsp + 0x68]
jne 0x14025899e
inc rcx
movsx rdx, word [rdi + 0x36]
add rax, 0x18
cmp rcx, rdx
jl 0x140258956
jmp 0x1402580d7
movsx r9, word [rdi + 0x34]
mov r9d, r9d
cmp rcx, r9
mov r9, qword [rsp + 0x68]
je 0x140258988
test r8b, 0xf
jne 0x140258988
or r8d, 2
mov dword [rdx + rax - 0xa], r8d
or byte [rdi + 0x31], 8
jmp 0x140258988
test eax, eax
jne 0x140258c3d
mov dword [rdi + 0x28], 0
jmp 0x1402580c8
xor eax, eax
jmp 0x1402581a5
xorps xmm0, xmm0
lea rcx, [rsp + 0x98]
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rcx + 0x30], 0
lea rax, [rsp + 0xd0]
movaps xmmword [rax], xmm0
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax + 0x20], xmm0
movaps xmmword [rax + 0x30], xmm0
movaps xmmword [rax + 0x40], xmm0
movaps xmmword [rax + 0x50], xmm0
movaps xmmword [rax + 0x60], xmm0
mov dword [rax], 1
mov r8, qword [rdi]
mov qword [rax + 0x18], r8
mov qword [rax + 0x28], rdi
mov dword [rax + 0x4c], 0xffffffff
mov r8, qword [rdi + 0x60]
mov r9, qword [rsi]
mov r9, qword [r9 + 0x20]
xor r10d, r10d
cmp r8, qword [r9 + 0x38]
setne r10b
mov qword [rcx], rsi
mov qword [rcx + 8], rax
shl r10d, 0x12
or r10d, 0x10004
mov dword [rcx + 0x28], r10d
call fcn.140269ef0
mov r9, qword [rsp + 0x68]
cmp dword [rsi + 0x30], 0
je 0x140258118
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x140258a87
mov rcx, r12
call fcn.140256bc0
mov qword [rdi + 0x20], 0
mov r9, qword [rsp + 0x68]
jmp 0x140258118
xor eax, eax
jmp 0x140258150
xor r8d, r8d
jmp 0x140258859
xor ecx, ecx
jmp 0x14025892f
mov rdx, r8
jmp 0x140258194
xor edx, edx
jmp 0x140258253
test ax, ax
jle 0x140258ae6
xor r14d, r14d
xorps xmm6, xmm6
xor r15d, r15d
mov dword [rsp + 0x60], 0
jmp 0x140258b29
cmp dword [rsp + 0x60], 0
mov r9, qword [rsp + 0x68]
jne 0x140258126
lea rdx, str.must_have_at_least_one_non_generated_column
mov rcx, rsi
call fcn.1401b3310
jmp 0x1402582e1
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x140258b45
cmp dword [rcx], eax
jl 0x140258b45
dec eax
shl rax, 5
mov r9, qword [rcx + rax + 8]
jmp 0x140258b48
inc dword [rsp + 0x60]
inc r15
movsx rax, word [rdi + 0x36]
add r14, 0x18
cmp r15, rax
jge 0x140258ad6
mov rax, qword [rdi + 8]
test byte [rax + r14 + 0x12], 0x60
je 0x140258b14
movzx eax, word [rax + r14 + 0x10]
test eax, eax
je 0x140258b45
cmp byte [rdi + 0x3f], 0
je 0x140258afa
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, rdi
mov r8d, 8
call fcn.1401de720
test eax, eax
je 0x140258b18
cmp byte [r12 + 0x67], 0
je 0x140258b85
xor r9d, r9d
mov r8, qword [rdi + 8]
add r8, r14
mov rcx, rsi
mov rdx, rdi
call fcn.1401de910
jmp 0x140258b18
mov edx, Ordinal_73
mov rcx, r12
call fcn.140246360
test rax, rax
je 0x140258b6e
mov r9, rax
movups xmmword [rax], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax + 0x10], xmm6
mov qword [rax + 0x40], 0
mov byte [rax], reloc.WS2_32.dll_WSAGetLastError
mov word [rax + 0x32], 0xffff
mov dword [rax + 0x28], 1
jmp 0x140258b71
mov r13d, 0xffff8000
jmp 0x14025810b
mov rcx, r12
call fcn.140357490
jmp 0x1402582e1
test byte [rdx + rax], 4
mov rbx, qword [rdx + rax - 0x12]
je 0x140258c05
mov rcx, rbx
call fcn.14029c0d0
add rax, rbx
inc rax
mov r8, qword [rdi]
mov qword [rsp + 0x20], rax
lea rdx, str.unknown_datatype_for__s._s:___s_
jmp 0x140258c0f
mov r8, qword [rdi]
lea rdx, str.missing_datatype_for__s._s
mov rcx, rsi
mov r9, rbx
call fcn.1401b3310
jmp 0x140258c4c
lea rdx, str.AUTOINCREMENT_not_allowed_on_WITHOUT_ROWID_tables
jmp 0x140258c44
lea r9, [r12 + 0xc5]
jmp 0x1402580c8
cmp byte [r12 + 0xc5], 0
je 0x140258c25
lea rdx, [0x1403da166]
mov rcx, rsi
call fcn.1401b3310
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140278ca0
jmp 0x140258304
mov r8, qword [rdi]
lea rdx, str.PRIMARY_KEY_missing_on_table__s
mov rcx, rsi
call fcn.1401b3310
jmp 0x140258c4c
test r8, r8
je 0x140258c89
add r8, r8
mov dx, 0x1e
mov rbx, r14
jmp 0x140258242
xor edx, edx
mov rbx, r14
jmp 0x14025824e
mov dx, Ordinal_41
mov r9, r8
mov rbx, r14
add edx, 0x28
shr r9, 4
cmp r8, 0xfff
mov r8, r9
jbe 0x140258227
jmp 0x140258c9d
mov rax, qword [rsi]
test byte [rax + 0x60], 8
jne 0x140258ccf
mov byte [rsi + 0x23], 1
jmp 0x140258ccf
cmp qword [rsi + 0xa0], 0
je 0x140258cb6
mov rcx, rsi
call fcn.1401b3580
mov r15, rax
test rax, rax
jne 0x140258353
jmp 0x1402582e1
movzx eax, word [r14 + 0x5e]
mov word [r14 + 0x60], ax
mov rcx, qword [rsp + 0x70]
jmp 0x1402587ee
mov qword [rsp + 0x70], rcx
test r15d, r15d
je 0x140258ce8
movzx eax, word [r14 + 0x5e]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x58], 0
xor eax, eax
mov rcx, r14
mov edx, dword [rsp + 0x78]
mov r8, r13
mov ebx, eax
mov r9d, eax
call fcn.14036b2c0
xor eax, 1
add dword [rsp + 0x58], eax
inc ebx
mov eax, ebx
cmp r15d, ebx
jne 0x140258d19
cmp dword [rsp + 0x58], 0
je 0x140258ce8
movzx eax, word [r14 + 0x5e]
mov r8d, dword [rsp + 0x58]
add r8d, eax
mov rcx, qword [rsp + 0x60]
mov rdx, r14
call fcn.1401defc0
test eax, eax
mov rbx, qword [rsp + 0x80]
mov r9, qword [rsp + 0x68]
jne 0x1402580e0
test r15d, r15d
mov rcx, qword [rsp + 0x70]
je 0x1402587ee
movzx eax, word [r14 + 0x5e]
mov dword [rsp + 0x58], eax
xor ebx, ebx
jmp 0x140258dae
or byte [r14 + 0x65], 4
inc dword [rsp + 0x58]
mov rax, rbx
inc rax
mov rcx, qword [rsp + 0x70]
mov rbx, rax
cmp rcx, rax
je 0x1402587ee
movzx edx, word [r14 + 0x5e]
mov rcx, r14
mov r8, r13
mov r9d, ebx
call fcn.14036b2c0
test eax, eax
jne 0x140258d97
mov rax, qword [r13 + 8]
movzx eax, word [rax + rbx*2]
mov rcx, qword [r14 + 8]
movsxd rdx, dword [rsp + 0x58]
mov word [rcx + rdx*2], ax
mov rax, qword [r13 + 0x40]
mov rax, qword [rax + rbx*8]
mov rcx, qword [r14 + 0x40]
mov qword [rcx + rdx*8], rax
mov rax, qword [r13 + 0x38]
cmp byte [rax + rbx], 0
jne 0x140258d8e
jmp 0x140258d93
mov byte [rdx + rax - 6], 0x41
jmp 0x14025897d
xor r13d, r13d
jmp 0x1402586ec
mov r13, qword [r13 + 0x28]
jmp 0x1402586d3
or r9d, 2
mov dword [r8 + rcx], r9d
movzx eax, word [rdi + 0x36]
jmp 0x140258660
mov r9, qword [rdi]
mov rax, qword [r12 + 0x20]
mov r8, qword [rax + rbx]
lea rdx, str.SELECTFROM__w_.__w_
mov rcx, r12
call fcn.1401b3480
mov r14, rax
mov dword [rsp + 0x20], 0
mov rcx, r15
mov edx, __WSAFDIsSet
mov r8d, 1
xor r9d, r9d
call fcn.140364e30
mov rcx, r15
mov edx, eax
mov r8, r14
mov r9d, 0xfffffffa
call fcn.1401d79c0
jmp 0x1402584f6
xor eax, eax
jmp 0x140258eb2
mov r15, r10
mov r14, rbx
movaps xmm0, xmmword [0x1403d4b30]
movaps xmmword [rsp + 0xd0], xmm0
mov rcx, qword [rdi + 8]
lea rax, [rax + rax*2]
mov rcx, qword [rcx + rax*8]
mov qword [rsp + 0xd0], rcx
test rcx, rcx
je 0x140258e76
call fcn.14029c0d0
and eax, 0x3fffffff
lea r8, [rsp + 0xd0]
mov dword [r8 + 8], eax
mov rcx, qword [rsp + 0x60]
mov edx, reloc.WS2_32.dll_gethostname
xor r9d, r9d
call fcn.1401d7390
mov rcx, qword [rsi]
mov rdx, rax
call fcn.140277430
test rax, rax
je 0x140258f58
cmp byte [rsi + 0x124], 2
jb 0x140258f10
mov rcx, qword [rsi + 0x188]
test rcx, rcx
je 0x140258f10
lea r8, [rdi + 0x34]
mov rdx, qword [rax + 8]
cmp qword [rcx], r8
je 0x140258f0d
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140258efd
jmp 0x140258f10
mov qword [rcx], rdx
mov cl, byte [rsi + 0x122]
mov byte [rax + 0x18], cl
mov word [rdi + 0x34], 0xffff
movzx ecx, byte [rdi + 0x3e]
xor ebx, ebx
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x50], 2
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.1401cd4d0
cmp dword [rsi + 0x30], ebx
je 0x140258f64
and byte [rdi + 0x30], 0x7f
mov rbx, r14
jmp 0x140258936
mov r13, qword [rdi + 0x10]
test r13, r13
je 0x140258f7f
mov eax, dword [r13 + 0x64]
and eax, 3
cmp eax, 2
je 0x140258f82
mov r13, qword [r13 + 0x28]
jmp 0x140258f68
xor r13d, r13d
mov r10, r15
jmp 0x140258772
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xf0], rax
movaps xmm0, xmmword [0x1403d4b30]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
cmp byte [rsi + 0x124], 0
je 0x140258fcb
mov dword [rsi + 0x18], 1
inc dword [rsi + 0x30]
jmp 0x1402582e1
mov r8d, dword [rsi + 0x34]
mov ecx, dword [rsi + 0x38]
lea eax, [r8 + 1]
mov dword [rsi + 0x34], eax
lea ebp, [rcx + 1]
mov qword [rsp + 0x60], rcx
lea eax, [rcx + 3]
mov dword [rsp + 0x78], eax
mov dword [rsi + 0x38], eax
mov rax, qword [rsi + 0xa0]
test rax, rax
cmove rax, rsi
mov byte [rax + 0x21], 1
mov r9d, dword [rsi + 0x8c]
mov dword [rsp + 0x20], r13d
mov rcx, r15
mov edx, reloc.WS2_32.dll_WSAStartup
mov qword [rsp + 0x58], r8
call fcn.140364e30
movsxd rbx, dword [r15 + 0x90]
test rbx, rbx
jle 0x140259040
mov rax, qword [r15 + 0x88]
lea rcx, [rbx + rbx*2]
mov word [rax + rcx*8 - 0x16], 0x10
mov ebx, dword [r15 + 0x90]
lea eax, [rbx + 1]
mov dword [rsp + 0x20], eax
mov rcx, r15
mov edx, ntohl
mov r8d, ebp
xor r9d, r9d
call fcn.140364e30
cmp dword [rsi + 0x30], 0
jne 0x1402582e1
mov rcx, rsi
mov rdx, qword [rsp + 0x1d0]
mov r8b, 0x41
call fcn.14036af10
test rax, rax
je 0x1402582e1
movzx ecx, word [rax + 0x36]
mov word [rdi + 0x38], cx
mov word [rdi + 0x36], cx
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov word [rax + 0x36], 0
mov qword [rax + 8], 0
cmp qword [r12 + 0x2e8], 0
je 0x1402590f6
mov rcx, r12
mov rdx, rax
call fcn.140256770
lea r8, [rsp + 0xd0]
mov byte [r8], reloc.WS2_32.dll_listen
mov dword [r8 + 4], ebp
mov dword [r8 + 8], 0
xor eax, eax
mov qword [r8 + 0x18], rax
mov qword [r8 + 0xc], rax
mov rcx, rsi
mov rdx, qword [rsp + 0x1d0]
call fcn.1401d0c30
cmp dword [rsi + 0x30], 0
jne 0x1402582e1
jmp 0x140259165
dec dword [rax + 0x2c]
jne 0x1402590b8
jmp 0x1402590ad
lea rax, [0x14044c9a0]
jmp 0x1402587c8
lea rax, [0x14044c9a0]
jmp 0x1402586b2
mov rcx, r12
mov rdx, rax
mov r8, r14
call fcn.14036ae10
test eax, eax
je 0x140258097
or byte [rdi + 0x31], 0x10
jmp 0x140258097
mov qword [rsp + 0x88], r10
lea r10, [0x14040f170]
mov bl, byte [rbx + r10]
lea r10, [0x14040f170]
cmp bl, byte [r15 + r10]
mov r10, qword [rsp + 0x88]
je 0x1402585de
jmp 0x140258724
mov rax, qword [rsp + 0x60]
add eax, 2
mov qword [rsp + 0x60], rax
xor eax, eax
mov dword [rsp + 0x20], eax
mov rcx, r15
mov edx, 0x44
mov r8d, ebp
xor r9d, r9d
call fcn.140364e30
mov rax, qword [r15 + 0x18]
mov byte [rax + 0x1f], 0
mov rax, qword [r15 + 0x18]
xor ecx, ecx
mov dword [rax + 0x28], ecx
mov eax, dword [r15 + 0x90]
mov rcx, qword [r15]
lea rdx, [0x14044c9a0]
cmp byte [rcx + 0x67], 0
mov qword [rsp + 0x70], rdx
mov rcx, rdx
jne 0x1402591cd
movsxd rcx, ebx
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, qword [r15 + 0x88]
mov dword [rcx + 8], eax
mov r8d, dword [rsp + 0xd4]
xor eax, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
mov rcx, r15
mov edx, recv
xor r9d, r9d
call fcn.140364e30
mov dword [rsp + 0x88], eax
mov r8d, dword [rsp + 0xdc]
mov r9d, dword [rsp + 0xe0]
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov rcx, r15
mov edx, WSASetLastError
call fcn.140364e30
mov rcx, r15
mov rdx, rdi
xor r8d, r8d
call fcn.1401de9e0
mov dword [rsp + 0x20], ebx
mov rcx, r15
mov edx, reloc.WLDAP32.dll_Ordinal_127
mov rbx, qword [rsp + 0x58]
mov r8d, ebx
mov ebp, dword [rsp + 0x78]
mov r9d, ebp
call fcn.140364e30
mov dword [rsp + 0x20], ebp
mov rcx, r15
mov edx, 0x80
mov r8d, ebx
mov r9, qword [rsp + 0x60]
call fcn.140364e30
xor eax, eax
mov dword [rsp + 0x20], eax
mov rcx, r15
mov edx, 9
xor r8d, r8d
mov r9d, dword [rsp + 0x88]
mov ebx, r9d
call fcn.140364e30
mov eax, dword [r15 + 0x90]
mov rcx, qword [r15]
cmp byte [rcx + 0x67], 0
jne 0x1402592ac
movsxd rcx, ebx
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, qword [r15 + 0x88]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 8], eax
mov dword [rsp + 0x20], 0
mov rcx, r15
mov edx, 0x7a
mov r8, qword [rsp + 0x58]
xor r9d, r9d
call fcn.140364e30
mov rcx, r12
mov rdx, rdi
call fcn.14036aff0
jmp 0x14025840a