Function at 0x140012494
Capabilities:
Copy file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [0x14036b028]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, r9
mov rsi, r8
mov qword [rsp + 0x58], r8
mov r15, rdx
mov qword [rsp + 0x60], rdx
mov r13, rcx
mov qword [rsp + 0x68], rcx
mov rax, qword [rbp + 0x208]
mov qword [rsp + 0x70], rax
mov r12, qword [rbp + 0x210]
mov rcx, qword [rbp + 0x218]
mov qword [rsp + 0x50], rcx
mov rax, qword [rbp + 0x220]
mov qword [rbp - 0x68], rax
xor r14d, r14d
cmp dword [r13 + 0x98], r14d
je 0x140012555
mov ebx, dword [r13 + 0x98]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x14001254c
cmp byte [r13 + 0x91], r14b
jne 0x14001254c
test ebx, ebx
je 0x14001254c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r13 + 0x98], eax
je 0x14001254c
cmp byte [r13 + 0x91], r14b
je 0x14001347b
mov rax, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x50]
cmp qword [r15 + 0x10], r14
je 0x14001347b
cmp qword [rsi + 0x10], r14
je 0x14001347b
cmp qword [rdi + 0x10], r14
je 0x14001347b
test r12, r12
je 0x14001347b
test rcx, rcx
je 0x14001347b
test rax, rax
je 0x14001347b
mov byte [rcx], r14b
mov byte [rax], r14b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x14001347b
mov qword [r13 + 0xa0], rax
mov qword [rbp + 0x110], rax
mov rax, qword [r13 + 0xa8]
mov qword [rbp + 0x118], rax
mov dword [r13 + 0x9c], 0x8000000a
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rax, vtable.ClassPtr_class_WebClient_.0
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r14
lea rcx, [rbp - 0x20]
call fcn.140072d38
mov ebx, eax
xor eax, eax
mov dword [rbp - 0x18], eax
mov rcx, qword [r13 + 0xf8]
or rsi, 0xffffffffffffffff
test rcx, rcx
je 0x140012627
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
lea rdx, [rbp - 0x18]
call qword [case.0x140066ca3.0]
cmp dword [rbp - 0x18], 1
jne 0x140012627
xor edx, edx
jmp 0x14001264d
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x140012634
mov rcx, qword [r15]
mov r8b, 1
lea rdx, str.UpdateOfficeConfig
call fcn.1400c82e4
xor edx, edx
test al, al
je 0x1400126f7
mov r14b, 1
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x14001265d
mov rcx, qword [r15]
lea rax, str.downloadId
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xb0], 1
mov qword [rbp + 0xc0], rcx
test rcx, rcx
je 0x14001268f
mov rax, rsi
inc rax
cmp word [rcx + rax*2], dx
jne 0x140012684
jmp 0x140012692
mov rax, rdx
mov qword [rbp + 0xc8], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0xd96eaa95
lea rax, [0x140314218]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x3b9
lea rdx, str.D:dbs_shodct1010_172940_0cmdzclientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x10]
call fcn.14007697c
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x10]
call fcn.140078b60
call fcn.140078614
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x140012701
int3
mov rax, qword [rcx]
mov r9b, r14b
mov dl, byte [rbp + 0x200]
mov r8b, dl
mov rax, qword [rax + 0x60]
call qword [case.0x140066ca3.0]
xor r14d, r14d
cmp qword [r13 + 0xc0], r14
je 0x140012743
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x140012730
int3
lea r8, [r13 + 0xd0]
lea rdx, [r13 + 0xb0]
call fcn.1400759b8
test ebx, ebx
js 0x1400132a6
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x140012755
int3
mov r14, qword [rsp + 0x58]
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x140012767
mov r8, qword [r14]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140012774
mov rdx, qword [r15]
mov qword [rsp + 0x20], r13
mov r9b, 1
call fcn.140073470
mov ebx, eax
test eax, eax
js 0x1400132ab
mov r9d, 0xdbba0
xor r8d, r8d
lea rdx, [rbp + 0x110]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov r14d, eax
xor eax, eax
test r14d, r14d
jne 0x140013414
cmp dword [r13 + 0x9c], eax
jl 0x140013414
xor r14d, r14d
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r14w
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x1400127e6
int3
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x30]
call fcn.1400742e4
mov ebx, eax
test eax, eax
js 0x140013285
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r14w
mov byte [rbp - 0x60], r14b
mov qword [rbp + 0x70], r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
mov rdx, rdi
mov r15d, 8
cmp qword [rdi + 0x18], r15
jb 0x140012843
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 0x70]
call fcn.14000e6ec
nop
lea rcx, [rbp + 0x70]
call fcn.140078f54
mov r8, qword [rbp - 0x48]
test r8, r8
je 0x140012ed9
mov qword [rbp - 0x10], r14
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], r15
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x10]
call fcn.14000e6ec
nop
lea rcx, [rbp - 0x10]
call fcn.140078f54
mov rdx, rdi
cmp qword [rdi + 0x18], r15
jb 0x14001289f
mov rdx, qword [rdi]
lea rcx, [rbp + 0x10]
call fcn.14007905c
mov rbx, rax
cmp qword [rax + 0x18], r15
jb 0x1400128b4
mov rbx, qword [rax]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], r15
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rsp + 0x78]
call fcn.14007905c
nop
cmp qword [rax + 0x18], r15
jb 0x1400128d5
mov rax, qword [rax]
lea r13, str.sourcePath
mov qword [rbp + 0xd8], r13
mov r15d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rbp + 0xd0], r15d
mov qword [rbp + 0xe0], rax
test rax, rax
je 0x14001290b
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x1400128ff
jmp 0x14001290e
mov rcx, r14
mov qword [rbp + 0xe8], rcx
lea rax, str.destinationPath
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0xf0], r15d
mov qword [rbp + 0x100], rbx
test rbx, rbx
je 0x140012945
mov rax, rsi
inc rax
cmp word [rbx + rax*2], r14w
jne 0x140012939
jmp 0x140012948
mov rax, r14
mov qword [rbp + 0x108], rax
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0xe2783c33
lea rax, [0x140314218]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x3df
lea rdx, str.D:dbs_shodct1010_172940_0cmdzclientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x40]
call fcn.14007697c
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140078b60
call fcn.140078614
nop
lea rcx, [rsp + 0x78]
call fcn.140007e18
nop
lea rcx, [rbp + 0x10]
call fcn.140007e18
mov rcx, qword [rsp + 0x68]
cmp qword [rcx + 0x18], r14
jne 0x1400129ce
int3
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea r9, [rbp + 0xb0]
lea r8, [rbp - 0x60]
mov rax, qword [rax + 0x50]
call qword [case.0x140066ca3.0]
mov r8, qword [rbp + 0xc0]
test r8, r8
jne 0x140012a0e
mov ebx, 0xc02500b7
jmp 0x140012ecb
mov ebx, eax
test eax, eax
js 0x140012ecb
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140012a27
mov rcx, qword [r12]
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
setae r10b
cmovae rdx, qword [rbp + 0xb0]
cmp r8, qword [r12 + 0x10]
jne 0x140012a69
test r8, r8
je 0x140012a64
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp ax, word [rcx]
jne 0x140012a69
add rcx, 2
sub r8, 1
jne 0x140012a51
mov r9b, r14b
jmp 0x140012a6c
mov r9b, 1
mov r14, qword [rbp - 0x68]
mov byte [r14], r9b
lea rax, [rbp + 0xb0]
test r10b, r10b
cmovne rax, qword [rbp + 0xb0]
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140012a94
mov rcx, qword [r12]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov edx, 0x3ea
call fcn.14000f360
xor eax, eax
cmp byte [r14], al
je 0x140012da3
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x68], rax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x38]
xor r14d, r14d
test rcx, rcx
je 0x140013486
mov rax, qword [rcx]
lea rdx, [rbp - 0x68]
mov rax, qword [rax + 0x10]
call qword [case.0x140066ca3.0]
mov ebx, eax
test eax, eax
js 0x140012ecb
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012af8
mov rdx, qword [rdi]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140012c52
lea rdx, [rbp + 0xb0]
mov rcx, r12
call fcn.14000dee4
mov al, byte [rbp - 0x60]
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012b3d
mov rdx, qword [rdi]
lea rcx, [rsp + 0x78]
call fcn.14007905c
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x140012b54
mov r14, qword [rax]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.14007905c
nop
cmp qword [rax + 0x18], 8
jb 0x140012b76
mov rax, qword [rax]
mov qword [rbp + 0xd8], r13
mov dword [rbp + 0xd0], r15d
mov qword [rbp + 0xe0], rax
xor edx, edx
test rax, rax
je 0x140012ba0
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], dx
jne 0x140012b95
jmp 0x140012ba3
mov rcx, rdx
mov qword [rbp + 0xe8], rcx
lea rax, str.destinationPath
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0xf0], r15d
mov qword [rbp + 0x100], r14
test r14, r14
je 0x140012bda
inc rsi
cmp word [r14 + rsi*2], dx
jne 0x140012bcb
xor r14d, r14d
jmp 0x140012bdd
mov rsi, r14
mov qword [rbp + 0x108], rsi
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x9abdea0a
lea rax, [0x140314218]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x3f5
lea rdx, str.D:dbs_shodct1010_172940_0cmdzclientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x40]
call fcn.14007697c
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140078b60
call fcn.140078614
nop
lea rcx, [rbp + 0x10]
call fcn.140007e18
nop
jmp 0x140012ec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012c73
mov rdx, qword [rdi]
lea rcx, [rsp + 0x78]
call fcn.14007905c
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x140012c8a
mov r14, qword [rax]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.14007905c
nop
cmp qword [rax + 0x18], 8
jb 0x140012cac
mov rax, qword [rax]
mov qword [rbp + 0x128], r13
mov dword [rbp + 0x120], r15d
mov qword [rbp + 0x130], rax
xor edx, edx
test rax, rax
je 0x140012cd6
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], dx
jne 0x140012ccb
jmp 0x140012cd9
mov rcx, rdx
mov qword [rbp + 0x138], rcx
lea rax, str.destinationPath
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x140], r15d
mov qword [rbp + 0x150], r14
test r14, r14
je 0x140012d10
inc rsi
cmp word [r14 + rsi*2], dx
jne 0x140012d01
xor r14d, r14d
jmp 0x140012d13
mov rsi, r14
mov qword [rbp + 0x158], rsi
lea rax, str.result
mov qword [rbp + 0x168], rax
mov eax, 3
mov dword [rbp + 0x160], eax
mov dword [rbp + 0x170], ebx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x630bae95
lea rax, [0x140314218]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x3fb
lea rdx, str.D:dbs_shodct1010_172940_0cmdzclientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x40]
call fcn.14007697c
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x40]
call fcn.140078b60
call fcn.140078614
nop
lea rcx, [rbp + 0x10]
call fcn.140007e18
nop
jmp 0x140012ec0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012db0
mov rdx, qword [rdi]
lea rcx, [rsp + 0x78]
call fcn.14007905c
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x140012dc7
mov r14, qword [rax]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.14007905c
nop
cmp qword [rax + 0x18], 8
jb 0x140012de9
mov rax, qword [rax]
mov qword [rbp + 0xd8], r13
mov dword [rbp + 0xd0], r15d
mov qword [rbp + 0xe0], rax
xor edx, edx
test rax, rax
je 0x140012e13
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], dx
jne 0x140012e08
jmp 0x140012e16
mov rcx, rdx
mov qword [rbp + 0xe8], rcx
lea rax, str.destinationPath
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0xf0], r15d
mov qword [rbp + 0x100], r14
test r14, r14
je 0x140012e4d
inc rsi
cmp word [r14 + rsi*2], dx
jne 0x140012e3e
xor r14d, r14d
jmp 0x140012e50
mov rsi, r14
mov qword [rbp + 0x108], rsi
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0xf8f04ff3
lea rax, [0x140314218]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x401
lea rdx, str.D:dbs_shodct1010_172940_0cmdzclientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x40]
call fcn.14007697c
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140078b60
call fcn.140078614
nop
lea rcx, [rbp + 0x10]
call fcn.140007e18
nop
lea rcx, [rsp + 0x78]
call fcn.140007e18
nop
lea rcx, [rbp - 0x10]
call fcn.140007e18
jmp 0x1400131f8
mov rdx, rdi
cmp qword [rdi + 0x18], r15
jb 0x140012ee5
mov rdx, qword [rdi]
lea rcx, [rsp + 0x78]
call fcn.14007905c
mov rbx, rax
cmp qword [rax + 0x18], r15
jb 0x140012efb
mov rbx, qword [rax]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], r15
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.14007905c
nop
cmp qword [rax + 0x18], r15
jb 0x140012f1b
mov rax, qword [rax]
lea r13, str.sourcePath
mov qword [rbp + 0xd8], r13
mov r15d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rbp + 0xd0], r15d
mov qword [rbp + 0xe0], rax
test rax, rax
je 0x140012f51
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x140012f45
jmp 0x140012f54
mov rcx, r14
mov qword [rbp + 0xe8], rcx
lea rax, str.destinationPath
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0xf0], r15d
mov qword [rbp + 0x100], rbx
test rbx, rbx
je 0x140012f88
inc rsi
cmp word [rbx + rsi*2], r14w
jne 0x140012f7c
jmp 0x140012f8b
mov rsi, r14
mov qword [rbp + 0x108], rsi
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0xea142391
lea rax, [0x140314218]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x408
lea rdx, str.D:dbs_shodct1010_172940_0cmdzclientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x40]
call fcn.14007697c
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140078b60
call fcn.140078614
nop
lea rcx, [rbp + 0x10]
call fcn.140007e18
nop
lea rcx, [rsp + 0x78]
call fcn.140007e18
mov qword [rbp - 0x38], r14
xor edx, edx
lea r8d, [rdx + 0x50]
lea rcx, [rbp + 0x120]
call fcn.140022e70
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140013475
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
mov rax, qword [rax + 0x10]
call qword [case.0x140066ca3.0]
mov ebx, eax
test eax, eax
js 0x1400131e1
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rbp + 0x120]
mov rax, qword [rax + 0x60]
call qword [case.0x140066ca3.0]
mov ebx, eax
test eax, eax
js 0x1400131e1
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140013085
mov rcx, qword [rdi]
lea r8, [rbp - 0x38]
mov edx, 0x1001
call qword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
mov ebx, eax
test eax, eax
js 0x1400131e1
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp - 0x38]
mov rax, qword [rax + 0x38]
call qword [case.0x140066ca3.0]
mov ebx, eax
test eax, eax
js 0x1400131e1
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x40]
call qword [case.0x140066ca3.0]
mov ebx, eax
test eax, eax
js 0x1400131e1
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140013104
mov qword [rbp - 0x38], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140066ca3.0]
nop
lea r9, [rbp - 0x60]
lea r8, [rbp + 0xb0]
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.140010994
mov ebx, eax
test eax, eax
js 0x1400131e1
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140013135
mov rcx, qword [r12]
lea r8, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
setae r10b
cmovae r8, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xc0]
cmp rdx, qword [r12 + 0x10]
jne 0x14001317f
test rdx, rdx
je 0x14001317a
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14001317f
add rcx, 2
sub rdx, 1
jne 0x140013166
mov r9b, r14b
jmp 0x140013182
mov r9b, 1
mov r14, qword [rbp - 0x68]
mov byte [r14], r9b
lea rax, [rbp + 0xb0]
xor esi, esi
test r10b, r10b
cmovne rax, qword [rbp + 0xb0]
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x1400131ac
mov rcx, qword [r12]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov edx, 0x42c
call fcn.14000f360
cmp byte [r14], sil
je 0x1400131de
lea rdx, [rbp + 0xb0]
mov rcx, r12
call fcn.14000dee4
mov al, byte [rbp - 0x60]
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
xor r14d, r14d
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400131f8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140066ca3.0]
nop
test ebx, ebx
js 0x140013265
cmp qword [rbp + 0xc0], r14
je 0x140013265
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140013212
mov rdx, qword [rdi]
lea rcx, [rbp + 0x10]
call fcn.14007905c
nop
cmp qword [rax + 0x18], 8
jb 0x140013226
mov rax, qword [rax]
mov r15, qword [rsp + 0x60]
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x140013238
mov rcx, qword [r15]
mov rsi, qword [rsp + 0x58]
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001324a
mov r9, qword [rsi]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
call fcn.14000f46c
nop
lea rcx, [rbp + 0x10]
call fcn.140007e18
jmp 0x14001326a
mov r15, qword [rsp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.140007e18
nop
lea rcx, [rbp + 0xb0]
call fcn.140007e18
mov r13, qword [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.140007e18
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400132a6
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140066ca3.0]
nop
mov r14, qword [rsp + 0x58]
xor esi, esi
lea r12, vtable.ClassPtr_class_WebClient_.0
lea rdx, [r13 + 0xf0]
mov dword [rdx], esi
mov qword [rbp + 0x90], rsi
movdqa xmm0, xmmword [0x140315b50]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], si
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x1400132e5
int3
lea r8, [rbp + 0x90]
call fcn.1400743b8
mov rcx, qword [r13 + 0xa0]
test rcx, rcx
je 0x14001330a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r13 + 0xa0], rsi
test ebx, ebx
jns 0x140013366
cmp qword [rdi + 0x18], 8
jb 0x140013318
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.14007905c
nop
cmp qword [rax + 0x18], 8
jb 0x14001332f
mov rax, qword [rax]
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x14001333c
mov rcx, qword [r15]
cmp qword [r14 + 0x18], 8
jb 0x140013346
mov r14, qword [r14]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, r14
call fcn.14000f594
nop
lea rcx, [rbp + 0x10]
call fcn.140007e18
call fcn.1400c5e70
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x358]
mov rcx, rdx
call qword [case.0x140066ca3.0]
test al, al
je 0x1400133c3
cmp qword [r15 + 0x18], 8
jb 0x14001338f
mov r15, qword [r15]
mov r8b, 1
lea rdx, str.UpdateXml
mov rcx, r15
call fcn.1400c82e4
test al, al
je 0x1400133c3
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x1400133af
int3
mov r8d, dword [rax + 0x144]
mov edx, dword [r13 + 0x9c]
call fcn.140016008
nop
lea rcx, [rbp + 0x90]
call fcn.140007e18
nop
mov qword [rbp - 0x28], r12
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x20], rsi
test rcx, rcx
je 0x1400133ef
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140066ca3.0]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140020ae0
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r12, vtable.ClassPtr_class_WebClient_.0
mov qword [rbp - 0x10], r12
xor esi, esi
mov ecx, esi
mov qword [rbp - 8], rcx
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x140013444
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140066ca3.0]
mov rcx, qword [rbp - 8]
mov qword [rbp - 8], rbx
test rcx, rcx
je 0x14001345a
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140066ca3.0]
lea r8, [rbp - 0x10]
mov edx, r14d
mov rcx, r13
call fcn.140015708
mov ebx, eax
mov r14, qword [rsp + 0x58]
jmp 0x1400132b4
call fcn.140020790
nop
mov ecx, 0x80004005
call fcn.140007be8
nop
call fcn.140020790
int3