Function at 0x140012c34
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 [0x140370028]
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 0x140012cf5
mov ebx, dword [r13 + 0x98]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x140012cec
cmp byte [r13 + 0x91], r14b
jne 0x140012cec
test ebx, ebx
je 0x140012cec
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r13 + 0x98], eax
je 0x140012cec
cmp byte [r13 + 0x91], r14b
je 0x140013c1b
mov rax, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x50]
cmp qword [r15 + 0x10], r14
je 0x140013c1b
cmp qword [rsi + 0x10], r14
je 0x140013c1b
cmp qword [rdi + 0x10], r14
je 0x140013c1b
test r12, r12
je 0x140013c1b
test rcx, rcx
je 0x140013c1b
test rax, rax
je 0x140013c1b
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 0x140013c1b
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.140073f88
mov ebx, eax
xor eax, eax
mov dword [rbp - 0x18], eax
mov rcx, qword [r13 + 0xf8]
or rsi, 0xffffffffffffffff
test rcx, rcx
je 0x140012dc7
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
lea rdx, [rbp - 0x18]
call qword [case.0x140067d03.0]
cmp dword [rbp - 0x18], 1
jne 0x140012dc7
xor edx, edx
jmp 0x140012ded
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x140012dd4
mov rcx, qword [r15]
mov r8b, 1
lea rdx, str.UpdateOfficeConfig
call fcn.1400ca01c
xor edx, edx
test al, al
je 0x140012e97
mov r14b, 1
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x140012dfd
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 0x140012e2f
mov rax, rsi
inc rax
cmp word [rcx + rax*2], dx
jne 0x140012e24
jmp 0x140012e32
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, [0x140319658]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x3b9
lea rdx, str.D:dbs_shodct0805_201717cmd1clientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x10]
call fcn.140077748
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x10]
call fcn.140079750
call fcn.140079204
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x140012ea1
int3
mov rax, qword [rcx]
mov r9b, r14b
mov dl, byte [rbp + 0x200]
mov r8b, dl
mov rax, qword [rax + 0x60]
call qword [case.0x140067d03.0]
xor r14d, r14d
cmp qword [r13 + 0xc0], r14
je 0x140012ee3
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x140012ed0
int3
lea r8, [r13 + 0xd0]
lea rdx, [r13 + 0xb0]
call fcn.140076c08
test ebx, ebx
js 0x140013a46
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x140012ef5
int3
mov r14, qword [rsp + 0x58]
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x140012f07
mov r8, qword [r14]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140012f14
mov rdx, qword [r15]
mov qword [rsp + 0x20], r13
mov r9b, 1
call fcn.1400746c0
mov ebx, eax
test eax, eax
js 0x140013a4b
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 0x140013bb4
cmp dword [r13 + 0x9c], eax
jl 0x140013bb4
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 0x140012f86
int3
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x30]
call fcn.140075534
mov ebx, eax
test eax, eax
js 0x140013a25
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 0x140012fe3
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 0x70]
call fcn.14000eea4
nop
lea rcx, [rbp + 0x70]
call fcn.140079b24
mov r8, qword [rbp - 0x48]
test r8, r8
je 0x140013679
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.14000eea4
nop
lea rcx, [rbp - 0x10]
call fcn.140079b24
mov rdx, rdi
cmp qword [rdi + 0x18], r15
jb 0x14001303f
mov rdx, qword [rdi]
lea rcx, [rbp + 0x10]
call fcn.140079c2c
mov rbx, rax
cmp qword [rax + 0x18], r15
jb 0x140013054
mov rbx, qword [rax]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], r15
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rsp + 0x78]
call fcn.140079c2c
nop
cmp qword [rax + 0x18], r15
jb 0x140013075
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 0x1400130ab
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x14001309f
jmp 0x1400130ae
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 0x1400130e5
mov rax, rsi
inc rax
cmp word [rbx + rax*2], r14w
jne 0x1400130d9
jmp 0x1400130e8
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, [0x140319658]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x3df
lea rdx, str.D:dbs_shodct0805_201717cmd1clientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x40]
call fcn.140077748
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140079750
call fcn.140079204
nop
lea rcx, [rsp + 0x78]
call fcn.140007f78
nop
lea rcx, [rbp + 0x10]
call fcn.140007f78
mov rcx, qword [rsp + 0x68]
cmp qword [rcx + 0x18], r14
jne 0x14001316e
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.0x140067d03.0]
mov r8, qword [rbp + 0xc0]
test r8, r8
jne 0x1400131ae
mov ebx, 0xc02500b7
jmp 0x14001366b
mov ebx, eax
test eax, eax
js 0x14001366b
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x1400131c7
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 0x140013209
test r8, r8
je 0x140013204
sub rdx, rcx
movzx eax, word [rcx + rdx]
cmp ax, word [rcx]
jne 0x140013209
add rcx, 2
sub r8, 1
jne 0x1400131f1
mov r9b, r14b
jmp 0x14001320c
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 0x140013234
mov rcx, qword [r12]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov edx, 0x3ea
call fcn.14000fb04
xor eax, eax
cmp byte [r14], al
je 0x140013543
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 0x140013c26
mov rax, qword [rcx]
lea rdx, [rbp - 0x68]
mov rax, qword [rax + 0x10]
call qword [case.0x140067d03.0]
mov ebx, eax
test eax, eax
js 0x14001366b
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140013298
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 0x1400133f2
lea rdx, [rbp + 0xb0]
mov rcx, r12
call fcn.14000e654
mov al, byte [rbp - 0x60]
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400132dd
mov rdx, qword [rdi]
lea rcx, [rsp + 0x78]
call fcn.140079c2c
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x1400132f4
mov r14, qword [rax]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.140079c2c
nop
cmp qword [rax + 0x18], 8
jb 0x140013316
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 0x140013340
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], dx
jne 0x140013335
jmp 0x140013343
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 0x14001337a
inc rsi
cmp word [r14 + rsi*2], dx
jne 0x14001336b
xor r14d, r14d
jmp 0x14001337d
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, [0x140319658]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x3f5
lea rdx, str.D:dbs_shodct0805_201717cmd1clientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x40]
call fcn.140077748
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140079750
call fcn.140079204
nop
lea rcx, [rbp + 0x10]
call fcn.140007f78
nop
jmp 0x140013660
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 0x140013413
mov rdx, qword [rdi]
lea rcx, [rsp + 0x78]
call fcn.140079c2c
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x14001342a
mov r14, qword [rax]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.140079c2c
nop
cmp qword [rax + 0x18], 8
jb 0x14001344c
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 0x140013476
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], dx
jne 0x14001346b
jmp 0x140013479
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 0x1400134b0
inc rsi
cmp word [r14 + rsi*2], dx
jne 0x1400134a1
xor r14d, r14d
jmp 0x1400134b3
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, [0x140319658]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x3fb
lea rdx, str.D:dbs_shodct0805_201717cmd1clientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x40]
call fcn.140077748
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x40]
call fcn.140079750
call fcn.140079204
nop
lea rcx, [rbp + 0x10]
call fcn.140007f78
nop
jmp 0x140013660
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140013550
mov rdx, qword [rdi]
lea rcx, [rsp + 0x78]
call fcn.140079c2c
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x140013567
mov r14, qword [rax]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.140079c2c
nop
cmp qword [rax + 0x18], 8
jb 0x140013589
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 0x1400135b3
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], dx
jne 0x1400135a8
jmp 0x1400135b6
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 0x1400135ed
inc rsi
cmp word [r14 + rsi*2], dx
jne 0x1400135de
xor r14d, r14d
jmp 0x1400135f0
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, [0x140319658]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x401
lea rdx, str.D:dbs_shodct0805_201717cmd1clientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x40]
call fcn.140077748
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140079750
call fcn.140079204
nop
lea rcx, [rbp + 0x10]
call fcn.140007f78
nop
lea rcx, [rsp + 0x78]
call fcn.140007f78
nop
lea rcx, [rbp - 0x10]
call fcn.140007f78
jmp 0x140013998
mov rdx, rdi
cmp qword [rdi + 0x18], r15
jb 0x140013685
mov rdx, qword [rdi]
lea rcx, [rsp + 0x78]
call fcn.140079c2c
mov rbx, rax
cmp qword [rax + 0x18], r15
jb 0x14001369b
mov rbx, qword [rax]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], r15
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.140079c2c
nop
cmp qword [rax + 0x18], r15
jb 0x1400136bb
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 0x1400136f1
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x1400136e5
jmp 0x1400136f4
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 0x140013728
inc rsi
cmp word [rbx + rsi*2], r14w
jne 0x14001371c
jmp 0x14001372b
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, [0x140319658]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::DownloadFile
mov r8d, 0x408
lea rdx, str.D:dbs_shodct0805_201717cmd1clientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp + 0x40]
call fcn.140077748
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140079750
call fcn.140079204
nop
lea rcx, [rbp + 0x10]
call fcn.140007f78
nop
lea rcx, [rsp + 0x78]
call fcn.140007f78
mov qword [rbp - 0x38], r14
xor edx, edx
lea r8d, [rdx + 0x50]
lea rcx, [rbp + 0x120]
call fcn.140023610
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140013c15
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
mov rax, qword [rax + 0x10]
call qword [case.0x140067d03.0]
mov ebx, eax
test eax, eax
js 0x140013981
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rbp + 0x120]
mov rax, qword [rax + 0x60]
call qword [case.0x140067d03.0]
mov ebx, eax
test eax, eax
js 0x140013981
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140013825
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 0x140013981
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.0x140067d03.0]
mov ebx, eax
test eax, eax
js 0x140013981
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x40]
call qword [case.0x140067d03.0]
mov ebx, eax
test eax, eax
js 0x140013981
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400138a4
mov qword [rbp - 0x38], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140067d03.0]
nop
lea r9, [rbp - 0x60]
lea r8, [rbp + 0xb0]
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.140011134
mov ebx, eax
test eax, eax
js 0x140013981
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x1400138d5
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 0x14001391f
test rdx, rdx
je 0x14001391a
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14001391f
add rcx, 2
sub rdx, 1
jne 0x140013906
mov r9b, r14b
jmp 0x140013922
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 0x14001394c
mov rcx, qword [r12]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov edx, 0x42d
call fcn.14000fb04
cmp byte [r14], sil
je 0x14001397e
lea rdx, [rbp + 0xb0]
mov rcx, r12
call fcn.14000e654
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 0x140013998
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140067d03.0]
nop
test ebx, ebx
js 0x140013a05
cmp qword [rbp + 0xc0], r14
je 0x140013a05
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400139b2
mov rdx, qword [rdi]
lea rcx, [rbp + 0x10]
call fcn.140079c2c
nop
cmp qword [rax + 0x18], 8
jb 0x1400139c6
mov rax, qword [rax]
mov r15, qword [rsp + 0x60]
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400139d8
mov rcx, qword [r15]
mov rsi, qword [rsp + 0x58]
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400139ea
mov r9, qword [rsi]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
call fcn.14000fc10
nop
lea rcx, [rbp + 0x10]
call fcn.140007f78
jmp 0x140013a0a
mov r15, qword [rsp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.140007f78
nop
lea rcx, [rbp + 0xb0]
call fcn.140007f78
mov r13, qword [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.140007f78
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140013a46
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140067d03.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 [0x14031af70]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], si
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x140013a85
int3
lea r8, [rbp + 0x90]
call fcn.140075608
mov rcx, qword [r13 + 0xa0]
test rcx, rcx
je 0x140013aaa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r13 + 0xa0], rsi
test ebx, ebx
jns 0x140013b06
cmp qword [rdi + 0x18], 8
jb 0x140013ab8
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.140079c2c
nop
cmp qword [rax + 0x18], 8
jb 0x140013acf
mov rax, qword [rax]
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x140013adc
mov rcx, qword [r15]
cmp qword [r14 + 0x18], 8
jb 0x140013ae6
mov r14, qword [r14]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, r14
call fcn.14000fd38
nop
lea rcx, [rbp + 0x10]
call fcn.140007f78
call fcn.1400c7ba0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x388]
mov rcx, rdx
call qword [case.0x140067d03.0]
test al, al
je 0x140013b63
cmp qword [r15 + 0x18], 8
jb 0x140013b2f
mov r15, qword [r15]
mov r8b, 1
lea rdx, str.UpdateXml
mov rcx, r15
call fcn.1400ca01c
test al, al
je 0x140013b63
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x140013b4f
int3
mov r8d, dword [rax + 0x144]
mov edx, dword [r13 + 0x9c]
call fcn.1400167a8
nop
lea rcx, [rbp + 0x90]
call fcn.140007f78
nop
mov qword [rbp - 0x28], r12
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x20], rsi
test rcx, rcx
je 0x140013b8f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140067d03.0]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140021280
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 0x140013be4
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140067d03.0]
mov rcx, qword [rbp - 8]
mov qword [rbp - 8], rbx
test rcx, rcx
je 0x140013bfa
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140067d03.0]
lea r8, [rbp - 0x10]
mov edx, r14d
mov rcx, r13
call fcn.140015ea8
mov ebx, eax
mov r14, qword [rsp + 0x58]
jmp 0x140013a54
call fcn.140020f30
nop
mov ecx, 0x80004005
call fcn.140007d28
nop
call fcn.140020f30
int3