Function at 0x140103370
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c8]
sub rsp, 0x3c8
mov r14, rcx
xor edi, edi
mov dword [rbp + 0x328], edi
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1403f3e54], eax
jg 0x140104a8e
movabs rax, 0x2f2f3a70747468
mov qword [rbp + 0x90], rax
movsd xmm0, qword [str.https:__]
movsd qword [rbp + 0x60], xmm0
movzx eax, byte [0x14033b678]
mov byte [rbp + 0x68], al
mov ecx, reloc.WS2_32.dll_sendto
call fcn.14022d248
mov r13, rax
mov qword [rbp + 0x10], rax
lea rbx, [rax + 0x14]
mov qword [rbp + 0x20], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r13], xmm0
mov dword [r13 + 0x10], eax
mov qword [rbp + 0x18], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [r13], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [r13 + 4], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [r13 + 8], eax
mov ecx, dword [r13]
sub ecx, dword [r13 + 4]
mov dword [r13 + 0xc], ecx
add eax, dword [r13]
mov dword [r13 + 0x10], eax
lea rdx, [0x1403efbc8]
lea rcx, [rbp - 0x68]
call fcn.140108300
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x14033ba90]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
mov r15, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x50]
cmp r15, rsi
jae 0x1401034a2
lea rax, [r15 + 1]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
cmp rsi, 8
cmovae rax, qword [rbp - 0x68]
mov dword [rax + r15*2], 0x5c
jmp 0x14010357d
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, r15
cmp rax, 1
jb 0x140104ac4
lea r12, [r15 + 1]
mov rcx, r12
or rcx, 7
cmp rcx, rbx
ja 0x1401034eb
mov rdx, rsi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rsi, rax
ja 0x1401034eb
lea rax, [rsi + rdx]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x68]
call fcn.140007df0
mov r14, rax
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rbx
add r15, r15
mov r8, r15
mov rcx, rax
cmp rsi, 8
jb 0x14010355d
mov rbx, qword [rbp - 0x68]
mov rdx, rbx
call fcn.1402a1390
mov dword [r14 + r15], 0x5c
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x140103553
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140104aca
mov rbx, rcx
mov rcx, rbx
call fcn.14022d284
jmp 0x14010356e
lea rdx, [rbp - 0x68]
call fcn.1402a1390
mov dword [r14 + r15], 0x5c
mov qword [rbp - 0x68], r14
mov r14, qword [rbp + 0x310]
lea rbx, [r13 + 0x14]
lea rax, [0x14033b67c]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
lea rax, str.:08x
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 6
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], rbx
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x80], xmm0
lea rax, [rbp + 0x70]
mov qword [rsp + 0x70], rax
lea rax, [0x140119550]
mov qword [rsp + 0x78], rax
mov qword [rbp], reloc.WS2_32.dll_ntohs
lea rax, [rsp + 0x70]
mov qword [rbp + 8], rax
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
movaps xmm1, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm1
lea r8, [rbp]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14010cf80
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
lea rcx, [rbp - 0x68]
call fcn.140108f00
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14010365b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140103656
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104ad0
call fcn.14022d284
mov qword [rbp + 0x28], rdi
cmp qword [0x1403efd68], 0
jne 0x140103882
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movdqa xmm1, xmmword [0x14033ba90]
movdqu xmmword [rbp - 0x38], xmm1
mov byte [rbp - 0x48], 0
lea rdx, [rbp - 0x48]
mov ecx, recvfrom
call fcn.140106800
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rsp + 0x64]
shl rcx, 0x20
mov eax, dword [rsp + 0x60]
or rcx, rax
movabs rax, 0x48c273950000
sub rcx, rax
movabs rax, 0xcccccccccccccccd
mul rcx
shr rdx, 3
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
mov qword [rbp], rcx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1401036f0
mov qword [rbp + 8], rax
mov qword [rsp + 0x70], rdx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rsp + 0x70], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rbp + 0xb0], rdi
lea rsi, vtable.fmt::v10::basic_memory_buffer_char__500__class_std::allocator_char__.0
mov qword [rbp + 0xa0], rsi
lea rax, [rbp + 0xc0]
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb8], 0x1f4
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp]
movdqa xmmword [rbp], xmm1
mov r9, rdi
lea r8, [rsp + 0x70]
lea rdx, [rbp]
lea rcx, [rbp + 0xa0]
call fcn.140009340
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
mov r8, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xa8]
lea rcx, [rbp + 0x70]
call fcn.14000b280
nop
mov qword [rbp + 0xa0], rsi
lea rax, [rbp + 0xc0]
mov rcx, qword [rbp + 0xa8]
cmp rcx, rax
je 0x1401037ed
mov rdx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401037e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104ad6
call fcn.14022d284
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0x10
jb 0x14010382e
inc rdx
mov rcx, qword [0x1403efd58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140103829
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104adc
call fcn.14022d284
movups xmm0, xmmword [rbp + 0x70]
movups xmmword [0x1403efd58], xmm0
movups xmm1, xmmword [rbp + 0x80]
movups xmmword [0x1403efd68], xmm1
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140103882
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010387d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104ae2
call fcn.14022d284
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14010389d
mov rcx, qword [r14]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140104638
lea r14, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r14, qword [rbp - 0x68]
mov esi, dword [rbp - 0x58]
test r14, r14
je 0x140104a0c
test esi, esi
jne 0x1401038e6
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x1401038d3
test esi, esi
je 0x140104a0c
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, esi
mov r8, r14
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x140104a0c
lea ebx, [rax + 1]
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.140108440
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, r14
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x140104a0c
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140103977
movsxd rdx, eax
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.140108440
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
lea r9, str.win32_none
mov r8d, 2
lea rdx, [rbp + 0x28]
call fcn.1400f0710
lea r15, str.unopened
lea r12, [0x14033b564]
test eax, eax
jne 0x1401045c8
lea r12, [0x1403efd58]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r12, qword [0x1403efd58]
mov r14d, edi
mov qword [rbp - 0x70], rdi
mov r13, qword [rbp + 0x28]
test r13, r13
jne 0x140103a37
lea r8, str.NULL
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14002c7b0
lea r12, [0x14033b564]
mov qword [rsp + 0x20], r12
mov r9d, 0x22387
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14002c7b0
jmp 0x1401045c8
movzx eax, byte [r13 + 0x71]
cmp al, 0x76
je 0x140103a56
cmp al, 0xba
je 0x140103a51
cmp al, 0x6d
je 0x140103a51
lea r8, str.invalid
jmp 0x1401039f7
mov r8, r15
jmp 0x1401039f7
test r12, r12
je 0x140103a08
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140103a70
call qword [0x140361580]
nop word [rax + rax]
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9d, pe_nt_image_headers64
mov r8d, 0xffffffff
mov rdx, r12
mov rcx, r13
call fcn.1400adea0
mov r15d, eax
test eax, eax
je 0x140103b0e
cmp byte [r13 + 0x67], 0
jne 0x140103b1e
cmp eax, 0x201
jne 0x140103abc
mov ecx, r14d
inc r14d
cmp ecx, 0x19
jge 0x140103b0e
jmp 0x140103a70
cmp r15d, 0x11
jne 0x140103b0e
cmp dword [r13 + 0x48], 0
jne 0x140103b00
mov esi, edi
cmp dword [r13 + 0x28], edi
jle 0x140103b00
mov rbx, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r13 + 0x20]
mov rcx, qword [rax + rbx + 0x18]
test byte [rcx + 0x72], 8
je 0x140103af4
call fcn.140094760
inc esi
add rbx, 0x20
cmp esi, dword [r13 + 0x28]
jl 0x140103ae0
mov eax, r14d
inc r14d
test eax, eax
je 0x140103a70
cmp byte [r13 + 0x67], 0
jne 0x140103b1e
test r15d, r15d
jne 0x140103b1e
mov ebx, edi
jmp 0x140103b2b
mov edx, r15d
mov rcx, r13
call fcn.140029e10
mov ebx, eax
mov dword [r13 + 0x278], edi
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140103b41
call qword [0x140361590]
mov r12, qword [rbp - 0x70]
test ebx, ebx
jne 0x14010451c
test r12, r12
je 0x1401045ba
mov r15d, 0x202
nop dword [rax]
mov esi, edi
cmp qword [r12], rsi
je 0x1401044e1
mov r13, qword [r12]
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140103b7f
call qword [0x140361580]
mov rcx, r12
call fcn.14005fc50
mov ebx, eax
cmp eax, 0x11
jne 0x140103d41
mov ecx, esi
inc esi
cmp ecx, 0x32
jge 0x140103d3b
mov r14d, dword [r12 + 0x30]
mov rcx, r12
call fcn.1400ae570
mov r15d, eax
test eax, eax
jne 0x140103c6b
mov rbx, qword [r12]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140103bca
call qword [0x140361580]
cmp qword [r12 + 0xb8], 0
jle 0x140103be0
mov rdx, r12
mov rcx, rbx
call fcn.14005ec80
mov rcx, r12
call fcn.14005c630
mov byte [r12 + 0xc7], 1
mov dword [r12 + 0x30], 0xffffffff
mov dword [r12 + 0x34], edi
mov word [r12 + 0xc4], 0xff02
mov qword [r12 + 0x38], rdi
mov dword [r12 + 0x2c], 1
mov dword [r12 + 0x40], edi
mov qword [r12 + 0x50], rdi
cmp byte [rbx + 0x67], 0
jne 0x140103c2c
test eax, eax
je 0x140103c36
mov edx, eax
mov rcx, rbx
call fcn.140029e10
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140103c45
call qword [0x140361590]
test r14d, r14d
js 0x140103c53
mov byte [r12 + 0xc5], 0xfe
mov rcx, r12
call fcn.14005fc50
mov ebx, eax
cmp eax, 0x11
je 0x140103b92
jmp 0x140103d3b
mov rcx, qword [r13 + 0x180]
test rcx, rcx
jne 0x140103c7c
mov rsi, rdi
jmp 0x140103cb3
movzx edx, word [rcx + 0x14]
movzx eax, dx
mov r8d, 0x202
and ax, r8w
cmp ax, r8w
jne 0x140103c9f
cmp byte [rcx + 0x16], 1
jne 0x140103c9f
mov rsi, qword [rcx + 8]
jmp 0x140103cb3
test dl, 1
je 0x140103ca9
mov rsi, rdi
jmp 0x140103cb3
mov dl, 1
call fcn.140057860
mov rsi, rax
mov rdx, qword [r12 + 0xa8]
test rdx, rdx
je 0x140103cc8
mov rcx, r13
call fcn.140029370
cmp byte [r13 + 0x67], 0
jne 0x140103d29
test rsi, rsi
jne 0x140103cd9
mov r14, rdi
jmp 0x140103d0d
mov rbx, 0xffffffffffffffff
lea rbx, [rbx + 1]
cmp byte [rsi + rbx], 0
jne 0x140103ce0
lea rdx, [rbx + 1]
mov rcx, r13
call fcn.140029880
mov r14, rax
test rax, rax
je 0x140103d0d
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call fcn.1402a1390
mov qword [r12 + 0xa8], r14
mov edx, r15d
mov rcx, r13
call fcn.140029e10
mov ebx, eax
mov dword [r12 + 0x34], eax
jmp 0x140103d3b
mov qword [r12 + 0xa8], rdi
mov ebx, 7
mov dword [r12 + 0x34], ebx
mov r15d, 0x202
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140103d50
call qword [0x140361590]
cmp ebx, 0x64
jne 0x14010451c
mov r14d, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], r14b
movdqu xmmword [rbp - 0x48], xmm0
mov r13, rdi
mov qword [rbp + 0x58], rdi
mov qword [rbp - 0x38], rdi
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140103d9a
call qword [0x140361580]
mov rcx, qword [r12 + 0xa0]
test rcx, rcx
je 0x140103db2
cmp di, word [r12 + 0xc0]
jb 0x140103dce
mov rcx, qword [r12]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.14002db50
lea rcx, [0x14032f8b8]
movzx eax, word [rcx + 0x14]
test al, 2
je 0x140103de1
cmp byte [rcx + 0x16], 1
jne 0x140103de1
mov ebx, dword [rcx + 0x10]
jmp 0x140103e04
test al, 0x10
je 0x140103df3
mov ebx, dword [rcx + 0x10]
bt ax, 0xa
jae 0x140103e04
add ebx, dword [rcx]
jmp 0x140103e04
test al, 1
je 0x140103dfb
mov ebx, edi
jmp 0x140103e04
mov dl, 1
call fcn.1400580f0
mov ebx, eax
mov edx, dword [r12 + 0x34]
mov rcx, qword [r12]
cmp byte [rcx + 0x67], 0
jne 0x140103e1b
test edx, edx
jne 0x140103e1b
mov eax, edi
jmp 0x140103e20
call fcn.140029e10
mov dword [r12 + 0x34], eax
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140103e38
call qword [0x140361590]
movsxd rsi, ebx
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140103e4e
call qword [0x140361580]
mov rcx, qword [r12 + 0xa0]
test rcx, rcx
je 0x140103e66
cmp di, word [r12 + 0xc0]
jb 0x140103e82
mov rcx, qword [r12]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.14002db50
lea rcx, [0x14032f8b8]
movzx edx, word [rcx + 0x14]
movzx eax, dx
and ax, r15w
cmp ax, r15w
jne 0x140103e9f
cmp byte [rcx + 0x16], 1
jne 0x140103e9f
mov rbx, qword [rcx + 8]
jmp 0x140103eb3
test dl, 1
je 0x140103ea9
mov rbx, rdi
jmp 0x140103eb3
mov dl, 1
call fcn.140057860
mov rbx, rax
mov edx, dword [r12 + 0x34]
mov rcx, qword [r12]
cmp byte [rcx + 0x67], 0
jne 0x140103eca
test edx, edx
jne 0x140103eca
mov eax, edi
jmp 0x140103ecf
call fcn.140029e10
mov dword [r12 + 0x34], eax
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140103ee7
call qword [0x140361590]
test rbx, rbx
je 0x140103f01
test rsi, rsi
je 0x140103f01
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14001aef0
cmp qword [rsp + 0x50], 0
jne 0x140103f4f
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140103b60
inc rdx
mov rcx, qword [rsp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140103f45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104af4
call fcn.14022d284
jmp 0x140103b60
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call fcn.1402d842c
mov rbx, qword [rsp + 0x50]
cmp rbx, 7
jbe 0x14010400c
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov r8d, 7
lea rdx, [rbp + 0x90]
call fcn.1402c3210
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x14010400c
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
setae dl
mov r8, qword [rsp + 0x40]
cmovae r9, r8
add r9, 7
lea rax, [rsp + 0x40]
test dl, dl
mov rdx, rdi
je 0x140103fd9
sub r9, r8
mov rax, rbx
sub rax, rdi
cmp rax, r9
cmovb r9, rax
jmp 0x140103fe8
sub r9, rax
cmp rbx, r9
cmovb r9, rbx
lea r8, [rsp + 0x40]
lea rcx, [r8 + rdx]
sub rbx, r9
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call fcn.1402a1390
mov qword [rsp + 0x50], rbx
mov r14d, 1
cmp rbx, 8
jbe 0x1401040a7
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov r8d, 8
lea rdx, [rbp + 0x60]
call fcn.1402c3210
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x1401040a7
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
setae dl
mov r8, qword [rsp + 0x40]
cmovae r9, r8
add r9, 8
lea rax, [rsp + 0x40]
test dl, dl
mov rdx, rdi
je 0x140104078
sub r9, r8
mov rax, rbx
sub rax, rdi
cmp rax, r9
cmovb r9, rax
jmp 0x140104087
sub r9, rax
cmp rbx, r9
cmovb r9, rbx
lea r8, [rsp + 0x40]
lea rcx, [r8 + rdx]
sub rbx, r9
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call fcn.1402a1390
mov qword [rsp + 0x50], rbx
jmp 0x1401040b0
test r14d, r14d
je 0x140103f09
lea rsi, [rsp + 0x40]
mov r15, qword [rsp + 0x58]
cmp r15, 0x10
setae r12b
mov r14, qword [rsp + 0x40]
cmovae rsi, r14
test rbx, rbx
je 0x1401041b0
mov r8, rbx
mov edx, 0x2f
mov rcx, rsi
call fcn.1402a1dd0
test rax, rax
je 0x1401041b0
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x1401041b0
lea rcx, [rbx - 1]
cmp rax, rcx
jae 0x1401041b0
inc rax
lea rsi, [rsp + 0x40]
test r12b, r12b
cmovne rsi, r14
cmp rax, rbx
jae 0x1401041b0
mov r8, rbx
sub r8, rax
lea rcx, [rsi + rax]
mov edx, 0x2f
call fcn.1402a1dd0
mov rdx, rax
test rax, rax
je 0x1401041b0
sub rdx, rsi
cmp rdx, 0xffffffffffffffff
je 0x1401041b0
lea rcx, [rsp + 0x40]
test r12b, r12b
je 0x14010415c
mov r9, rbx
sub r9, r14
sub r9, rdx
add r9, r14
jmp 0x14010417b
lea rax, [rsp + 0x40]
lea r9, [rbx + rcx]
add rax, rdx
lea rcx, [rsp + 0x40]
mov rdx, rax
sub rdx, rcx
sub r9, rax
lea r14, [rsp + 0x40]
mov rax, rbx
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rcx, [r14 + rdx]
sub rbx, r9
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r9]
call fcn.1402a1390
mov qword [rsp + 0x50], rbx
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x40]
mov qword [rbp + 0x50], rdi
lea rcx, [rsp + 0x40]
cmp r15, 0x10
cmovae rcx, r14
lea r8, [rbp + 0x50]
lea rdx, [0x14033b690]
call fcn.1402c3854
mov rsi, qword [rbp - 0x40]
test rax, rax
je 0x1401042d4
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140104200
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000b280
nop
cmp qword [rbp - 0x80], 0
je 0x14010427d
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea r8, [rbp + 0x30]
mov edx, dword [rbp - 0x80]
call fcn.140105330
test eax, eax
je 0x140104336
cmp rsi, r13
je 0x140104261
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x40]
movups xmmword [rsi + 0x10], xmm1
add rsi, 0x20
mov qword [rbp - 0x40], rsi
jmp 0x14010427d
lea r8, [rbp + 0x30]
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.14010ddc0
mov r13, qword [rbp - 0x38]
mov qword [rbp + 0x58], r13
mov rsi, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1401042b9
inc rdx
mov rcx, qword [rsp + 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1401042b4
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104ae8
call fcn.14022d284
lea r8, [rbp + 0x50]
lea rdx, [0x14033b690]
xor ecx, ecx
call fcn.1402c3854
test rax, rax
jne 0x1401041e0
mov r8, qword [rbp - 0x48]
mov qword [rsp + 0x60], r8
sub rsi, r8
sar rsi, 5
mov qword [rbp], rsi
test rsi, rsi
jne 0x1401043a1
test r8, r8
je 0x140104462
sub r13, r8
and r13, 0xffffffffffffffe0
mov rax, r8
cmp r13, 0x1000
jb 0x140104326
add r13, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104aee
mov rdx, r13
mov rcx, r8
call fcn.14022d284
jmp 0x140104462
mov r8, qword [rbp - 0x48]
mov qword [rsp + 0x60], r8
cmp r8, rsi
cmovne rsi, r8
mov qword [rbp - 0x40], rsi
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14010438b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140104381
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104ae8
call fcn.14022d284
mov r8, qword [rsp + 0x60]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
jmp 0x1401042dd
mov rax, qword [0x1403f32b8]
mov rbx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
cmp rbx, rax
je 0x140104447
mov rax, qword [rbx]
mov r15, qword [rbx + 8]
sub r15, rax
sar r15, 5
cmp rsi, r15
jb 0x1401044d3
mov r13, rdi
mov rcx, rsi
sub rcx, r15
mov qword [rbp + 0x30], rcx
mov r12, r8
sub r12, rax
mov r14, rdi
test r15, r15
je 0x140104418
mov rsi, rax
lea rcx, [r12 + rsi]
mov r8d, 0x20
mov rdx, rsi
call fcn.1402a1e70
test eax, eax
jne 0x1401044b6
inc r14
add rsi, 0x20
cmp r14, r15
jb 0x1401043f2
mov esi, dword [rbx + 0x1c]
mov dword [rbp + 0x328], 1
mov edx, dword [rbx + 0x18]
mov rcx, qword [rbp + 0x318]
call fcn.140105b70
test eax, eax
je 0x140104447
mov edx, esi
mov rcx, qword [rbp + 0x320]
call fcn.140105b70
nop
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140104462
mov r8, qword [rbp + 0x58]
sub r8, rdx
sar r8, 5
call fcn.140108ea0
nop
mov rdx, qword [rsp + 0x58]
mov r15d, 0x202
mov r12, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140103b60
inc rdx
mov rcx, qword [rsp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1401044a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104af4
call fcn.14022d284
mov r12, qword [rbp - 0x70]
jmp 0x140103b60
inc r13
add r12, 0x20
cmp r13, qword [rbp + 0x30]
mov rax, qword [rbx]
jbe 0x1401043e7
mov rsi, qword [rbp]
mov r8, qword [rsp + 0x60]
add rbx, 0x20
cmp rbx, qword [rsp + 0x70]
jmp 0x1401043b7
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14002c7b0
lea rax, [0x14033b564]
mov qword [rsp + 0x20], rax
mov r9d, 0x15f88
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14002c7b0
test r12, r12
je 0x1401045ba
mov rbx, qword [r12]
test rbx, rbx
jne 0x140104567
lea rdx, str.API_called_with_finalized_prepared_statement
lea ecx, [rbx + 0x15]
call fcn.14002c7b0
lea r12, [0x14033b564]
mov qword [rsp + 0x20], r12
mov r9d, 0x15cd5
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
lea ecx, [rbx + 0x15]
call fcn.14002c7b0
jmp 0x1401045c1
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140104576
call qword [0x140361580]
cmp qword [r12 + 0xb8], 0
jle 0x14010458c
mov rdx, r12
mov rcx, rbx
call fcn.14005ec80
mov rcx, r12
call fcn.14005c630
mov esi, eax
mov rcx, r12
call fcn.14005c930
cmp byte [rbx + 0x67], 0
jne 0x1401045a8
test esi, esi
je 0x1401045b2
mov edx, esi
mov rcx, rbx
call fcn.140029e10
mov rcx, rbx
call fcn.1400edb40
lea r12, [0x14033b564]
lea r15, str.unopened
mov r13, qword [rbp + 0x28]
test r13, r13
je 0x140104629
movzx eax, byte [r13 + 0x71]
cmp al, 0xba
je 0x140104754
cmp al, 0x76
je 0x140104754
cmp al, 0x6d
je 0x140104754
lea r8, str.invalid
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14002c7b0
mov qword [rsp + 0x20], r12
mov r9d, 0x2b5c9
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14002c7b0
mov r13, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x20]
mov r14, qword [rbp + 0x310]
cmp qword [rbp - 0x58], 0
je 0x140104654
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14010468f
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010468a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104afa
call fcn.14022d284
movdqa xmm0, xmmword [0x14033ba90]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1401046e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401046db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140104a82
call fcn.14022d284
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
test r13, r13
je 0x140104732
sub rbx, r13
sar rbx, 2
lea rdx, [rbx*4]
cmp rdx, 0x1000
jb 0x140104729
add rdx, 0x27
mov rcx, qword [r13 - 8]
sub r13, rcx
lea rax, [r13 - 8]
cmp rax, 0x1f
ja 0x140104a88
mov r13, rcx
mov rcx, r13
call fcn.14022d284
nop
mov rcx, r14
call fcn.140007d80
mov eax, dword [rbp + 0x328]
add rsp, 0x3c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140104763
call qword [0x140361580]
test byte [r13 + 0x6e], 8
je 0x140104782
xor r9d, r9d
mov r8, r13
mov rdx, qword [r13 + 0x100]
lea ecx, [r9 + 8]
call qword [r13 + 0xf8]
mov r14d, edi
cmp dword [r13 + 0x28], edi
jle 0x1401047d7
mov rsi, rdi
nop
mov rax, qword [r13 + 0x20]
mov rbx, qword [rax + rsi + 0x18]
test rbx, rbx
je 0x1401047ca
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x1401047ca
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
cmp byte [rdx + 0x3f], 1
jne 0x1401047c2
mov rcx, r13
call fcn.1400c83c0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1401047b0
inc r14d
add rsi, 0x20
cmp r14d, dword [r13 + 0x28]
jl 0x140104790
mov rbx, qword [r13 + 0x210]
test rbx, rbx
je 0x140104800
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + 0x28]
test rdx, rdx
je 0x1401047f8
mov rcx, r13
call fcn.1400c83c0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1401047e3
mov rcx, r13
call fcn.1400c8470
mov edx, 0x88
mov rcx, r13
call fcn.1400c9b20
mov rcx, r13
call fcn.1400ed7e0
mov rcx, r13
test eax, eax
je 0x1401049fd
lea r8, str.unable_to_close_due_to_unfinalized_statements_or_unfinished_backups
mov edx, 5
call fcn.14002dc80
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140104848
call qword [0x140361590]
mov rbx, rdi
mov rsi, rdi
nop
movzx eax, byte [r13 + 0x71]
cmp al, 0x76
jne 0x1401048a1
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x14010486c
call qword [0x140361580]
mov rcx, qword [r13 + 0x18]
test rbx, rbx
jne 0x140104877
mov rbx, qword [r13 + 8]
jmp 0x14010487b
mov rbx, qword [rbx + 0x10]
test rcx, rcx
je 0x140104886
call qword [0x140361590]
test rbx, rbx
je 0x1401048e7
mov rcx, rbx
call fcn.14005ed30
inc rsi
cmp rsi, 0x989680
jae 0x1401048e7
jmp 0x140104850
cmp al, 0xba
je 0x1401048b0
cmp al, 0x6d
je 0x1401048b0
lea r15, str.invalid
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, reloc.WS2_32.dll_setsockopt
mov r8, r15
call fcn.14002c7b0
mov qword [rsp + 0x20], r12
mov r9d, 0x163df
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_setsockopt
call fcn.14002c7b0
movzx eax, byte [r13 + 0x71]
cmp al, 0xba
je 0x1401048fc
cmp al, 0x76
je 0x1401048fc
cmp al, 0x6d
jne 0x1401045ee
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x14010490b
call qword [0x140361580]
test byte [r13 + 0x6e], 8
je 0x14010492a
xor r9d, r9d
mov r8, r13
mov rdx, qword [r13 + 0x100]
lea ecx, [r9 + 8]
call qword [r13 + 0xf8]
mov r14d, edi
cmp dword [r13 + 0x28], edi
jle 0x140104987
mov rsi, rdi
nop word [rax + rax]
mov rax, qword [r13 + 0x20]
mov rbx, qword [rax + rsi + 0x18]
test rbx, rbx
je 0x14010497a
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x14010497a
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
cmp byte [rdx + 0x3f], 1
jne 0x140104972
mov rcx, r13
call fcn.1400c83c0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140104960
inc r14d
add rsi, 0x20
cmp r14d, dword [r13 + 0x28]
jl 0x140104940
mov rbx, qword [r13 + 0x210]
test rbx, rbx
je 0x1401049b0
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + 0x28]
test rdx, rdx
je 0x1401049a8
mov rcx, r13
call fcn.1400c83c0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140104993
mov rcx, r13
call fcn.1400c8470
mov edx, 0x88
mov rcx, r13
call fcn.1400c9b20
mov rcx, r13
call fcn.1400ed7e0
mov rcx, r13
test eax, eax
je 0x1401049fd
lea r8, str.unable_to_close_due_to_unfinalized_statements_or_unfinished_backups
mov edx, 5
call fcn.14002dc80
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140104629
call qword [0x140361590]
jmp 0x140104629
mov byte [r13 + 0x71], 0xa7
call fcn.1400edb40
jmp 0x140104629
lea r10, [rbp - 0x28]
mov r9, qword [rbp - 0x28]
mov r8, qword [rbp - 0x10]
cmp r8, 0x10
cmovae r10, r9
mov rbx, qword [rbp - 0x18]
add r10, rbx
lea rcx, [rbp - 0x28]
cmp r8, 0x10
cmovae rcx, r9
lea rax, [rbp - 0x28]
cmovae rax, r9
mov rdx, rcx
sub rdx, rax
sub r10, rcx
mov rax, rbx
sub rax, rdx
cmp rax, r10
cmovb r10, rax
lea rcx, [rbp - 0x28]
cmp r8, 0x10
cmovae rcx, r9
add rcx, rdx
sub rbx, r10
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r10]
call fcn.1402a1390
mov qword [rbp - 0x18], rbx
lea rbx, [r13 + 0x14]
jmp 0x140104631
call fcn.1402c2874
nop
call fcn.1402c2874
int3
lea rcx, [0x1403f3e54]
call fcn.14022d36c
cmp dword [0x1403f3e54], 0xffffffff
jne 0x1401033c5
lea rcx, [0x14030c8a0]
call fcn.14022d85c
lea rcx, [0x1403f3e54]
call fcn.14022d300
jmp 0x1401033c5
call fcn.140001450
int3
call fcn.1402c2874
int3
call fcn.1402c2874
nop
call fcn.1402c2874
int3
call fcn.1402c2874
nop
call fcn.1402c2874
nop
call fcn.1402c2874
nop
call fcn.1402c2874
nop
call fcn.1402c2874
nop
call fcn.1402c2874
int3