Function at 0x14002d510
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
movsxd rbx, r9d
mov r12, r8
mov r14, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rbp + 0x140], r13d
mov dword [rsp + 0x50], r13d
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r13b
mov byte [rsp + 0x20], r13b
mov esi, 0xffffffff
mov r9d, esi
mov r8d, esi
mov rdx, r14
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rbp - 0x30], rax
mov r15, qword [rbp + 0x168]
mov rax, qword [r15]
xor r9d, r9d
lea r8, [rbp - 0x30]
lea rdx, str.CanonicalName
mov rcx, r15
call qword [rax + 0x40]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002d5d0
mov eax, dword [rdx + 0x10]
cmp eax, esi
je 0x14002d5c6
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002d5d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
mov rdx, r14
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rbp - 0x80], rax
mov edx, 0x5c
lea r8d, [rdx - 0x38]
lea rcx, [rbp - 0x80]
call fcn.1400346a0
lea rcx, [rbp - 0x80]
call fcn.14003a340
mov rax, qword [rbp + 0x160]
mov rax, qword [rax]
cmp dword [rax - 0x10], 0
jle 0x14002d70d
mov dword [rsp + 0x60], r13d
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0xc0], xmm0
mov dword [rsp + 0x60], r13d
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0xb0], xmm1
mov dword [rsp + 0x60], r13d
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0xa0], xmm0
mov dword [rbp + 0x20], 4
mov qword [rbp + 0x28], rbx
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x90], xmm0
lea rax, [rbp + 0x90]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0xc0]
mov qword [rbp + 0x58], rax
call fcn.140008400
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rbp - 0x68], rax
lea r9, [rbp - 0x68]
mov r8d, 4
lea rdx, [rbp + 0x40]
lea rcx, [0x140133108]
call fcn.14005db80
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call fcn.140033880
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002d70d
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002d703
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002d70d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [r15]
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, str.DeviceUID
mov rcx, r15
call qword [rax + 0x40]
mov rax, qword [rdi]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x28]
call fcn.140008400
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rsp + 0x40], rax
mov r9d, dword [rsp + 0x50]
lea rbx, [rax - 0x18]
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x10]
cmp eax, 1
jle 0x14002d79d
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r8d, dword [rbx + 8]
mov rdx, qword [rsp + 0x40]
call qword [rax + 0x28]
mov qword [rsp + 0x40], rax
mov ecx, esi
xchg dword [rax - 8], ecx
mov eax, dword [rbx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002d84c
mov eax, dword [rbx + 0x10]
jmp 0x14002d828
cmp r9d, 0xffffffff
je 0x14002d847
cmp dword [rbx + 0xc], r9d
jg 0x14002d847
cmp r9d, 0x100000
jle 0x14002d7d0
mov eax, r9d
and eax, 0xfff00000
cmp r9d, eax
je 0x14002d7ea
lea r9d, [rax + 0x100000]
jmp 0x14002d7ea
mov eax, 1
test r9d, r9d
jle 0x14002d7e7
nop word [rax + rax]
add eax, eax
shr r9d, 1
jne 0x14002d7e0
mov r9d, eax
mov eax, dword [rbx + 0x10]
mov r10, qword [rcx]
cmp eax, 0xffffffff
setne al
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0
mov r8d, dword [rbx + 8]
mov rdx, qword [rsp + 0x40]
call qword [r10 + 0x28]
mov qword [rsp + 0x40], rax
mov ecx, esi
xchg dword [rax - 8], ecx
mov eax, dword [rbx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002d84c
mov eax, dword [rbx + 0x10]
cmp eax, 0xffffffff
je 0x14002d839
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14002d84c
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002d84c
mov eax, esi
xchg dword [rbx + 0x10], eax
mov rax, qword [rdi]
lea r9, [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x28]
test rbx, rbx
jne 0x14002d86f
mov ecx, r13d
jmp 0x14002d886
mov rcx, rbx
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14002d872
sub rcx, rbx
sar rcx, 1
dec ecx
mov dword [rbx - 0x10], ecx
mov eax, dword [rbx - 8]
cmp eax, 0xffffffff
jne 0x14002d899
mov eax, 1
xchg dword [rbx - 8], eax
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 0x10], 0
jne 0x14002d9dc
test r12, r12
je 0x14002d9dc
mov qword [rbp - 0x40], r13
mov rax, qword [r12]
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [rax + 0x28]
test eax, eax
js 0x14002d9cc
mov qword [rbp - 0x48], r13
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
call qword [rax + 0x20]
test eax, eax
js 0x14002d9bc
mov qword [rbp - 0x50], r13
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, str.DEVICE
call qword [rax + 0x28]
test eax, eax
js 0x14002d9ac
mov rdi, qword [rbp - 0x50]
call fcn.140008400
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov rbx, rax
mov qword [rbp - 0x58], rax
mov dword [rbp + 0x140], 2
mov qword [rbp - 0x60], r13
mov rax, qword [rdi]
lea r8, [rbp - 0x60]
lea rdx, [0x14011d9e8]
mov rcx, rdi
call qword [rax + 0x40]
test eax, eax
js 0x14002d95c
xor r9d, r9d
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x58]
call fcn.140038290
mov rbx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x40]
call fcn.1400333a0
mov dword [rbp + 0x140], r13d
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002d9a7
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002d99d
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002d9a7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002d9bc
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14002d9cc
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14002d9dc
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
call fcn.140008400
mov rcx, rax
cmp dword [rbx - 0x10], 0
jg 0x14002d9f2
mov rdx, qword [rax]
call qword [rdx + 0x30]
jmp 0x14002da53
mov eax, dword [rbx - 8]
cmp eax, 0xffffffff
jne 0x14002da1d
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, dword [rdx - 0x10]
call qword [rax + 0x28]
jmp 0x14002da53
mov rax, qword [rsp + 0x40]
cmp rcx, qword [rax - 0x18]
je 0x14002da4a
mov r10, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, dword [rax - 0x10]
mov rdx, rax
call qword [r10 + 0x28]
jmp 0x14002da53
lock inc dword [rax - 8]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rbx, qword [rbp + 0x160]
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
jle 0x14002db50
mov dword [rsp + 0x60], r13d
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x100], xmm0
mov dword [rsp + 0x60], r13d
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0xf0], xmm1
mov dword [rsp + 0x60], r13d
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0xe0], xmm0
mov dword [rbp + 0x30], 3
mov qword [rbp + 0x38], rbx
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0xd0], xmm0
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x68], rax
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x100]
mov qword [rbp + 0x78], rax
call fcn.140008400
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rbp - 0x38], rax
lea r9, [rbp - 0x38]
mov r8d, 4
lea rdx, [rbp + 0x60]
lea rcx, str.____s
call fcn.14005db80
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.140033880
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002db50
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002db46
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002db50
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [r15]
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, str.WPDName
mov rcx, r15
call qword [rax + 0x40]
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
jne 0x14002db7e
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400333a0
call fcn.140008400
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rsp + 0x48], rax
cmp dword [rax - 0x10], 0
jne 0x14002dc0d
mov rax, qword [rbx]
mov ecx, dword [rax - 0x10]
cmp ecx, 3
jne 0x14002dbb0
cmp word [rax + 2], 0x3a
jne 0x14002dc0d
cmp word [rax + 4], 0x5c
je 0x14002dbbc
cmp ecx, 2
jne 0x14002dc0d
cmp word [rax + 2], 0x3a
jne 0x14002dc0d
mov r8d, 1
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.1400351c0
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400333a0
nop
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002dc0d
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002dc03
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dc0d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x48]
cmp dword [rax - 0x10], 0
jne 0x14002df35
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
jle 0x14002df35
mov dword [rsp + 0x7a], 0x3a
mov r14d, 0x41
xor r12d, r12d
nop word [rax + rax]
mov word [rsp + 0x78], r14w
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov r13d, eax
lea ecx, [rax - 2]
cmp ecx, 1
ja 0x14002df26
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, [rsp + 0x78]
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x18], rax
call fcn.140008400
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rbp - 0x28], rax
or dword [rbp + 0x140], 1
mov dword [rbp - 0x70], r12d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x10]
call fcn.1400080e0
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140042500
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002dd00
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002dcf6
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dd00
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rbx]
mov rbx, qword [rbp - 0x28]
cmp rbx, rax
jne 0x14002dd11
mov edi, r12d
jmp 0x14002dd34
lea rdi, [0x140129d58]
test rax, rax
cmovne rdi, rax
call fcn.140008400
mov rcx, rax
mov r8, rdi
mov rdx, rbx
call fcn.140008570
mov edi, eax
and dword [rbp + 0x140], 0xfffffffe
lea rdx, [rbx - 0x18]
mov ecx, dword [rdx + 0x10]
cmp ecx, 0x7ffffc17
je 0x14002dd68
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002dd5e
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dd68
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test edi, edi
jne 0x14002df1f
mov word [rbp + 0x168], r14w
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], dil
mov byte [rsp + 0x20], dil
mov r9d, esi
lea r8d, [rdi + 1]
lea rdx, [rbp + 0x168]
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400333a0
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002dde6
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002dddc
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dde6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp r13d, 3
jne 0x14002de00
mov rax, qword [r15]
lea r8d, [r13 - 2]
lea rdx, str.UnsupportedDevice
mov rcx, r15
call qword [rax + 0x48]
call fcn.140008400
mov r11, rax
mov rcx, qword [rsp + 0x48]
cmp dword [rcx - 0x10], 0
jg 0x14002de1e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
jmp 0x14002de85
mov eax, dword [rcx - 8]
cmp eax, 0xffffffff
jne 0x14002de4c
mov rdx, qword [rsp + 0x48]
mov rax, qword [r11]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, dword [rdx - 0x10]
mov rcx, r11
call qword [rax + 0x28]
jmp 0x14002de85
mov rax, qword [rsp + 0x48]
cmp r11, qword [rax - 0x18]
je 0x14002de7c
mov r10, qword [r11]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, dword [rax - 0x10]
mov rdx, rax
mov rcx, r11
call qword [r10 + 0x28]
jmp 0x14002de85
lock inc dword [rax - 8]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x20], r12
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 8]
call fcn.1400080e0
lea r9, [rbp + 0x80]
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x88]
mov rcx, rax
call fcn.140040590
movzx ebx, al
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov ecx, dword [rdx + 0x10]
cmp ecx, 0x7ffffc17
je 0x14002def5
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002deeb
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002def5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test bl, bl
je 0x14002df1f
movabs rax, 0x4b00000000
cmp qword [rbp - 0x20], rax
jbe 0x14002df1f
mov rax, qword [r15]
mov r8d, 1
lea rdx, str.UnsupportedDevice
mov rcx, r15
call qword [rax + 0x48]
mov rbx, qword [rbp + 0x160]
inc r14w
cmp r14w, 0x5a
jbe 0x14002dc40
mov rax, qword [rsp + 0x48]
cmp dword [rax - 0x10], 0
jle 0x14002dfb5
lea r8, [0x14013312c]
lea rdx, [rsp + 0x48]
lea rcx, [rbp]
call fcn.14003ac90
nop
mov r10, qword [r15]
xor r9d, r9d
mov r8, rax
lea rdx, str.DriveLetter
mov rcx, r15
call qword [r10 + 0x40]
nop
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002df9e
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002df94
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002df9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [r15]
mov r8d, 1
lea rdx, str.IsDrive
mov rcx, r15
call qword [rax + 0x48]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002dfe6
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002dfdc
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dfe6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002e017
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002e00d
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002e017
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002e048
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002e03e
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002e048
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002e078
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002e06e
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002e078
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002e0a5
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002e09b
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14002e0a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor eax, eax
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret