Function at 0x180093400
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, r8
mov rbx, rdx
cmp qword [rdx + 0x10], 0
jne 0x180093448
xor al, al
jmp 0x180093f3e
xor r15d, r15d
mov qword [rbp - 0x48], r15
lea ecx, [r15 + 8]
call fcn.1802994e4
mov qword [rbp - 0x38], rax
mov r14, 0xffffffffffffffff
mov qword [rax], r14
mov qword [rbp - 0x48], rax
mov dword [rsp + 0x20], 3
lea r9d, [r15 + 1]
mov r8d, 0x80000000
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.18016bb70
test al, al
jne 0x180093494
xor sil, sil
jmp 0x180093f0a
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
lea edx, [rax + 0x58]
lea rcx, [rbp - 0x28]
call fcn.18018c430
mov rdi, rax
mov rbx, qword [rbp - 0x48]
test rax, rax
je 0x180093e89
mov dword [rbp - 0x30], r15d
test rbx, rbx
je 0x180093e89
cmp qword [rbx], 0xffffffffffffffff
je 0x180093e89
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x30]
mov r8d, 0x58
mov rdx, rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180093e89
cmp dword [rbp - 0x30], 0x58
jne 0x180093e89
mov r9d, dword [rdi]
mov r10d, r9d
shr r10d, 0x18
mov r11d, r9d
shr r11d, 0x10
mov r15d, r9d
shr r15d, 8
mov dword [rbp - 0x38], r9d
cmp r9d, 0x20170701
jne 0x180093573
movups xmm0, xmmword [rdi]
movaps xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movaps xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movaps xmmword [rsi + 0x40], xmm0
movsd xmm1, qword [rdi + 0x50]
movsd qword [rsi + 0x50], xmm1
mov sil, 1
jmp 0x180093e8c
lea rax, [0x1803446f4]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180093580
movzx r12d, r9b
rol r12b, 3
movzx ecx, r12b
xor cl, byte [0x1803446f4]
mov byte [rbp - 0x38], cl
movzx r13d, r15b
rol r13b, 3
mov eax, 1
cdq
idiv r8d
movsxd rax, edx
lea rcx, [0x1803446f4]
movzx ecx, byte [rax + rcx]
xor cl, r13b
mov byte [rbp - 0x37], cl
movzx eax, r11b
rol al, 3
mov byte [rbp - 0x50], al
mov eax, 2
cdq
idiv r8d
movsxd rcx, edx
lea rax, [0x1803446f4]
movzx edx, byte [rcx + rax]
xor dl, byte [rbp - 0x50]
mov byte [rbp - 0x36], dl
movzx eax, r10b
rol al, 3
mov byte [rbp - 0x4f], al
mov eax, 3
cdq
idiv r8d
movsxd rax, edx
lea rcx, [0x1803446f4]
movzx ecx, byte [rax + rcx]
movzx edx, byte [rbp - 0x4f]
xor cl, dl
mov byte [rbp - 0x35], cl
mov eax, dword [rbp - 0x38]
cmp eax, 0x20142014
je 0x180093e78
cmp eax, 0x20151202
je 0x180093e78
xor r12b, 0x49
mov byte [rbp - 0x38], r12b
xor r13b, 0x4e
mov byte [rbp - 0x37], r13b
movzx eax, byte [rbp - 0x50]
xor al, 0x50
mov byte [rbp - 0x36], al
xor dl, 0x55
mov byte [rbp - 0x35], dl
cmp dword [rbp - 0x38], 0x20142014
jne 0x18009367d
mov dword [rsp + 0x20], 0x18
lea r9, str.INPUT_WORDLIB_V1_ENCRYPT
mov r8, rsi
mov edx, 0x58
mov rcx, rdi
call fcn.180090970
movzx esi, al
jmp 0x180093e8c
xor r9b, 0x49
mov byte [rbp - 0x38], r9b
xor r15b, 0x4e
mov byte [rbp - 0x37], r15b
xor r11b, 0x50
mov byte [rbp - 0x36], r11b
xor r10b, 0x55
mov byte [rbp - 0x35], r10b
cmp dword [rbp - 0x38], 0x20052014
jne 0x180093e89
test rsi, rsi
je 0x180093e89
sub rdi, rsi
lea r9, str.INPUT_WORDLIB_V1_ENCRYPT
mov r8d, 2
nop dword [rax]
nop word [rax + rax]
lea ecx, [r8 - 2]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rsi + rdi]
mov byte [rsi], al
lea ecx, [r8 - 1]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rsi + rdi + 1]
mov byte [rsi + 1], al
mov eax, 0x2aaaaaab
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*2]
shl ecx, 3
mov eax, r8d
sub eax, ecx
movsxd rcx, eax
movzx eax, byte [rcx + r9]
xor al, byte [rsi + rdi + 2]
mov byte [rsi + 2], al
lea ecx, [r8 + 1]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rsi + rdi + 3]
mov byte [rsi + 3], al
lea ecx, [r8 + 2]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rsi + rdi + 4]
mov byte [rsi + 4], al
lea ecx, [r8 + 3]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rsi + rdi + 5]
mov byte [rsi + 5], al
lea ecx, [r8 + 4]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 6]
mov byte [rsi + 6], al
lea ecx, [r8 + 5]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 7]
mov byte [rsi + 7], al
lea ecx, [r8 + 6]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 8]
mov byte [rsi + 8], al
lea ecx, [r8 + 7]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 9]
mov byte [rsi + 9], al
lea ecx, [r8 + 8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0xa]
mov byte [rsi + 0xa], al
lea ecx, [r8 + 9]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0xb]
mov byte [rsi + 0xb], al
lea ecx, [r8 + 0xa]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0xc]
mov byte [rsi + 0xc], al
lea ecx, [r8 + 0xb]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0xd]
mov byte [rsi + 0xd], al
lea ecx, [r8 + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0xe]
mov byte [rsi + 0xe], al
lea ecx, [r8 + 0xd]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0xf]
mov byte [rsi + 0xf], al
lea ecx, [r8 + 0xe]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x10]
mov byte [rsi + 0x10], al
lea ecx, [r8 + 0xf]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x11]
mov byte [rsi + 0x11], al
lea ecx, [r8 + 0x10]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x12]
mov byte [rsi + 0x12], al
lea ecx, [r8 + 0x11]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x13]
mov byte [rsi + 0x13], al
lea ecx, [r8 + 0x12]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x14]
mov byte [rsi + 0x14], al
lea ecx, [r8 + 0x13]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x15]
mov byte [rsi + 0x15], al
lea ecx, [r8 + 0x14]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x16]
mov byte [rsi + 0x16], al
lea ecx, [r8 + 0x15]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x17]
mov byte [rsi + 0x17], al
lea ecx, [r8 + 0x16]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x18]
mov byte [rsi + 0x18], al
lea ecx, [r8 + 0x17]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x19]
mov byte [rsi + 0x19], al
lea ecx, [r8 + 0x18]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x1a]
mov byte [rsi + 0x1a], al
lea ecx, [r8 + 0x19]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x1b]
mov byte [rsi + 0x1b], al
lea ecx, [r8 + 0x1a]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x1c]
mov byte [rsi + 0x1c], al
lea ecx, [r8 + 0x1b]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x1d]
mov byte [rsi + 0x1d], al
lea ecx, [r8 + 0x1c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x1e]
mov byte [rsi + 0x1e], al
lea ecx, [r8 + 0x1d]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x1f]
mov byte [rsi + 0x1f], al
lea ecx, [r8 + 0x1e]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x20]
mov byte [rsi + 0x20], al
lea ecx, [r8 + 0x1f]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x21]
mov byte [rsi + 0x21], al
lea ecx, [r8 + 0x20]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x22]
mov byte [rsi + 0x22], al
lea ecx, [r8 + 0x21]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x23]
mov byte [rsi + 0x23], al
lea ecx, [r8 + 0x22]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x24]
mov byte [rsi + 0x24], al
lea ecx, [r8 + 0x23]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x25]
mov byte [rsi + 0x25], al
lea ecx, [r8 + 0x24]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x26]
mov byte [rsi + 0x26], al
lea ecx, [r8 + 0x25]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x27]
mov byte [rsi + 0x27], al
lea ecx, [r8 + 0x26]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x28]
mov byte [rsi + 0x28], al
lea ecx, [r8 + 0x27]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x29]
mov byte [rsi + 0x29], al
lea ecx, [r8 + 0x28]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x2a]
mov byte [rsi + 0x2a], al
lea ecx, [r8 + 0x29]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r9]
xor al, byte [rdi + rsi + 0x2b]
mov byte [rsi + 0x2b], al
add r8d, 0x2c
add rsi, 0x2c
lea eax, [r8 - 2]
cmp eax, 0x58
jl 0x1800936d0
mov sil, 1
jmp 0x180093e8c
mov dword [rsp + 0x20], r8d
lea r9, [0x1803446f4]
jmp 0x180093665
xor sil, sil
cmp qword [rbp - 0x20], 0
je 0x180093ea8
lea rcx, [rbp - 0x20]
call fcn.18003d460
xor r15d, r15d
mov ecx, r15d
mov qword [rbp - 0x28], rcx
jmp 0x180093eaf
mov rcx, qword [rbp - 0x28]
xor r15d, r15d
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x180093ec9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x10], r15
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180093ed7
call fcn.180299904
mov qword [rbp - 0x28], r15
mov rdi, qword [rbp - 0x18]
test rdi, rdi
je 0x180093f0e
mov eax, r14d
lock xadd dword [rdi + 8], eax
sub eax, 1
jne 0x180093f0a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r14d
cmp r14d, 1
jne 0x180093f0a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x180093f3a
mov rcx, qword [rbx]
lea r8, [rcx - 1]
cmp r8, 0xfffffffffffffffd
ja 0x180093f29
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
mov edx, 8
mov rcx, rbx
call fcn.180299904
mov qword [rbp - 0x48], r15
movzx eax, sil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret