Function at 0x140023a20
Capabilities:
Get file size

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x310], rbx
mov rax, qword [0x140160188]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rdx
mov qword [rbp - 0x68], rdx
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov dword [rcx + 0x100], r13d
mov qword [rbp + 0x38], r13
lea ecx, [r13 + 8]
call fcn.1400ce694
mov qword [rsp + 0x38], rax
mov qword [rax], 0xffffffffffffffff
mov qword [rbp + 0x38], rax
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140023a9f
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 0x140023ac0
lea rcx, [rbp - 0x48]
call fcn.140003470
nop
mov eax, 1
cmp qword [rbp + 0x38], 0
jne 0x140023ae5
xor bl, bl
jmp 0x140023b06
mov dword [rsp + 0x20], 3
mov r9d, eax
mov r8d, 0xc0000000
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x38]
call fcn.140025e70
movzx ebx, al
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140023b46
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023b41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002479a
call fcn.1400cea54
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r13w
test bl, bl
jne 0x140023b72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x100], eax
mov esi, 2
jmp 0x140024725
xor eax, eax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd8], xmm0
lea ecx, [rax + 0x10]
call fcn.1400ce694
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rax, vtable.RC::RCInternetHandle.0
mov qword [rbx], rax
mov qword [rbx + 8], r13
lea rax, vtable.RC::RCInternetSession.0
mov qword [rbx], rax
call fcn.140044cf0
mov rcx, rax
call fcn.1400451e0
mov qword [rbx + 8], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140025d00
nop
mov r15, qword [rbp - 0x58]
mov qword [rbp - 0x58], r13
mov qword [rbp + 0xd8], r15
mov r12, qword [rbp - 0x50]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r13
mov qword [rbp + 0xe0], r12
mov dword [rbp + 0x30], r13d
mov dword [rbp + 0x40], 4
call fcn.140044cf0
mov rcx, rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
xor edx, edx
lea r8d, [rdx + 0x49]
call fcn.1400452a0
test eax, eax
je 0x140023c32
cmp dword [rbp + 0x30], 0x40
jae 0x140023c56
mov dword [rbp + 0x98], 0x40
call fcn.140044cf0
mov rcx, rax
lea r9, [rbp + 0x98]
xor edx, edx
lea r8d, [rdx + 0x49]
call fcn.140045370
mov dword [rbp + 0x30], r13d
mov dword [rbp + 0x40], 4
call fcn.140044cf0
mov rcx, rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
xor edx, edx
lea r8d, [rdx + 0x4a]
call fcn.1400452a0
test eax, eax
je 0x140023c8b
cmp dword [rbp + 0x30], 0x40
jae 0x140023caf
mov dword [rbp + 0x9c], 0x40
call fcn.140044cf0
mov rcx, rax
lea r9, [rbp + 0x9c]
xor edx, edx
lea r8d, [rdx + 0x4a]
call fcn.140045370
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
lea rsi, [r14 + 0xe0]
mov qword [rbp - 0x28], rsi
lea rdi, [r14 + 0xf8]
mov qword [rbp - 0x10], rdi
movdqu xmmword [rsp + 0x48], xmm0
test r12, r12
je 0x140023ce6
lock inc dword [r12 + 8]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r12
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x20], r15
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0x50], rcx
mov qword [rbp - 0x18], r12
test rcx, rcx
je 0x140023d45
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140023d45
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140023d45
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x48], rdi
test rdi, rdi
je 0x140023d61
mov rcx, qword [rdi]
test rcx, rcx
je 0x140023d61
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdx, qword [rsi + 8]
cmp qword [rsi + 0x10], rdx
je 0x140023d8f
mov qword [rdx], r13
mov qword [rdx + 8], r13
test r12, r12
je 0x140023d81
lock inc dword [r12 + 8]
mov rdi, qword [rbp + 0x48]
mov qword [rdx], r15
mov qword [rdx + 8], r12
add qword [rsi + 8], 0x10
jmp 0x140023d9e
lea r8, [rbp + 0xd8]
mov rcx, rsi
call fcn.14001c9d0
test rdi, rdi
je 0x140023db8
mov rcx, qword [rdi]
test rcx, rcx
je 0x140023db1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, r13
mov qword [rbp + 0x48], r13
mov esi, 2
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x1400246e7
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x1400246e7
lea rdx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140023df9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400246e7
mov ecx, dword [rbp + 0xa0]
shl rcx, 0x20
add rcx, rbx
cmp rcx, 0x10000
jbe 0x1400246e7
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140024781
cmp qword [rcx], 0xffffffffffffffff
je 0x140024781
mov qword [rbp + 0x90], r13
mov r9d, esi
lea r8, [rbp + 0x94]
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbp + 0x90], eax
cmp eax, 0xffffffff
jne 0x140023e5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140024781
mov rax, qword [rbp + 0x90]
add rax, 0xffffffffffff8000
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rcx
mov ecx, gethostname
call fcn.1400ce694
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 + 0x60], xmm0
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140025bd0
nop
mov qword [rbp + 0x50], r13
lea rbx, [r14 + 0x148]
mov qword [rbp + 0x50], rbx
test rbx, rbx
je 0x140023f04
mov rcx, qword [rbx]
test rcx, rcx
je 0x140023f04
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov r13, qword [rbp + 0x68]
test r13, r13
je 0x140023f26
lock inc dword [r13 + 0xc]
mov rdi, qword [rbp + 0x48]
mov r13, qword [rbp + 0x68]
mov rbx, qword [rbp + 0x50]
movdqa xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp], xmm0
mov rax, qword [r14 + 0x150]
mov qword [rbp], rax
movq r12, xmm0
mov qword [rbp + 0x60], r12
mov qword [r14 + 0x150], r12
mov rcx, qword [r14 + 0x158]
mov qword [rbp + 8], rcx
mov qword [r14 + 0x158], r13
test rcx, rcx
je 0x140023f8b
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140023f7b
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0x50]
mov r12, qword [rbp + 0x60]
mov r13, qword [rbp + 0x68]
mov rdi, qword [rbp + 0x48]
test rbx, rbx
je 0x140023fa4
mov rcx, qword [rbx]
test rcx, rcx
je 0x140023f9e
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov qword [rbp + 0x50], rax
mov r9, qword [rsp + 0x40]
mov r8, r15
mov rdx, r12
mov rcx, r14
call fcn.1400253c0
test al, al
je 0x1400246d3
lea rdx, [rbp + 0x118]
mov rcx, r12
call fcn.14003d500
nop
lea rcx, [rbp + 0x118]
call fcn.140046a80
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp + 0x130]
cmp rdx, 8
jb 0x140024029
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400247a0
call fcn.1400cea54
xor r15d, r15d
mov qword [rbp + 0x128], r15
mov qword [rbp + 0x130], 7
mov word [rbp + 0x118], r15w
cmp qword [rbp + 0x90], rbx
ja 0x1400246d3
mov rcx, qword [r14 + 0xa8]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002406d
cmp rbx, rcx
jne 0x1400246d3
mov r8, r12
lea rdx, [rbp + 0x38]
mov rcx, r14
call fcn.1400251a0
lea ecx, [rax - 1]
test ecx, 0xfffffffb
je 0x1400246d3
add eax, 0xfffffffe
cmp eax, 1
jbe 0x1400246d0
lea rbx, [r14 + 0x18]
mov rdx, rbx
lea rcx, [rbp + 0x140]
call fcn.1400032d0
nop
mov qword [rbp + 0x160], r15
mov qword [rbp + 0x168], r15
mov byte [rbp + 0x170], 0
xor eax, eax
mov qword [rbp + 0x172], rax
mov qword [rbp + 0x17a], rax
lea r8, [rbp + 0x140]
mov rdx, r12
call fcn.1400256c0
movzx ecx, byte [rbp + 0x170]
test al, al
mov eax, 1
cmove ecx, eax
mov byte [rbp + 0x170], cl
mov rax, qword [rbp + 0x160]
cmp rax, 0x8000
jb 0x1400246c2
cmp rax, 0xffffffffffffffff
je 0x14002411c
sub rax, 0x8000
mov qword [rbp + 0x160], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x168], rax
mov r15, qword [r14 + 0xd0]
test r15, r15
je 0x140024456
lea rdx, [rbp + 0x70]
mov rcx, r12
call fcn.14003d430
nop
cmp qword [rbp + 0x80], 0
jne 0x140024368
mov r10, rbx
cmp qword [rbx + 0x18], 8
jb 0x140024160
mov r10, qword [rbx]
mov qword [rbp + 0x190], 0xffffffffffffffff
mov rcx, qword [rbx + 0x10]
mov qword [rbp + 0x198], rcx
cmp rcx, 1
jb 0x140024368
dec rcx
mov qword [rbp + 0x28], rcx
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r9, [r10 + rax*2]
nop dword [rax]
movzx edx, word [r9]
cmp dx, 0x2f
jne 0x1400241d8
mov r8d, 1
lea rax, [0x14012b634]
mov rcx, r9
nop word [rax + rax]
cmp dx, word [rax]
jne 0x1400241d8
add rcx, 2
add rax, 2
sub r8, 1
je 0x1400241e7
movzx edx, word [rcx]
jmp 0x1400241c0
cmp r9, r10
je 0x140024368
sub r9, 2
jmp 0x1400241a0
sub r9, r10
sar r9, 1
cmp r9, 0xffffffffffffffff
je 0x140024368
inc r9
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], ax
mov rax, qword [rbx + 0x10]
cmp rax, r9
jb 0x1400247a6
mov qword [rbp + 0x1a8], 0xffffffffffffffff
sub rax, r9
mov qword [rbp + 0x20], rax
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rbx + 0x18], 8
jb 0x140024250
mov rbx, qword [rbx]
lea rdx, [rbx + r9*2]
lea rcx, [rsp + 0x58]
call fcn.140003470
mov ebx, 1
mov dword [rsp + 0x30], ebx
lea rcx, [rbp + 0x70]
call fcn.140003400
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp + 0x80], xmm1
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], ax
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], ax
lea rcx, [rbp + 0x70]
call fcn.14001bdf0
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x140024368
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], ax
mov qword [rbp + 0x1a0], r8
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x18], rax
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140003470
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rcx, [rbp + 0x70]
call fcn.140003400
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x80], xmm1
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], ax
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], ax
mov rax, qword [r15]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x172]
mov rbx, qword [rbp - 0x68]
mov r8, rbx
lea rdx, [rbp + 0x70]
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x88]
test al, al
jne 0x1400243fe
cmp rdx, 8
jb 0x1400243df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400243da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400247ac
call fcn.1400cea54
xor eax, eax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], ax
mov esi, eax
jmp 0x1400246c2
cmp rdx, 8
jb 0x14002443a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024435
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400247b2
call fcn.1400cea54
xor r15d, r15d
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r15w
jmp 0x14002445d
mov rbx, qword [rbp - 0x68]
xor r15d, r15d
xor eax, eax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
lea rax, vtable.RC::ISimpleDownloadDataEvent.0
mov qword [rbp + 0xa8], rax
lea rax, vtable.DL::TSimpleDownloadDataEvent.0
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 0x38]
mov qword [rbp + 0xb0], rax
lea r9, [rbp + 0x140]
mov r8, r12
lea rdx, [rbp + 0xa8]
mov rcx, r14
call fcn.1400257c0
test al, al
je 0x1400246a3
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x1400244dc
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x1400244dc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400244dc
mov rax, qword [rbp + 0x38]
mov qword [rax], 0xffffffffffffffff
cmp qword [r14 + 0xc0], 0
je 0x14002460e
xor eax, eax
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0xe8]
call fcn.14001c700
nop
mov rdx, rbx
lea rcx, [rbp + 0xe8]
call fcn.14001cda0
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xe8]
call fcn.14001c8e0
nop
lea rdx, [r14 + 0xb0]
mov rax, qword [rdx + 0x10]
cmp qword [rbp + 0xc8], rax
jne 0x140024618
cmp qword [rdx + 0x18], 8
jb 0x140024568
mov rdx, qword [rdx]
lea rcx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 8
cmovae rcx, qword [rbp + 0xb8]
call fcn.140018d00
test al, al
je 0x140024618
mov rdx, qword [rbp + 0xd0]
cmp rdx, 8
jb 0x1400245d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400245cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400247b8
call fcn.1400cea54
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xd0], 7
mov word [rbp + 0xb8], r15w
lea rcx, [rbp + 0x100]
call fcn.14000e8d0
nop
lea rax, vtable.RC::RCFileHash.0
mov qword [rbp + 0xe8], rax
mov byte [rbp + 0xf8], 1
mov esi, 1
jmp 0x1400246a6
mov dword [r14 + 0x100], r15d
mov rdx, qword [rbp + 0xd0]
cmp rdx, 8
jb 0x140024665
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024660
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024794
call fcn.1400cea54
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xd0], 7
mov word [rbp + 0xb8], r15w
lea rcx, [rbp + 0x100]
call fcn.14000e8d0
nop
lea rax, vtable.RC::RCFileHash.0
mov qword [rbp + 0xe8], rax
mov byte [rbp + 0xf8], 1
jmp 0x1400246a6
mov esi, r15d
lea rax, vtable.DL::TSimpleDownloadDataEvent.0
mov qword [rbp + 0xa8], rax
lea rax, vtable.RC::ISimpleDownloadDataEvent.0
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0x140]
call fcn.140003400
jmp 0x1400246d3
mov esi, r15d
test r13, r13
je 0x1400246e0
mov rcx, r13
call fcn.14000bda0
xor r13d, r13d
mov r12, qword [rbp - 0x60]
test rdi, rdi
je 0x1400246fe
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400246fa
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp + 0x48], r13
lea rcx, [rbp - 0x28]
call fcn.140021ad0
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140024717
call fcn.14000bda0
nop
test r12, r12
je 0x140024725
mov rcx, r12
call fcn.14000bda0
nop
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x140024755
mov rcx, qword [rbx]
lea r8, [rcx - 1]
cmp r8, 0xfffffffffffffffd
ja 0x140024744
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r13
mov edx, 8
mov rcx, rbx
call fcn.1400cea54
mov qword [rbp + 0x38], r13
mov eax, esi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400ce670
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
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 [r14 + 0x100], eax
jmp 0x1400246e7
call fcn.1400d3cc4
nop
call fcn.1400d3cc4
nop
call fcn.1400d3cc4
nop
call fcn.140019550
nop
call fcn.1400d3cc4
int3
call fcn.1400d3cc4
nop
call fcn.1400d3cc4
int3