Function at 0x18017ba90
Capabilities:
Get file size

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x300], rbx
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rdx
mov qword [rbp - 0x58], rdx
mov r15, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov dword [rcx + 0x100], r13d
mov qword [rbp + 0x58], r13
lea ecx, [r13 + 8]
call fcn.180385c34
mov qword [rsp + 0x38], rax
mov qword [rax], 0xffffffffffffffff
mov qword [rbp + 0x58], rax
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18017bb0f
mov rdx, qword [rbx]
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r13w
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x18017bb30
lea rcx, [rbp - 0x48]
call fcn.180004e70
nop
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov r9d, 1
mov r8d, 0xc0000000
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x58]
call fcn.180174090
test al, al
sete bl
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x18017bbb6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017bbb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017bbb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r13w
test bl, bl
je 0x18017bbe2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15 + 0x100], eax
mov esi, 2
jmp 0x18017c7af
xor eax, eax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf0], xmm0
lea ecx, [rax + 0x10]
call fcn.180385c34
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rcx, rax
call fcn.1801978e0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.18017dc80
nop
mov r14, qword [rbp - 0x68]
mov qword [rbp - 0x68], r13
mov qword [rbp + 0xf0], r14
mov r12, qword [rbp - 0x60]
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x60], r13
mov qword [rbp + 0xf8], r12
mov dword [rbp + 0x50], r13d
mov dword [rbp + 0x68], 4
call fcn.18019a670
mov rcx, rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
xor edx, edx
lea r8d, [rdx + 0x49]
call fcn.18019ac70
test eax, eax
je 0x18017bc88
cmp dword [rbp + 0x50], 0x40
jae 0x18017bcac
mov dword [rbp + 0xc8], 0x40
call fcn.18019a670
mov rcx, rax
lea r9, [rbp + 0xc8]
xor edx, edx
lea r8d, [rdx + 0x49]
call fcn.18019ad40
mov dword [rbp + 0x50], r13d
mov dword [rbp + 0x68], 4
call fcn.18019a670
mov rcx, rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
xor edx, edx
lea r8d, [rdx + 0x4a]
call fcn.18019ac70
test eax, eax
je 0x18017bce1
cmp dword [rbp + 0x50], 0x40
jae 0x18017bd05
mov dword [rbp + 0xc4], 0x40
call fcn.18019a670
mov rcx, rax
lea r9, [rbp + 0xc4]
xor edx, edx
lea r8d, [rdx + 0x4a]
call fcn.18019ad40
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], r13
mov qword [rbp + 8], r13
lea rsi, [r15 + 0xe0]
mov qword [rbp - 0x10], rsi
lea rdi, [r15 + 0xf8]
mov qword [rbp + 8], rdi
movdqu xmmword [rbp - 0x78], xmm0
test r12, r12
je 0x18017bd3b
lock inc dword [r12 + 8]
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r12
mov rax, qword [rbp - 8]
mov qword [rbp - 0x78], rax
mov qword [rbp - 8], r14
mov rcx, qword [rbp]
mov qword [rbp - 0x70], rcx
mov qword [rbp], r12
test rcx, rcx
je 0x18017bd94
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18017bd94
mov rbx, qword [rbp - 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18017bd94
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x60], rdi
test rdi, rdi
je 0x18017bdb0
mov rcx, qword [rdi]
test rcx, rcx
je 0x18017bdb0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdx, qword [rsi + 8]
cmp qword [rsi + 0x10], rdx
je 0x18017bdde
mov qword [rdx], r13
mov qword [rdx + 8], r13
test r12, r12
je 0x18017bdd0
lock inc dword [r12 + 8]
mov rdi, qword [rbp + 0x60]
mov qword [rdx], r14
mov qword [rdx + 8], r12
add qword [rsi + 8], 0x10
jmp 0x18017bded
lea r8, [rbp + 0xf0]
mov rcx, rsi
call fcn.180155600
test rdi, rdi
je 0x18017be07
mov rcx, qword [rdi]
test rcx, rcx
je 0x18017be00
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, r13
mov qword [rbp + 0x60], r13
mov esi, 2
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x18017c780
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x18017c780
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18017be48
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x18017c780
mov ecx, dword [rbp + 0xc0]
shl rcx, 0x20
add rcx, rbx
cmp rcx, 0x10000
jbe 0x18017c780
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x18017c80b
cmp qword [rcx], 0xffffffffffffffff
je 0x18017c80b
mov qword [rbp + 0xa8], r13
mov r9d, esi
lea r8, [rbp + 0xac]
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbp + 0xa8], eax
cmp eax, 0xffffffff
jne 0x18017beae
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x18017c80b
mov rax, qword [rbp + 0xa8]
add rax, 0xffffffffffff8000
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rcx
mov ecx, 0x38
call fcn.180385c34
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
lea rcx, vtable.RC::RCInternetHandle.0
mov qword [rax], rcx
mov qword [rax + 8], r13
lea rcx, vtable.RC::RCHttpFile.0
mov qword [rax], rcx
mov dword [rax + 0x10], r13d
mov qword [rax + 0x18], r13
mov byte [rax + 0x20], 0
mov qword [rax + 0x28], r13
mov dword [rax + 0x30], r13d
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.18017db80
nop
mov qword [rbp + 0xa0], r13
lea rbx, [r15 + 0x148]
mov qword [rbp + 0xa0], rbx
test rbx, rbx
je 0x18017bf59
mov rcx, qword [rbx]
test rcx, rcx
je 0x18017bf59
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov r13, qword [rbp + 0x78]
test r13, r13
je 0x18017bf7e
lock inc dword [r13 + 0xc]
mov rdi, qword [rbp + 0x60]
mov r13, qword [rbp + 0x78]
mov rbx, qword [rbp + 0xa0]
movdqa xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp - 0x20], xmm0
mov rax, qword [r15 + 0x150]
mov qword [rbp - 0x20], rax
movq r12, xmm0
mov qword [rbp + 0x70], r12
mov qword [r15 + 0x150], r12
mov rcx, qword [r15 + 0x158]
mov qword [rbp - 0x18], rcx
mov qword [r15 + 0x158], r13
test rcx, rcx
je 0x18017bfe6
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x18017bfd3
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0xa0]
mov r12, qword [rbp + 0x70]
mov r13, qword [rbp + 0x78]
mov rdi, qword [rbp + 0x60]
test rbx, rbx
je 0x18017c002
mov rcx, qword [rbx]
test rcx, rcx
je 0x18017bff9
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov qword [rbp + 0xa0], rax
mov r9, qword [rsp + 0x40]
mov r8, r14
mov rdx, r12
mov rcx, r15
call fcn.18017d3d0
test al, al
je 0x18017c76c
lea rdx, [rbp + 0x130]
mov rcx, r12
call fcn.180199b10
nop
lea rcx, [rbp + 0x130]
call fcn.18019d9a0
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp + 0x148]
cmp rdx, 8
jb 0x18017c08a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017c085
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017c085
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
xor r14d, r14d
mov qword [rbp + 0x140], r14
mov qword [rbp + 0x148], 7
mov word [rbp + 0x130], r14w
cmp qword [rbp + 0xa8], rbx
ja 0x18017c76c
mov rcx, qword [r15 + 0xa8]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18017c0ce
cmp rbx, rcx
jne 0x18017c76c
mov r8, r12
lea rdx, [rbp + 0x58]
mov rcx, r15
call fcn.18017d1b0
lea ecx, [rax - 1]
test ecx, 0xfffffffb
je 0x18017c76c
add eax, 0xfffffffe
cmp eax, 1
jbe 0x18017c769
lea rbx, [r15 + 0x18]
mov rdx, rbx
lea rcx, [rbp + 0x150]
call fcn.180004aa0
nop
mov qword [rbp + 0x170], r14
mov qword [rbp + 0x178], r14
mov byte [rbp + 0x180], 0
xor eax, eax
mov qword [rbp + 0x182], rax
mov qword [rbp + 0x18a], rax
lea r8, [rbp + 0x150]
mov rdx, r12
call fcn.18017d6d0
movzx ecx, byte [rbp + 0x180]
test al, al
mov eax, 1
cmove ecx, eax
mov byte [rbp + 0x180], cl
mov rax, qword [rbp + 0x170]
cmp rax, 0x8000
jb 0x18017c75b
cmp rax, 0xffffffffffffffff
je 0x18017c17d
sub rax, 0x8000
mov qword [rbp + 0x170], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x178], rax
mov r14, qword [r15 + 0xd0]
test r14, r14
je 0x18017c4e9
lea rdx, [rbp + 0x80]
mov rcx, r12
call fcn.180199a40
nop
cmp qword [rbp + 0x90], 0
jne 0x18017c3e6
mov r10, rbx
cmp qword [rbx + 0x18], 8
jb 0x18017c1c4
mov r10, qword [rbx]
mov qword [rbp + 0x38], 0xffffffffffffffff
mov rcx, qword [rbx + 0x10]
mov qword [rbp + 0x40], rcx
cmp rcx, 1
jb 0x18017c3e6
dec rcx
mov qword [rbp + 0x48], rcx
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r9, [r10 + rax*2]
nop word [rax + rax]
movzx edx, word [r9]
cmp dx, 0x2f
jne 0x18017c238
mov r8d, 1
lea rax, [0x1803c08e0]
mov rcx, r9
nop word [rax + rax]
cmp dx, word [rax]
jne 0x18017c238
add rcx, 2
add rax, 2
sub r8, 1
je 0x18017c247
movzx edx, word [rcx]
jmp 0x18017c220
cmp r9, r10
je 0x18017c3e6
sub r9, 2
jmp 0x18017c200
sub r9, r10
sar r9, 1
cmp r9, 0xffffffffffffffff
je 0x18017c3e6
inc r9
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], ax
mov rax, qword [rbx + 0x10]
cmp rax, r9
jb 0x18017c81e
mov qword [rbp + 0x10], 0xffffffffffffffff
sub rax, r9
mov qword [rbp + 0x28], rax
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rbx + 0x18], 8
jb 0x18017c2ab
mov rbx, qword [rbx]
lea rdx, [rbx + r9*2]
lea rcx, [rsp + 0x68]
call fcn.180004e70
mov ebx, 1
mov dword [rsp + 0x30], ebx
lea rcx, [rbp + 0x80]
call fcn.180004df0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x90], xmm1
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], ax
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], ax
xor r8d, r8d
lea rdx, [0x1803ccbf4]
lea rcx, [rbp + 0x80]
call fcn.18015a0c0
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x18017c3e6
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], ax
mov qword [rbp + 0x20], r8
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x18], rax
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.180004e70
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rcx, [rbp + 0x80]
call fcn.180004df0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x90], xmm1
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], ax
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], ax
mov rax, qword [r14]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x182]
mov rbx, qword [rbp - 0x58]
mov r8, rbx
lea rdx, [rbp + 0x80]
mov rcx, r14
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x98]
test al, al
jne 0x18017c488
cmp rdx, 8
jb 0x18017c466
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017c461
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017c461
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
xor eax, eax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], ax
mov esi, eax
jmp 0x18017c75b
cmp rdx, 8
jb 0x18017c4ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017c4c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017c4c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
xor r14d, r14d
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r14w
jmp 0x18017c4f0
mov rbx, qword [rbp - 0x58]
xor r14d, r14d
xor eax, eax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
lea rax, vtable.RC::ISimpleDownloadDataEvent.0
mov qword [rbp + 0xb0], rax
lea rax, vtable.DL::TSimpleDownloadDataEvent.0
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0x58]
mov qword [rbp + 0xb8], rax
lea r9, [rbp + 0x150]
mov r8, r12
lea rdx, [rbp + 0xb0]
mov rcx, r15
call fcn.18017d7d0
test al, al
je 0x18017c73c
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x18017c56f
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x18017c56f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18017c56f
mov rax, qword [rbp + 0x58]
mov qword [rax], 0xffffffffffffffff
cmp qword [r15 + 0xc0], 0
je 0x18017c6a4
xor eax, eax
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rax
lea rcx, [rbp + 0x100]
call fcn.180155320
nop
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.18015c990
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x100]
call fcn.180155500
nop
lea rdx, [r15 + 0xb0]
mov rax, qword [rdx + 0x10]
cmp qword [rbp + 0xe0], rax
jne 0x18017c6ae
cmp qword [rdx + 0x18], 8
jb 0x18017c5fb
mov rdx, qword [rdx]
lea rcx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 8
cmovae rcx, qword [rbp + 0xd0]
call fcn.180154610
test al, al
je 0x18017c6ae
mov rdx, qword [rbp + 0xe8]
cmp rdx, 8
jb 0x18017c668
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017c663
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017c663
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], 7
mov word [rbp + 0xd0], r14w
lea rcx, [rbp + 0x118]
call fcn.180004c90
nop
lea rax, vtable.RC::RCFileHash.0
mov qword [rbp + 0x100], rax
mov byte [rbp + 0x110], 1
mov esi, 1
jmp 0x18017c73f
mov dword [r15 + 0x100], r14d
mov rdx, qword [rbp + 0xe8]
cmp rdx, 8
jb 0x18017c6fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017c6f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017c6f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], 7
mov word [rbp + 0xd0], r14w
lea rcx, [rbp + 0x118]
call fcn.180004c90
nop
lea rax, vtable.RC::RCFileHash.0
mov qword [rbp + 0x100], rax
mov byte [rbp + 0x110], 1
jmp 0x18017c73f
mov esi, r14d
lea rax, vtable.DL::TSimpleDownloadDataEvent.0
mov qword [rbp + 0xb0], rax
lea rax, vtable.RC::ISimpleDownloadDataEvent.0
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x150]
call fcn.180004df0
jmp 0x18017c76c
mov esi, r14d
test r13, r13
je 0x18017c779
mov rcx, r13
call fcn.180003f60
xor r13d, r13d
mov r12, qword [rbp - 0x50]
test rdi, rdi
je 0x18017c797
mov rcx, qword [rdi]
test rcx, rcx
je 0x18017c793
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp + 0x60], r13
lea rcx, [rbp - 0x10]
call fcn.180179c60
nop
test r12, r12
je 0x18017c7af
mov rcx, r12
call fcn.180003f60
nop
mov rbx, qword [rbp + 0x58]
test rbx, rbx
je 0x18017c7df
mov rcx, qword [rbx]
lea r8, [rcx - 1]
cmp r8, 0xfffffffffffffffd
ja 0x18017c7ce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r13
mov edx, 8
mov rcx, rbx
call fcn.180385c70
mov qword [rbp + 0x58], r13
mov eax, esi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.180385c10
mov rbx, qword [rsp + 0x300]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov dword [r15 + 0x100], eax
jmp 0x18017c780
call fcn.18000ae60
int3