Function at 0x140049610
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 r12, rcx
xor edi, edi
mov dword [rbp + 0x328], edi
mov ecx, 4
mov rax, qword gs:[0x58]
mov r9, qword [rax]
mov eax, dword [rcx + r9]
cmp dword [0x14099c0dc], eax
jg 0x14004ac1a
movabs rax, 0x2f2f3a70747468
mov qword [rbp + 0x58], rax
movsd xmm0, qword [str.https:__]
movsd qword [rbp + 0x48], xmm0
movzx eax, byte [0x14063e618]
mov byte [rbp + 0x50], al
mov ecx, 0x14
call fcn.1400a7474
mov r13, rax
mov qword [rbp + 0x60], rax
lea r15, [rax + 0x14]
mov qword [rbp + 0x70], r15
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r13], xmm0
mov dword [r13 + 0x10], eax
mov qword [rbp + 0x68], r15
cmp r13, r15
je 0x1400496d7
mov rbx, r13
nop
lea rcx, [0x140996a30]
call fcn.140041280
mov dword [rbx], eax
add rbx, 4
cmp rbx, r15
jne 0x1400496c0
lea rdx, [0x140997dd8]
lea rcx, [rbp - 0x68]
call fcn.140068820
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x14063ea30]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
mov r14, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x50]
cmp r14, rsi
jae 0x14004972f
lea rax, [r14 + 1]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
cmp rsi, 8
cmovae rax, qword [rbp - 0x68]
mov dword [rax + r14*2], 0x5c
jmp 0x14004980a
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, r14
cmp rax, 1
jb 0x14004ac50
lea r12, [r14 + 1]
mov rcx, r12
or rcx, 7
cmp rcx, rbx
ja 0x140049778
mov rdx, rsi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rsi, rax
ja 0x140049778
lea rax, [rsi + rdx]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x68]
call fcn.140035490
mov r15, rax
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rbx
add r14, r14
mov r8, r14
mov rcx, rax
cmp rsi, 8
jb 0x1400497ea
mov rbx, qword [rbp - 0x68]
mov rdx, rbx
call fcn.1405e55e0
mov dword [r15 + r14], 0x5c
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x1400497e0
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14004ac56
mov rbx, rcx
mov rcx, rbx
call fcn.14005fc98
jmp 0x1400497fb
lea rdx, [rbp - 0x68]
call fcn.1405e55e0
mov dword [r15 + r14], 0x5c
mov qword [rbp - 0x68], r15
mov r12, qword [rbp + 0x310]
lea r15, [r13 + 0x14]
lea rax, [0x14063e61c]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
lea rax, str.:08x
mov qword [rbp], rax
mov qword [rbp + 8], 6
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x80], r15
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x88], xmm0
lea rax, [rbp + 0x78]
mov qword [rsp + 0x70], rax
lea rax, [0x1400a2f90]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rsp + 0x70], 0xf
lea rax, [rbp + 0x30]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp]
movdqa xmmword [rbp], xmm1
lea r8, [rsp + 0x70]
lea rdx, [rbp]
lea rcx, [rbp - 0x48]
call fcn.1400692e0
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.140061fa0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400498f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400498f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac5c
call fcn.14005fc98
mov qword [rbp + 0x20], rdi
mov qword [rbp - 0x70], rdi
cmp qword [0x140997f78], 0
jne 0x140049b1f
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movdqa xmm1, xmmword [0x14063ea30]
movdqu xmmword [rbp - 0x38], xmm1
mov byte [rbp - 0x48], 0
lea rdx, [rbp - 0x48]
mov ecx, 0xe
call fcn.140002d10
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 + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140049990
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 rbx, vtable.fmt::v9::basic_memory_buffer_char__500__class_std::allocator_char__.0
mov qword [rbp + 0xa0], rbx
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.14000e740
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xa8]
lea rcx, [rsp + 0x70]
call fcn.140082fe0
nop
mov qword [rbp + 0xa0], rbx
lea rax, [rbp + 0xc0]
mov rcx, qword [rbp + 0xa8]
cmp rcx, rax
je 0x140049a8c
mov rdx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049a87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac62
call fcn.14005fc98
mov rdx, qword [0x140997f80]
cmp rdx, 0x10
jb 0x140049acd
inc rdx
mov rcx, qword [0x140997f68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ac8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac68
call fcn.14005fc98
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x140997f68], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [0x140997f78], xmm1
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140049b1f
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049b1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac6e
call fcn.14005fc98
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140049b2e
mov rcx, qword [r12]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14004a79b
mov esi, dword [rbp - 0x58]
lea r14, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
jb 0x140049b68
mov r14, qword [rbp - 0x68]
test r14, r14
je 0x14004ab9c
test esi, esi
jne 0x140049b86
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x140049b73
test esi, esi
je 0x14004ab9c
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 0x14004ab9c
lea ebx, [rax + 1]
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.140089600
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 0x14004ab9c
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 0x140049c17
movsxd rdx, eax
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.140089600
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 + 0x20]
call fcn.14017e640
lea r14, [0x14063e504]
test eax, eax
jne 0x14004a736
lea rdx, [0x140997f68]
cmp qword [0x140997f80], 0x10
cmovae rdx, qword [0x140997f68]
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 rcx, qword [rbp + 0x20]
call fcn.14013c910
mov r12, qword [rbp - 0x70]
test eax, eax
jne 0x14004a698
test r12, r12
je 0x14004a72f
mov r15d, 0x202
nop dword [rax]
mov esi, edi
cmp qword [r12], rsi
je 0x14004a650
mov r13, qword [r12]
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140049cdf
call qword [0x140663440]
mov rcx, r12
call fcn.1400ee7e0
mov ebx, eax
cmp eax, 0x11
jne 0x140049ea1
mov ecx, esi
inc esi
cmp ecx, 0x32
jge 0x140049e9b
mov r14d, dword [r12 + 0x30]
mov rcx, r12
call fcn.14013cb20
mov r15d, eax
test eax, eax
jne 0x140049dcb
mov rbx, qword [r12]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140049d2a
call qword [0x140663440]
cmp qword [r12 + 0xb8], 0
jle 0x140049d40
mov rdx, r12
mov rcx, rbx
call fcn.1400ed7e0
mov rcx, r12
call fcn.1400eb3b0
mov byte [r12 + 0xc5], 1
mov dword [r12 + 0x30], 0xffffffff
mov dword [r12 + 0x34], edi
mov word [r12 + 0xc2], 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 0x140049d8c
test eax, eax
je 0x140049d96
mov edx, eax
mov rcx, rbx
call fcn.1400b9ab0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140049da5
call qword [0x140663450]
test r14d, r14d
js 0x140049db3
mov byte [r12 + 0xc3], 0xfe
mov rcx, r12
call fcn.1400ee7e0
mov ebx, eax
cmp eax, 0x11
je 0x140049cf2
jmp 0x140049e9b
mov rcx, qword [r13 + 0x180]
test rcx, rcx
jne 0x140049ddc
mov rsi, rdi
jmp 0x140049e13
movzx edx, word [rcx + 0x14]
movzx eax, dx
mov r8d, 0x202
and ax, r8w
cmp ax, r8w
jne 0x140049dff
cmp byte [rcx + 0x16], 1
jne 0x140049dff
mov rsi, qword [rcx + 8]
jmp 0x140049e13
test dl, 1
je 0x140049e09
mov rsi, rdi
jmp 0x140049e13
mov dl, 1
call fcn.1400e66a0
mov rsi, rax
mov rdx, qword [r12 + 0xa8]
test rdx, rdx
je 0x140049e28
mov rcx, r13
call fcn.1400b9000
cmp byte [r13 + 0x67], 0
jne 0x140049e89
test rsi, rsi
jne 0x140049e39
mov r14, rdi
jmp 0x140049e6d
mov rbx, 0xffffffffffffffff
lea rbx, [rbx + 1]
cmp byte [rsi + rbx], 0
jne 0x140049e40
lea rdx, [rbx + 1]
mov rcx, r13
call fcn.1400b9520
mov r14, rax
test rax, rax
je 0x140049e6d
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call fcn.1405e55e0
mov qword [r12 + 0xa8], r14
mov edx, r15d
mov rcx, r13
call fcn.1400b9ab0
mov ebx, eax
mov dword [r12 + 0x34], eax
jmp 0x140049e9b
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 0x140049eb0
call qword [0x140663450]
cmp ebx, 0x64
jne 0x14004a68d
mov r14d, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r14b
movdqu xmmword [rbp - 0x48], xmm0
mov r13, rdi
mov qword [rbp + 0x30], rdi
mov qword [rbp - 0x38], rdi
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140049efa
call qword [0x140663440]
mov rcx, qword [r12 + 0xa0]
test rcx, rcx
je 0x140049f12
cmp di, word [r12 + 0xc0]
jb 0x140049f2e
mov rcx, qword [r12]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.1400bd860
lea rcx, [0x140632c50]
movzx eax, word [rcx + 0x14]
test al, 2
je 0x140049f41
cmp byte [rcx + 0x16], 1
jne 0x140049f41
mov ebx, dword [rcx + 0x10]
jmp 0x140049f64
test al, 0x10
je 0x140049f53
mov ebx, dword [rcx + 0x10]
bt ax, 0xa
jae 0x140049f64
add ebx, dword [rcx]
jmp 0x140049f64
test al, 1
je 0x140049f5b
mov ebx, edi
jmp 0x140049f64
mov dl, 1
call fcn.1400e6f10
mov ebx, eax
mov edx, dword [r12 + 0x34]
mov rcx, qword [r12]
cmp byte [rcx + 0x67], 0
jne 0x140049f7b
test edx, edx
jne 0x140049f7b
mov eax, edi
jmp 0x140049f80
call fcn.1400b9ab0
mov dword [r12 + 0x34], eax
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140049f98
call qword [0x140663450]
movsxd rsi, ebx
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140049fae
call qword [0x140663440]
mov rcx, qword [r12 + 0xa0]
test rcx, rcx
je 0x140049fc6
cmp di, word [r12 + 0xc0]
jb 0x140049fe2
mov rcx, qword [r12]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.1400bd860
lea rcx, [0x140632c50]
movzx edx, word [rcx + 0x14]
movzx eax, dx
and ax, r15w
cmp ax, r15w
jne 0x140049fff
cmp byte [rcx + 0x16], 1
jne 0x140049fff
mov rbx, qword [rcx + 8]
jmp 0x14004a013
test dl, 1
je 0x14004a009
mov rbx, rdi
jmp 0x14004a013
mov dl, 1
call fcn.1400e66a0
mov rbx, rax
mov edx, dword [r12 + 0x34]
mov rcx, qword [r12]
cmp byte [rcx + 0x67], 0
jne 0x14004a02a
test edx, edx
jne 0x14004a02a
mov eax, edi
jmp 0x14004a02f
call fcn.1400b9ab0
mov dword [r12 + 0x34], eax
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14004a047
call qword [0x140663450]
test rbx, rbx
je 0x14004a061
test rsi, rsi
je 0x14004a061
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140034fd0
cmp qword [rsp + 0x50], 0
jne 0x14004a0af
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140049cc0
inc rdx
mov rcx, qword [rsp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14004a0a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac80
call fcn.14005fc98
jmp 0x140049cc0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call fcn.14005f324
mov rbx, qword [rsp + 0x50]
cmp rbx, 7
jbe 0x14004a169
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov r8d, 7
lea rdx, [rbp + 0x58]
call fcn.1405eab80
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x14004a169
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 0x14004a136
sub r9, r8
mov rax, rbx
sub rax, rdi
cmp rax, r9
cmovb r9, rax
jmp 0x14004a145
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.1405e55e0
mov qword [rsp + 0x50], rbx
mov r14d, 1
cmp rbx, 8
jbe 0x14004a204
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov r8d, 8
lea rdx, [rbp + 0x48]
call fcn.1405eab80
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x14004a204
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 0x14004a1d5
sub r9, r8
mov rax, rbx
sub rax, rdi
cmp rax, r9
cmovb r9, rax
jmp 0x14004a1e4
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.1405e55e0
mov qword [rsp + 0x50], rbx
jmp 0x14004a20d
test r14d, r14d
je 0x14004a069
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 0x14004a307
mov r8, rbx
mov edx, 0x2f
mov rcx, rsi
call fcn.1405e6030
test rax, rax
je 0x14004a307
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x14004a307
lea rcx, [rbx - 1]
cmp rax, rcx
jae 0x14004a307
inc rax
lea rsi, [rsp + 0x40]
test r12b, r12b
cmovne rsi, r14
cmp rax, rbx
jae 0x14004a307
mov r8, rbx
sub r8, rax
lea rcx, [rsi + rax]
mov edx, 0x2f
call fcn.1405e6030
mov rdx, rax
test rax, rax
je 0x14004a307
sub rdx, rsi
cmp rdx, 0xffffffffffffffff
je 0x14004a307
lea rcx, [rsp + 0x40]
test r12b, r12b
je 0x14004a2b3
mov r9, rbx
sub r9, rdx
jmp 0x14004a2d2
lea rax, [rsp + 0x40]
lea r9, [rcx + rbx]
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.1405e55e0
mov qword [rsp + 0x50], rbx
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x40]
mov qword [rbp + 0x40], rdi
lea rcx, [rsp + 0x40]
cmp r15, 0x10
cmovae rcx, r14
lea r8, [rbp + 0x40]
lea rdx, [0x14063e630]
call fcn.1405eac08
mov rsi, qword [rbp - 0x40]
test rax, rax
je 0x14004a435
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], 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 0x14004a360
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140082fe0
nop
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x14004a3de
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea r8, [rbp]
mov edx, eax
call fcn.14005db90
test eax, eax
je 0x14004a493
cmp rsi, r13
je 0x14004a3c2
movups xmm0, xmmword [rbp]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rsi + 0x10], xmm1
add rsi, 0x20
mov qword [rbp - 0x40], rsi
jmp 0x14004a3de
lea r8, [rbp]
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.140015050
mov r13, qword [rbp - 0x38]
mov qword [rbp + 0x30], r13
mov rsi, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14004a41a
inc rdx
mov rcx, qword [rsp + 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14004a415
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac74
call fcn.14005fc98
lea r8, [rbp + 0x40]
lea rdx, [0x14063e630]
xor ecx, ecx
call fcn.1405eac08
test rax, rax
jne 0x14004a340
mov r8, qword [rbp - 0x48]
mov qword [rsp + 0x60], r8
sub rsi, r8
sar rsi, 5
mov qword [rsp + 0x70], rsi
test rsi, rsi
jne 0x14004a4ed
test r8, r8
je 0x14004a5d5
sub r13, r8
and r13, 0xffffffffffffffe0
mov rax, r8
cmp r13, 0x1000
jb 0x14004a488
add r13, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac7a
mov rdx, r13
mov rcx, r8
jmp 0x14004a5cf
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 0x14004a43e
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a4de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac74
call fcn.14005fc98
mov r8, qword [rsp + 0x60]
jmp 0x14004a43e
mov rbx, qword [0x14099b6d0]
cmp rbx, qword [0x14099b6d8]
je 0x14004a595
mov rax, qword [rbx]
mov r15, qword [rbx + 8]
sub r15, rax
sar r15, 5
cmp rsi, r15
jb 0x14004a647
mov r13, rdi
mov rcx, rsi
sub rcx, r15
mov qword [rbp], rcx
mov r12, r8
sub r12, rax
nop dword [rax + rax]
mov r14, rdi
test r15, r15
je 0x14004a566
mov rsi, rax
nop dword [rax + rax]
lea rcx, [r12 + rsi]
mov r8d, 0x20
mov rdx, rsi
call fcn.1405e60d0
test eax, eax
jne 0x14004a629
inc r14
add rsi, 0x20
cmp r14, r15
jb 0x14004a540
mov esi, dword [rbx + 0x1c]
mov dword [rbp + 0x328], 1
mov edx, dword [rbx + 0x18]
mov rcx, qword [rbp + 0x318]
call fcn.140081830
test eax, eax
je 0x14004a595
mov edx, esi
mov rcx, qword [rbp + 0x320]
call fcn.140081830
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004a5d5
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a5cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac7a
call fcn.14005fc98
nop
mov rdx, qword [rsp + 0x58]
mov r15d, 0x202
mov r12, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140049cc0
inc rdx
mov rcx, qword [rsp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14004a61b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac80
call fcn.14005fc98
mov r12, qword [rbp - 0x70]
jmp 0x140049cc0
inc r13
add r12, 0x20
cmp r13, qword [rbp]
mov rax, qword [rbx]
jbe 0x14004a530
mov rsi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
add rbx, 0x20
jmp 0x14004a4f4
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.1400bc730
lea r14, [0x14063e504]
mov qword [rsp + 0x20], r14
mov r9d, 0x159e1
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.1400bc730
jmp 0x14004a694
lea r14, [0x14063e504]
mov r13, qword [rbp + 0x60]
test r12, r12
je 0x14004a72f
mov rbx, qword [r12]
test rbx, rbx
jne 0x14004a6dc
lea rdx, str.API_called_with_finalized_prepared_statement
lea ecx, [rbx + 0x15]
call fcn.1400bc730
mov qword [rsp + 0x20], r14
mov r9d, 0x1572f
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
lea ecx, [rbx + 0x15]
call fcn.1400bc730
jmp 0x14004a72f
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004a6eb
call qword [0x140663440]
cmp qword [r12 + 0xb8], 0
jle 0x14004a701
mov rdx, r12
mov rcx, rbx
call fcn.1400ed7e0
mov rcx, r12
call fcn.1400eb3b0
mov esi, eax
mov rcx, r12
call fcn.1400eb6b0
cmp byte [rbx + 0x67], 0
jne 0x14004a71d
test esi, esi
je 0x14004a727
mov edx, esi
mov rcx, rbx
call fcn.1400b9ab0
mov rcx, rbx
call fcn.14017ba70
mov r12, qword [rbp + 0x310]
mov r15, qword [rbp + 0x20]
test r15, r15
je 0x14004a797
movzx eax, byte [r15 + 0x71]
cmp al, 0xba
je 0x14004a8b7
cmp al, 0x76
je 0x14004a8b7
cmp al, 0x6d
je 0x14004a8b7
lea r8, str.invalid
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, 0x15
call fcn.1400bc730
mov qword [rsp + 0x20], r14
mov r9d, 0x2ac3c
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.1400bc730
lea r15, [r13 + 0x14]
cmp qword [rbp - 0x58], 0
je 0x14004a7b7
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 0x14004a7f2
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a7ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac86
call fcn.14005fc98
movdqa xmm0, xmmword [0x14063ea30]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14004a843
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a83e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac0e
call fcn.14005fc98
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
test r13, r13
je 0x14004a895
sub r15, r13
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x14004a88c
add rdx, 0x27
mov rcx, qword [r13 - 8]
sub r13, rcx
lea rax, [r13 - 8]
cmp rax, 0x1f
ja 0x14004ac14
mov r13, rcx
mov rcx, r13
call fcn.14005fc98
nop
mov rcx, r12
call fcn.14000b940
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 [r15 + 0x18]
test rcx, rcx
je 0x14004a8c6
call qword [0x140663440]
test byte [r15 + 0x6e], 8
je 0x14004a8e5
xor r9d, r9d
mov r8, r15
mov rdx, qword [r15 + 0x100]
lea ecx, [r9 + 8]
call qword [r15 + 0xf8]
mov r14d, edi
cmp dword [r15 + 0x28], edi
jle 0x14004a937
mov rsi, rdi
mov rax, qword [r15 + 0x20]
mov rbx, qword [rax + rsi + 0x18]
test rbx, rbx
je 0x14004a92a
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x14004a92a
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
cmp byte [rdx + 0x3f], 1
jne 0x14004a922
mov rcx, r15
call fcn.1401563a0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14004a910
inc r14d
add rsi, 0x20
cmp r14d, dword [r15 + 0x28]
jl 0x14004a8f1
mov rbx, qword [r15 + 0x210]
test rbx, rbx
je 0x14004a960
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + 0x28]
test rdx, rdx
je 0x14004a958
mov rcx, r15
call fcn.1401563a0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14004a943
mov rcx, r15
call fcn.140156450
mov edx, 0x88
mov rcx, r15
call fcn.140157ad0
mov rcx, r15
call fcn.14017b710
mov rcx, r15
test eax, eax
je 0x14004ab8d
lea r8, str.unable_to_close_due_to_unfinalized_statements_or_unfinished_backups
mov edx, 5
call fcn.1400bd9a0
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14004a9a8
call qword [0x140663450]
mov rbx, rdi
mov rsi, rdi
nop
movzx eax, byte [r15 + 0x71]
cmp al, 0x76
jne 0x14004aa41
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14004a9d0
call qword [0x140663440]
mov rcx, qword [r15 + 0x18]
test rbx, rbx
jne 0x14004a9db
mov rbx, qword [r15 + 8]
jmp 0x14004a9df
mov rbx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004a9ea
call qword [0x140663450]
test rbx, rbx
je 0x14004aa03
mov rcx, rbx
call fcn.1400ed890
inc rsi
cmp rsi, 0x989680
jb 0x14004a9b0
lea rbx, [0x14063e504]
movzx eax, byte [r15 + 0x71]
cmp al, 0xba
je 0x14004aa97
cmp al, 0x76
je 0x14004aa97
cmp al, 0x6d
je 0x14004aa97
lea r8, str.invalid
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, 0x15
call fcn.1400bc730
mov qword [rsp + 0x20], rbx
jmp 0x14004a779
cmp al, 0xba
je 0x14004aa50
cmp al, 0x6d
lea r8, str.invalid
jne 0x14004aa57
lea r8, str.unopened
mov ecx, 0x15
lea rdx, str.API_call_with__s_database_connection_pointer
call fcn.1400bc730
lea rbx, [0x14063e504]
mov qword [rsp + 0x20], rbx
mov r9d, 0x15dec
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.1400bc730
jmp 0x14004aa0a
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14004aaa6
call qword [0x140663440]
test byte [r15 + 0x6e], 8
je 0x14004aac5
xor r9d, r9d
mov r8, r15
mov rdx, qword [r15 + 0x100]
lea ecx, [r9 + 8]
call qword [r15 + 0xf8]
mov r14d, edi
cmp dword [r15 + 0x28], edi
jle 0x14004ab17
mov rsi, rdi
mov rax, qword [r15 + 0x20]
mov rbx, qword [rax + rsi + 0x18]
test rbx, rbx
je 0x14004ab0a
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x14004ab0a
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
cmp byte [rdx + 0x3f], 1
jne 0x14004ab02
mov rcx, r15
call fcn.1401563a0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14004aaf0
inc r14d
add rsi, 0x20
cmp r14d, dword [r15 + 0x28]
jl 0x14004aad1
mov rbx, qword [r15 + 0x210]
test rbx, rbx
je 0x14004ab40
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + 0x28]
test rdx, rdx
je 0x14004ab38
mov rcx, r15
call fcn.1401563a0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14004ab23
mov rcx, r15
call fcn.140156450
mov edx, 0x88
mov rcx, r15
call fcn.140157ad0
mov rcx, r15
call fcn.14017b710
mov rcx, r15
test eax, eax
je 0x14004ab8d
lea r8, str.unable_to_close_due_to_unfinalized_statements_or_unfinished_backups
mov edx, 5
call fcn.1400bd9a0
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14004a797
call qword [0x140663450]
jmp 0x14004a797
mov byte [r15 + 0x71], 0xa7
call fcn.14017ba70
jmp 0x14004a797
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.1405e55e0
mov qword [rbp - 0x18], rbx
jmp 0x14004a79b
call fcn.140070b74
nop
call fcn.140070b74
int3
lea rcx, [0x14099c0dc]
call fcn.14006e580
cmp dword [0x14099c0dc], 0xffffffff
jne 0x140049666
lea rcx, [0x14060daa0]
call fcn.140579b7c
lea rcx, [0x14099c0dc]
call fcn.14000dee8
jmp 0x140049666
call fcn.1400358f0
int3
call fcn.140070b74
int3
call fcn.140070b74
nop
call fcn.140070b74
int3
call fcn.140070b74
nop
call fcn.140070b74
nop
call fcn.140070b74
nop
call fcn.140070b74
nop
call fcn.140070b74
nop
call fcn.140070b74
int3