Function at 0x140017e80
Capabilities:
Get disk information
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov r15, rcx
mov rax, qword [0x14013bac0]
mov qword [rsp + 0xc0], rax
lea rbp, str.FolderTreeCtrl_HandleDropEvent
mov r9, rbp
mov r8d, 0x1a9
lea rdx, str..TmWinDlg.cpp
lea rcx, [r11 - 0x160]
call fcn.1400583e0
nop
call fcn.140075174
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140017f12
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x80], rbx
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov edi, 1
mov dword [rsp + 0x50], edi
lea rcx, [rsp + 0x50]
call qword [0x1400d8118]
movzx ecx, byte [rsp + 0x68]
test eax, eax
cmovns ecx, edi
mov byte [rsp + 0x68], cl
mov qword [rsp + 0x1a8], 7
mov qword [rsp + 0x1a0], 0
mov word [rsp + 0x190], 0
xor esi, esi
mov qword [rsp + 0x90], rsi
xor edi, edi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x88], rdi
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea r12, str.SOFTWARETrendMicroPC_cillinNTCorpCurrentVersionManual_Scan_Configuration
mov rdx, r12
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018040
mov rsi, qword [rsp + 0x88]
mov qword [rsp + 0x90], rsi
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.ScanNetwork
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140018026
cmp dword [rsp + 0x48], 4
jne 0x140018026
mov edi, dword [rsp + 0x40]
test rsi, rsi
je 0x14001806c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov qword [rsp + 0x90], rsi
jmp 0x14001806c
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
lea r9, str._s___CRegKey::Open_key:__s__failed_with_Windows_error_code:__d_.
mov r8d, 0x1b8
lea rdx, str..TmWinDlg.cpp
mov ecx, 0x45
call fcn.1400580a0
xor r14d, r14d
xor r13d, r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
or r12, 0xffffffffffffffff
lea rbp, [0x1400d8790]
test eax, eax
jle 0x1400186a0
movsxd rcx, edi
mov qword [rsp + 0xc8], rcx
nop
nop
nop
nop
lea edi, [rax + 1]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400180db
mov edx, edi
lea rcx, [rsp + 0x80]
call fcn.140006b70
mov rbx, qword [rsp + 0x80]
mov r9d, edi
mov r8, rbx
mov edx, r13d
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
test rbx, rbx
jne 0x1400180f6
xor ecx, ecx
jmp 0x140018110
xor eax, eax
mov rcx, r12
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x14001868e
cmp ecx, dword [rbx - 0xc]
jg 0x14001868e
mov dword [rbx - 0x10], ecx
movsxd rax, ecx
mov word [rbx + rax*2], 0
mov qword [rsp + 0x20], rbx
lea r9, str.DragDropFileName:__s_
mov edx, 6
mov r8d, 0x1c8
lea rcx, [rsp + 0x98]
call fcn.1400585b0
xor eax, eax
mov rcx, r12
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea rbp, [rcx - 1]
lea rax, [rsp + 0x190]
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 8
cmovae rax, r8
mov rcx, qword [rsp + 0x1a0]
cmp rbx, rax
jb 0x1400181e7
lea rax, [rsp + 0x190]
cmp rdx, 8
cmovae rax, r8
lea rax, [rax + rcx*2]
cmp rax, rbx
jbe 0x1400181e7
lea rax, [rsp + 0x190]
cmp rdx, 8
cmovae rax, r8
mov r8, rbx
sub r8, rax
sar r8, 1
mov r9, rbp
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x188]
call fcn.14000ef60
mov rdx, qword [rsp + 0x1a8]
mov r8, qword [rsp + 0x190]
jmp 0x1400182cf
movabs rax, 0x7ffffffffffffffe
cmp rbp, rax
jbe 0x140018213
call fcn.1400cbc00
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1a0]
mov r8, qword [rsp + 0x190]
cmp rdx, rbp
jae 0x14001823d
mov r8, rcx
mov rdx, rbp
lea rcx, [rsp + 0x188]
call fcn.14000f350
mov rdx, qword [rsp + 0x1a8]
mov r8, qword [rsp + 0x190]
jmp 0x14001826f
test rbp, rbp
jne 0x14001826f
mov qword [rsp + 0x1a0], rbp
lea rax, [rsp + 0x190]
cmp rdx, 8
cmovae rax, r8
mov word [rax], bp
mov rdx, qword [rsp + 0x1a8]
mov r8, qword [rsp + 0x190]
jmp 0x1400182cf
test rbp, rbp
je 0x1400182cf
lea rcx, [rsp + 0x190]
cmp rdx, 8
cmovae rcx, r8
lea rdi, [rbp + rbp]
add rdx, rdx
mov r9, rdi
mov r8, rbx
call fcn.14009d1a0
mov qword [rsp + 0x1a0], rbp
lea rax, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 8
cmovae rax, qword [rsp + 0x190]
mov word [rax + rdi], 0
mov rdx, qword [rsp + 0x1a8]
mov r8, qword [rsp + 0x190]
cmp qword [rsp + 0xc8], 0
jne 0x1400183f9
lea rdi, [rsp + 0x190]
cmp rdx, 8
cmovae rdi, r8
lea r9, str.SkipNetworkDrive
mov r8d, 0x19b
lea rdx, str..TmWinDlg.cpp
lea rcx, [rsp + 0xd0]
call fcn.1400583e0
nop
xor bpl, bpl
mov word [rsp + 0x1b0], 0
xor eax, eax
mov qword [rsp + 0x1b2], rax
mov qword [rsp + 0x1ba], rax
mov dword [rsp + 0x1c2], eax
mov word [rsp + 0x1c6], ax
movzx r8d, word [rdi]
lea rdx, str._c:_
lea rcx, [rsp + 0x1b0]
call fcn.140029780
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, eax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str.DriveType_d___s_
mov edx, 6
mov r8d, OleTranslateColor
lea rcx, [rsp + 0xd0]
call fcn.1400585b0
movzx ebp, bpl
cmp edi, 4
mov eax, 1
cmove ebp, eax
mov dword [rsp + 0xdc], reloc.OLEAUT32.dll_OleTranslateColor
mov dword [rsp + 0xd8], eax
lea rax, [0x1400d8790]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xd0]
call fcn.140058360
nop
mov rcx, qword [rsp + 0xf0]
call fcn.14006b8a0
nop
mov rcx, qword [rsp + 0xe8]
call fcn.14006b8a0
nop
test bpl, bpl
jne 0x1400184fe
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov r8d, r14d
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x140]
call qword [0x1400d8188]
mov dword [rsp + 0x78], eax
lea rdx, [0x14013a228]
mov ecx, 0x30
call fcn.14009e530
mov rdi, rax
test rax, rax
je 0x140018492
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], 0
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov eax, 1
mov dword [rdi], eax
lea rcx, [rsp + 0x120]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdi + 0x10], rax
jmp 0x140018494
xor edi, edi
mov rbp, qword [rsp + 0x70]
mov qword [rsp + 0x70], rdi
test rbp, rbp
je 0x1400184c8
cmp byte [rbp + 0x18], 1
jne 0x1400184b2
mov rcx, rbp
call qword [0x1400d8130]
lea rcx, [rbp + 0x20]
call fcn.1400511a0
mov rcx, rbp
call fcn.14006b8a0
mov rdi, qword [rsp + 0x70]
lea rcx, [rsp + 0x100]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0x10]
mov qword [rcx + 0x10], rax
mov rdx, rbx
lea rcx, [rsp + 0x100]
call qword [0x1400d8178]
mov dword [rdi + 0x28], eax
add r14d, 1
add r13d, 1
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
jg 0x1400180b0
test r14d, r14d
jle 0x140018699
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14006fd98
mov rdi, rax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.140050f70
nop
cmp qword [rax + 0x20], 8
jb 0x140018562
mov r8, qword [rax + 8]
jmp 0x140018566
lea r8, [rax + 8]
lea rcx, [rdi + 0x230]
lea rdx, str.UiInternal_OnFolderTreeDragAndDropCallback__s__
call fcn.140007750
nop
cmp qword [rsp + 0x180], 8
jb 0x140018592
mov rcx, qword [rsp + 0x168]
call fcn.14006b8a0
mov byte [rdi + 0x238], 1
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140022d80
mov dword [rsp + 0xa4], 0x1db
mov eax, 1
mov dword [rsp + 0xa0], eax
test rsi, rsi
je 0x1400185cc
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rsp + 0x1a8], 8
jb 0x1400185e4
mov rcx, qword [rsp + 0x190]
call fcn.14006b8a0
mov qword [rsp + 0x1a8], 7
mov qword [rsp + 0x1a0], 0
mov word [rsp + 0x190], 0
cmp byte [rsp + 0x68], 1
jne 0x140018618
lea rcx, [rsp + 0x50]
call qword [0x1400d8130]
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x140018633
mov rcx, rdi
call fcn.140050a90
mov rcx, rdi
call fcn.14006b8a0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x140018650
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rax, [0x1400d8790]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x98]
call fcn.140058360
nop
mov rcx, qword [rsp + 0xb8]
call fcn.14006b8a0
nop
mov rcx, qword [rsp + 0xb0]
call fcn.14006b8a0
nop
jmp 0x14001877c
mov ecx, 0x80070057
call fcn.140001000
int3
lea rbp, [0x1400d8790]
mov dword [rsp + 0xa4], 0x1d3
mov eax, 1
mov dword [rsp + 0xa0], eax
test rsi, rsi
je 0x1400186c6
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rsp + 0x1a8], 8
jb 0x1400186de
mov rcx, qword [rsp + 0x190]
call fcn.14006b8a0
mov qword [rsp + 0x1a8], 7
mov qword [rsp + 0x1a0], 0
mov word [rsp + 0x190], 0
cmp byte [rsp + 0x68], 1
jne 0x140018712
lea rcx, [rsp + 0x50]
call qword [0x1400d8130]
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14001872d
mov rcx, rdi
call fcn.140050a90
mov rcx, rdi
call fcn.14006b8a0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x14001874a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov qword [rsp + 0x98], rbp
lea rcx, [rsp + 0x98]
call fcn.140058360
nop
mov rcx, qword [rsp + 0xb8]
call fcn.14006b8a0
nop
mov rcx, qword [rsp + 0xb0]
call fcn.14006b8a0
nop
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.14009cca0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret