Function at 0x1400495d0
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 [0x1409b3bcc], eax
jg 0x14004abda
movabs rax, 0x2f2f3a70747468
mov qword [rbp + 0x58], rax
movsd xmm0, qword [str.https:__]
movsd qword [rbp + 0x48], xmm0
movzx eax, byte [0x14063f618]
mov byte [rbp + 0x50], al
mov ecx, 0x14
call fcn.1400a7434
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 0x140049697
mov rbx, r13
nop
lea rcx, [0x1409ae520]
call fcn.140041260
mov dword [rbx], eax
add rbx, 4
cmp rbx, r15
jne 0x140049680
lea rdx, [0x1409af8c8]
lea rcx, [rbp - 0x68]
call fcn.1400687e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x14063fa30]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
mov r14, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x50]
cmp r14, rsi
jae 0x1400496ef
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 0x1400497ca
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, r14
cmp rax, 1
jb 0x14004ac10
lea r12, [r14 + 1]
mov rcx, r12
or rcx, 7
cmp rcx, rbx
ja 0x140049738
mov rdx, rsi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rsi, rax
ja 0x140049738
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 0x1400497aa
mov rbx, qword [rbp - 0x68]
mov rdx, rbx
call fcn.1405e5db0
mov dword [r15 + r14], 0x5c
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x1400497a0
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14004ac16
mov rbx, rcx
mov rcx, rbx
call fcn.14005fc58
jmp 0x1400497bb
lea rdx, [rbp - 0x68]
call fcn.1405e5db0
mov dword [r15 + r14], 0x5c
mov qword [rbp - 0x68], r15
mov r12, qword [rbp + 0x310]
lea r15, [r13 + 0x14]
lea rax, [0x14063f61c]
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, [0x1400a2f50]
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.1400692a0
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.140061f60
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400498b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400498b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac1c
call fcn.14005fc58
mov qword [rbp + 0x20], rdi
mov qword [rbp - 0x70], rdi
cmp qword [0x1409afa68], 0
jne 0x140049adf
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movdqa xmm1, xmmword [0x14063fa30]
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 0x140049950
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.140082fa0
nop
mov qword [rbp + 0xa0], rbx
lea rax, [rbp + 0xc0]
mov rcx, qword [rbp + 0xa8]
cmp rcx, rax
je 0x140049a4c
mov rdx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049a47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac22
call fcn.14005fc58
mov rdx, qword [0x1409afa70]
cmp rdx, 0x10
jb 0x140049a8d
inc rdx
mov rcx, qword [0x1409afa58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049a88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac28
call fcn.14005fc58
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x1409afa58], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [0x1409afa68], xmm1
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140049adf
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ada
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac2e
call fcn.14005fc58
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140049aee
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 0x14004a75b
mov esi, dword [rbp - 0x58]
lea r14, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
jb 0x140049b28
mov r14, qword [rbp - 0x68]
test r14, r14
je 0x14004ab5c
test esi, esi
jne 0x140049b46
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x140049b33
test esi, esi
je 0x14004ab5c
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 0x14004ab5c
lea ebx, [rax + 1]
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.1400895c0
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 0x14004ab5c
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 0x140049bd7
movsxd rdx, eax
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.1400895c0
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.14017e600
lea r14, [0x14063f504]
test eax, eax
jne 0x14004a6f6
lea rdx, [0x1409afa58]
cmp qword [0x1409afa70], 0x10
cmovae rdx, qword [0x1409afa58]
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.14013c8d0
mov r12, qword [rbp - 0x70]
test eax, eax
jne 0x14004a658
test r12, r12
je 0x14004a6ef
mov r15d, 0x202
nop dword [rax]
mov esi, edi
cmp qword [r12], rsi
je 0x14004a610
mov r13, qword [r12]
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x140049c9f
call qword [0x140664440]
mov rcx, r12
call fcn.1400ee7a0
mov ebx, eax
cmp eax, 0x11
jne 0x140049e61
mov ecx, esi
inc esi
cmp ecx, 0x32
jge 0x140049e5b
mov r14d, dword [r12 + 0x30]
mov rcx, r12
call fcn.14013cae0
mov r15d, eax
test eax, eax
jne 0x140049d8b
mov rbx, qword [r12]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140049cea
call qword [0x140664440]
cmp qword [r12 + 0xb8], 0
jle 0x140049d00
mov rdx, r12
mov rcx, rbx
call fcn.1400ed7a0
mov rcx, r12
call fcn.1400eb370
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 0x140049d4c
test eax, eax
je 0x140049d56
mov edx, eax
mov rcx, rbx
call fcn.1400b9a70
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140049d65
call qword [0x140664450]
test r14d, r14d
js 0x140049d73
mov byte [r12 + 0xc3], 0xfe
mov rcx, r12
call fcn.1400ee7a0
mov ebx, eax
cmp eax, 0x11
je 0x140049cb2
jmp 0x140049e5b
mov rcx, qword [r13 + 0x180]
test rcx, rcx
jne 0x140049d9c
mov rsi, rdi
jmp 0x140049dd3
movzx edx, word [rcx + 0x14]
movzx eax, dx
mov r8d, 0x202
and ax, r8w
cmp ax, r8w
jne 0x140049dbf
cmp byte [rcx + 0x16], 1
jne 0x140049dbf
mov rsi, qword [rcx + 8]
jmp 0x140049dd3
test dl, 1
je 0x140049dc9
mov rsi, rdi
jmp 0x140049dd3
mov dl, 1
call fcn.1400e6660
mov rsi, rax
mov rdx, qword [r12 + 0xa8]
test rdx, rdx
je 0x140049de8
mov rcx, r13
call fcn.1400b8fc0
cmp byte [r13 + 0x67], 0
jne 0x140049e49
test rsi, rsi
jne 0x140049df9
mov r14, rdi
jmp 0x140049e2d
mov rbx, 0xffffffffffffffff
lea rbx, [rbx + 1]
cmp byte [rsi + rbx], 0
jne 0x140049e00
lea rdx, [rbx + 1]
mov rcx, r13
call fcn.1400b94e0
mov r14, rax
test rax, rax
je 0x140049e2d
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call fcn.1405e5db0
mov qword [r12 + 0xa8], r14
mov edx, r15d
mov rcx, r13
call fcn.1400b9a70
mov ebx, eax
mov dword [r12 + 0x34], eax
jmp 0x140049e5b
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 0x140049e70
call qword [0x140664450]
cmp ebx, 0x64
jne 0x14004a64d
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 0x140049eba
call qword [0x140664440]
mov rcx, qword [r12 + 0xa0]
test rcx, rcx
je 0x140049ed2
cmp di, word [r12 + 0xc0]
jb 0x140049eee
mov rcx, qword [r12]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.1400bd820
lea rcx, [0x140633c50]
movzx eax, word [rcx + 0x14]
test al, 2
je 0x140049f01
cmp byte [rcx + 0x16], 1
jne 0x140049f01
mov ebx, dword [rcx + 0x10]
jmp 0x140049f24
test al, 0x10
je 0x140049f13
mov ebx, dword [rcx + 0x10]
bt ax, 0xa
jae 0x140049f24
add ebx, dword [rcx]
jmp 0x140049f24
test al, 1
je 0x140049f1b
mov ebx, edi
jmp 0x140049f24
mov dl, 1
call fcn.1400e6ed0
mov ebx, eax
mov edx, dword [r12 + 0x34]
mov rcx, qword [r12]
cmp byte [rcx + 0x67], 0
jne 0x140049f3b
test edx, edx
jne 0x140049f3b
mov eax, edi
jmp 0x140049f40
call fcn.1400b9a70
mov dword [r12 + 0x34], eax
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140049f58
call qword [0x140664450]
movsxd rsi, ebx
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140049f6e
call qword [0x140664440]
mov rcx, qword [r12 + 0xa0]
test rcx, rcx
je 0x140049f86
cmp di, word [r12 + 0xc0]
jb 0x140049fa2
mov rcx, qword [r12]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.1400bd820
lea rcx, [0x140633c50]
movzx edx, word [rcx + 0x14]
movzx eax, dx
and ax, r15w
cmp ax, r15w
jne 0x140049fbf
cmp byte [rcx + 0x16], 1
jne 0x140049fbf
mov rbx, qword [rcx + 8]
jmp 0x140049fd3
test dl, 1
je 0x140049fc9
mov rbx, rdi
jmp 0x140049fd3
mov dl, 1
call fcn.1400e6660
mov rbx, rax
mov edx, dword [r12 + 0x34]
mov rcx, qword [r12]
cmp byte [rcx + 0x67], 0
jne 0x140049fea
test edx, edx
jne 0x140049fea
mov eax, edi
jmp 0x140049fef
call fcn.1400b9a70
mov dword [r12 + 0x34], eax
mov rax, qword [r12]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14004a007
call qword [0x140664450]
test rbx, rbx
je 0x14004a021
test rsi, rsi
je 0x14004a021
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140034fd0
cmp qword [rsp + 0x50], 0
jne 0x14004a06f
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140049c80
inc rdx
mov rcx, qword [rsp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14004a065
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac40
call fcn.14005fc58
jmp 0x140049c80
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call fcn.14005f2e4
mov rbx, qword [rsp + 0x50]
cmp rbx, 7
jbe 0x14004a129
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov r8d, 7
lea rdx, [rbp + 0x58]
call fcn.1405eb350
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x14004a129
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 0x14004a0f6
sub r9, r8
mov rax, rbx
sub rax, rdi
cmp rax, r9
cmovb r9, rax
jmp 0x14004a105
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.1405e5db0
mov qword [rsp + 0x50], rbx
mov r14d, 1
cmp rbx, 8
jbe 0x14004a1c4
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov r8d, 8
lea rdx, [rbp + 0x48]
call fcn.1405eb350
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x14004a1c4
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 0x14004a195
sub r9, r8
mov rax, rbx
sub rax, rdi
cmp rax, r9
cmovb r9, rax
jmp 0x14004a1a4
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.1405e5db0
mov qword [rsp + 0x50], rbx
jmp 0x14004a1cd
test r14d, r14d
je 0x14004a029
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 0x14004a2c7
mov r8, rbx
mov edx, 0x2f
mov rcx, rsi
call fcn.1405e6800
test rax, rax
je 0x14004a2c7
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x14004a2c7
lea rcx, [rbx - 1]
cmp rax, rcx
jae 0x14004a2c7
inc rax
lea rsi, [rsp + 0x40]
test r12b, r12b
cmovne rsi, r14
cmp rax, rbx
jae 0x14004a2c7
mov r8, rbx
sub r8, rax
lea rcx, [rsi + rax]
mov edx, 0x2f
call fcn.1405e6800
mov rdx, rax
test rax, rax
je 0x14004a2c7
sub rdx, rsi
cmp rdx, 0xffffffffffffffff
je 0x14004a2c7
lea rcx, [rsp + 0x40]
test r12b, r12b
je 0x14004a273
mov r9, rbx
sub r9, rdx
jmp 0x14004a292
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.1405e5db0
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, [0x14063f630]
call fcn.1405eb3d8
mov rsi, qword [rbp - 0x40]
test rax, rax
je 0x14004a3f5
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 0x14004a320
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140082fa0
nop
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x14004a39e
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea r8, [rbp]
mov edx, eax
call fcn.14005db50
test eax, eax
je 0x14004a453
cmp rsi, r13
je 0x14004a382
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 0x14004a39e
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 0x14004a3da
inc rdx
mov rcx, qword [rsp + 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14004a3d5
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac34
call fcn.14005fc58
lea r8, [rbp + 0x40]
lea rdx, [0x14063f630]
xor ecx, ecx
call fcn.1405eb3d8
test rax, rax
jne 0x14004a300
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 0x14004a4ad
test r8, r8
je 0x14004a595
sub r13, r8
and r13, 0xffffffffffffffe0
mov rax, r8
cmp r13, 0x1000
jb 0x14004a448
add r13, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac3a
mov rdx, r13
mov rcx, r8
jmp 0x14004a58f
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 0x14004a3fe
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a49e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac34
call fcn.14005fc58
mov r8, qword [rsp + 0x60]
jmp 0x14004a3fe
mov rbx, qword [0x1409b31c0]
cmp rbx, qword [0x1409b31c8]
je 0x14004a555
mov rax, qword [rbx]
mov r15, qword [rbx + 8]
sub r15, rax
sar r15, 5
cmp rsi, r15
jb 0x14004a607
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 0x14004a526
mov rsi, rax
nop dword [rax + rax]
lea rcx, [r12 + rsi]
mov r8d, 0x20
mov rdx, rsi
call fcn.1405e68a0
test eax, eax
jne 0x14004a5e9
inc r14
add rsi, 0x20
cmp r14, r15
jb 0x14004a500
mov esi, dword [rbx + 0x1c]
mov dword [rbp + 0x328], 1
mov edx, dword [rbx + 0x18]
mov rcx, qword [rbp + 0x318]
call fcn.1400817f0
test eax, eax
je 0x14004a555
mov edx, esi
mov rcx, qword [rbp + 0x320]
call fcn.1400817f0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004a595
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a58f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac3a
call fcn.14005fc58
nop
mov rdx, qword [rsp + 0x58]
mov r15d, 0x202
mov r12, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140049c80
inc rdx
mov rcx, qword [rsp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14004a5db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac40
call fcn.14005fc58
mov r12, qword [rbp - 0x70]
jmp 0x140049c80
inc r13
add r12, 0x20
cmp r13, qword [rbp]
mov rax, qword [rbx]
jbe 0x14004a4f0
mov rsi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
add rbx, 0x20
jmp 0x14004a4b4
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, 0x15
call fcn.1400bc6f0
lea r14, [0x14063f504]
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.1400bc6f0
jmp 0x14004a654
lea r14, [0x14063f504]
mov r13, qword [rbp + 0x60]
test r12, r12
je 0x14004a6ef
mov rbx, qword [r12]
test rbx, rbx
jne 0x14004a69c
lea rdx, str.API_called_with_finalized_prepared_statement
lea ecx, [rbx + 0x15]
call fcn.1400bc6f0
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.1400bc6f0
jmp 0x14004a6ef
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004a6ab
call qword [0x140664440]
cmp qword [r12 + 0xb8], 0
jle 0x14004a6c1
mov rdx, r12
mov rcx, rbx
call fcn.1400ed7a0
mov rcx, r12
call fcn.1400eb370
mov esi, eax
mov rcx, r12
call fcn.1400eb670
cmp byte [rbx + 0x67], 0
jne 0x14004a6dd
test esi, esi
je 0x14004a6e7
mov edx, esi
mov rcx, rbx
call fcn.1400b9a70
mov rcx, rbx
call fcn.14017ba30
mov r12, qword [rbp + 0x310]
mov r15, qword [rbp + 0x20]
test r15, r15
je 0x14004a757
movzx eax, byte [r15 + 0x71]
cmp al, 0xba
je 0x14004a877
cmp al, 0x76
je 0x14004a877
cmp al, 0x6d
je 0x14004a877
lea r8, str.invalid
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, 0x15
call fcn.1400bc6f0
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.1400bc6f0
lea r15, [r13 + 0x14]
cmp qword [rbp - 0x58], 0
je 0x14004a777
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 0x14004a7b2
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a7ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac46
call fcn.14005fc58
movdqa xmm0, xmmword [0x14063fa30]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14004a803
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a7fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004abce
call fcn.14005fc58
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
test r13, r13
je 0x14004a855
sub r15, r13
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x14004a84c
add rdx, 0x27
mov rcx, qword [r13 - 8]
sub r13, rcx
lea rax, [r13 - 8]
cmp rax, 0x1f
ja 0x14004abd4
mov r13, rcx
mov rcx, r13
call fcn.14005fc58
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 0x14004a886
call qword [0x140664440]
test byte [r15 + 0x6e], 8
je 0x14004a8a5
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 0x14004a8f7
mov rsi, rdi
mov rax, qword [r15 + 0x20]
mov rbx, qword [rax + rsi + 0x18]
test rbx, rbx
je 0x14004a8ea
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x14004a8ea
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
cmp byte [rdx + 0x3f], 1
jne 0x14004a8e2
mov rcx, r15
call fcn.140156360
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14004a8d0
inc r14d
add rsi, 0x20
cmp r14d, dword [r15 + 0x28]
jl 0x14004a8b1
mov rbx, qword [r15 + 0x210]
test rbx, rbx
je 0x14004a920
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + 0x28]
test rdx, rdx
je 0x14004a918
mov rcx, r15
call fcn.140156360
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14004a903
mov rcx, r15
call fcn.140156410
mov edx, 0x88
mov rcx, r15
call fcn.140157a90
mov rcx, r15
call fcn.14017b6d0
mov rcx, r15
test eax, eax
je 0x14004ab4d
lea r8, str.unable_to_close_due_to_unfinalized_statements_or_unfinished_backups
mov edx, 5
call fcn.1400bd960
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14004a968
call qword [0x140664450]
mov rbx, rdi
mov rsi, rdi
nop
movzx eax, byte [r15 + 0x71]
cmp al, 0x76
jne 0x14004aa01
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14004a990
call qword [0x140664440]
mov rcx, qword [r15 + 0x18]
test rbx, rbx
jne 0x14004a99b
mov rbx, qword [r15 + 8]
jmp 0x14004a99f
mov rbx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004a9aa
call qword [0x140664450]
test rbx, rbx
je 0x14004a9c3
mov rcx, rbx
call fcn.1400ed850
inc rsi
cmp rsi, 0x989680
jb 0x14004a970
lea rbx, [0x14063f504]
movzx eax, byte [r15 + 0x71]
cmp al, 0xba
je 0x14004aa57
cmp al, 0x76
je 0x14004aa57
cmp al, 0x6d
je 0x14004aa57
lea r8, str.invalid
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, 0x15
call fcn.1400bc6f0
mov qword [rsp + 0x20], rbx
jmp 0x14004a739
cmp al, 0xba
je 0x14004aa10
cmp al, 0x6d
lea r8, str.invalid
jne 0x14004aa17
lea r8, str.unopened
mov ecx, 0x15
lea rdx, str.API_call_with__s_database_connection_pointer
call fcn.1400bc6f0
lea rbx, [0x14063f504]
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.1400bc6f0
jmp 0x14004a9ca
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14004aa66
call qword [0x140664440]
test byte [r15 + 0x6e], 8
je 0x14004aa85
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 0x14004aad7
mov rsi, rdi
mov rax, qword [r15 + 0x20]
mov rbx, qword [rax + rsi + 0x18]
test rbx, rbx
je 0x14004aaca
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x14004aaca
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
cmp byte [rdx + 0x3f], 1
jne 0x14004aac2
mov rcx, r15
call fcn.140156360
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14004aab0
inc r14d
add rsi, 0x20
cmp r14d, dword [r15 + 0x28]
jl 0x14004aa91
mov rbx, qword [r15 + 0x210]
test rbx, rbx
je 0x14004ab00
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + 0x28]
test rdx, rdx
je 0x14004aaf8
mov rcx, r15
call fcn.140156360
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14004aae3
mov rcx, r15
call fcn.140156410
mov edx, 0x88
mov rcx, r15
call fcn.140157a90
mov rcx, r15
call fcn.14017b6d0
mov rcx, r15
test eax, eax
je 0x14004ab4d
lea r8, str.unable_to_close_due_to_unfinalized_statements_or_unfinished_backups
mov edx, 5
call fcn.1400bd960
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14004a757
call qword [0x140664450]
jmp 0x14004a757
mov byte [r15 + 0x71], 0xa7
call fcn.14017ba30
jmp 0x14004a757
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.1405e5db0
mov qword [rbp - 0x18], rbx
jmp 0x14004a75b
call fcn.140070b34
nop
call fcn.140070b34
int3
lea rcx, [0x1409b3bcc]
call fcn.14006e540
cmp dword [0x1409b3bcc], 0xffffffff
jne 0x140049626
lea rcx, [0x14060e270]
call fcn.14057a34c
lea rcx, [0x1409b3bcc]
call fcn.14000dee8
jmp 0x140049626
call fcn.1400358f0
int3
call fcn.140070b34
int3
call fcn.140070b34
nop
call fcn.140070b34
int3
call fcn.140070b34
nop
call fcn.140070b34
nop
call fcn.140070b34
nop
call fcn.140070b34
nop
call fcn.140070b34
nop
call fcn.140070b34
int3