joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180052f50
Capabilities:
Reference http user-agent string

Disassembly:
push rdi
sub rsp, 0x870
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x888], rbx
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x3ff
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x60]
call fcn.1800c31a0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jne 0x18005310e
mov qword [rsp + 0x50], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], al
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.180003710
nop
cmp qword [rbx + 0x488], 0
jne 0x18005304c
mov r8d, 4
lea rdx, str.8094
lea rcx, [rbx + 0x470]
call fcn.180014810
cmp qword [rbx + 0x460], 0
je 0x18005304c
mov r8d, 1
lea rdx, [0x18010a0e0]
lea rcx, [rbx + 0x470]
call fcn.180012440
lea rdx, [rbx + 0x448]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbx + 0x470]
call fcn.180012ea0
call fcn.180052d10
mov rdi, rax
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x461]
call fcn.1800c31a0
lea r9, [rsp + 0x460]
mov r8, rdi
lea rdx, str.WUID
lea rcx, [rsp + 0x30]
call fcn.180052e70
movzx edi, al
cmp qword [rbx + 0x490], 8
jb 0x18005309b
mov rbx, qword [rbx + 0x478]
jmp 0x1800530a2
add rbx, 0x478
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x461]
call fcn.1800c31a0
lea r9, [rsp + 0x460]
mov r8, rbx
lea rdx, [0x1801038e0]
lea rcx, [rsp + 0x30]
call fcn.180052e70
or dil, al
je 0x1800530fc
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
xor r9d, r9d
mov r8d, dword [rsp + 0x48]
mov ecx, 0x10000001
call sub.urlmon.dll_UrlMkSetSessionOption
nop
cmp qword [rsp + 0x50], 0x10
jb 0x18005310e
mov rcx, qword [rsp + 0x38]
call fcn.1800bf8b4
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1800bf8d0
mov rbx, qword [rsp + 0x888]
add rsp, 0x870
pop rdi
ret
Function at 0x180055d60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
lea rax, [rsp + 0x30]
xor ebx, ebx
lea rdx, str.SoftwareAppDataLowSoftwareSimplytechHomeTab
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180055e07
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rdi
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x58]
lea rdx, str.ConfigUpdate
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x58], 4
jne 0x180055dec
test eax, eax
cmove ebx, dword [rsp + 0x60]
test rdi, rdi
je 0x180055dfa
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rdi, qword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x180055e10
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
lea rcx, [rax + 0x20]
xor esi, esi
mov qword [rax + 0x20], rsi
call fcn.1800c21b0
movsxd rdi, dword [rsp + 0x98]
lea rax, [rsp + 0x50]
lea rdx, str.SoftwareAppDataLowSoftwareSimplytechHomeTab
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov rbx, rsi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r8d, r8d
test eax, eax
jne 0x180055e6e
mov rbx, qword [rsp + 0x50]
jmp 0x180055ebe
lea rax, [rsp + 0x90]
lea rdx, str.SoftwareAppDataLowSoftwareSimplytechHomeTab
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x58], rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180055f09
mov rbx, qword [rsp + 0x58]
xor r8d, r8d
lea rax, [rsp + 0x88]
lea rdx, str.ConfigUpdate
mov r9d, 4
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x88], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rsp + 0x98], rdi
test rbx, rbx
je 0x180055f09
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov edi, dword [rsp + 0x98]
test rbx, rbx
je 0x180055f1e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800562f0
Capabilities:
Check http status code
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x130
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x150], rbx
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x60]
mov rax, qword [str.Accept:___r_n_r_n]
mov qword [rcx], rax
mov rax, qword [0x18010a2e8]
mov qword [rcx + 8], rax
mov rax, qword [0x18010a2f0]
mov qword [rcx + 0x10], rax
mov rax, qword [0x18010a2f8]
mov qword [rcx + 0x18], rax
test rdx, rdx
je 0x180056508
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r9d, eax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x4000000
lea r8, [rsp + 0x60]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180056511
mov dword [rsp + 0x34], RegisterTypeLib
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x80]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetLBound
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x180056414
lea rcx, [rsp + 0x80]
call fcn.1800c1918
cmp eax, 0x194
je 0x1800563fc
cmp eax, 0x1f4
jb 0x180056414
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x180056511
lea rdx, [0x18010a300]
mov rcx, rdi
call fcn.1800bfb3c
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180056448
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x180056511
mov dword [rsp + 0x30], r12d
mov edx, 0x10000
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
nop dword [rax]
xor edx, edx
mov r8d, 0x10000
mov rcx, rdi
call fcn.1800c31a0
lea r9, [rsp + 0x30]
mov r8d, 0xffff
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r11d, dword [rsp + 0x30]
test r11d, r11d
je 0x1800564bc
mov rdx, r11
mov r9, rbx
mov r8d, 1
mov rcx, rdi
call fcn.1800c0124
cmp dword [rsp + 0x30], 0
jne 0x180056470
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test rbx, rbx
je 0x1800564f5
mov rcx, rbx
call fcn.1800c0710
mov rcx, rbx
call fcn.1800bfbd4
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov eax, 1
jmp 0x180056511
mov rcx, qword [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal]
xor rcx, rsp
call fcn.1800bf8d0
mov rbx, qword [rsp + 0x150]
add rsp, 0x130
pop r12
pop rdi
pop rsi
ret
Function at 0x180056630
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rbx, rcx
mov byte [rsp + 0x78], 0
cmp qword [rcx + 0x838], 0
je 0x18005665c
mov al, 1
jmp 0x1800567af
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x818], rax
jne 0x18005668e
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x818], rax
cmp qword [rbx + 0x818], 0
jne 0x1800566b1
mov dword [rsp + 0x30], 0xffffffff
lea rdx, [0x18013ad60]
lea rcx, [rsp + 0x30]
call fcn.1800c3e40
cmp qword [rbx + 0x840], 0
jne 0x1800566d2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x840], rax
cmp qword [rbx + 0x840], 0
jne 0x1800566f5
mov dword [rsp + 0x34], 0xffffffff
lea rdx, [0x18013ad60]
lea rcx, [rsp + 0x34]
call fcn.1800c3e40
mov qword [rsp + 0x48], rbx
mov rax, qword [rbx + 0x818]
mov qword [rsp + 0x58], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x180056739
mov dword [rsp + 0x38], 0xffffffff
lea rdx, [0x18013ad60]
lea rcx, [rsp + 0x38]
call fcn.1800c3e40
mov dword [rsp + 0x80], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8, [0x180056890]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x838], rax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x180056799
mov dword [rsp + 0x3c], 0xffffffff
lea rdx, [0x18013ad60]
lea rcx, [rsp + 0x3c]
call fcn.1800c3e40
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
mov byte [rsp + 0x78], al
jmp 0x1800567af
add rsp, 0x60
pop rbx
ret
Function at 0x180059720
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
lea rcx, [rsp + 0x50]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x50], rbp
call fcn.1800c21b0
movsxd rdi, dword [rsp + 0x50]
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareAppDataLowSoftwareSimplytechHomeTab
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov rbx, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r8d, r8d
test eax, eax
jne 0x180059782
mov rbx, qword [rsp + 0x58]
jmp 0x1800597d2
lea rax, [rsp + 0xa8]
lea rdx, str.SoftwareAppDataLowSoftwareSimplytechHomeTab
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x60], rbp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180059816
mov rbx, qword [rsp + 0x60]
xor r8d, r8d
lea rax, [rsp + 0xa0]
mov r9d, 4
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0xa0], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rsp + 0x50], rdi
test rbx, rbx
je 0x180059816
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rbp
mov edi, dword [rsp + 0x50]
test rbx, rbx
je 0x180059828
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret

Function at 0x18005a580
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
lea rax, [rsp + 0x38]
mov rsi, rcx
lea rdx, str.SoftwareAppDataLowSoftwareSimplytechHomeTab
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x38], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18005a687
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x60]
lea rdx, str.UpdatePrompt24HourSleep
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x60], 4
jne 0x18005a646
test eax, eax
jne 0x18005a646
mov eax, dword [rsp + 0x68]
mov dword [rdi], eax
test rbx, rbx
je 0x18005a631
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
test rbx, rbx
je 0x18005a656
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
lea rdx, str.UpdatePrompt24HourSleep
mov rcx, rsi
call fcn.180059720
mov dword [rdi], eax
test rbx, rbx
je 0x18005a675
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov eax, 1
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x18005a6a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
lea rax, [rsp + 0x38]
mov rsi, rcx
lea rdx, str.SoftwareAppDataLowSoftwareSimplytechHomeTab
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x38], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18005a7a7
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x60]
lea rdx, str.UpdatePrompt30DaySleep
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x60], 4
jne 0x18005a766
test eax, eax
jne 0x18005a766
mov eax, dword [rsp + 0x68]
mov dword [rdi], eax
test rbx, rbx
je 0x18005a751
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
test rbx, rbx
je 0x18005a776
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
lea rdx, str.UpdatePrompt30DaySleep
mov rcx, rsi
call fcn.180059720
mov dword [rdi], eax
test rbx, rbx
je 0x18005a795
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov eax, 1
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x18005dcb0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rdx
cmp eax, 0x100
je 0x18005dcca
cmp eax, 0x104
jne 0x18005dcfb
mov rcx, qword [rcx + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x447
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, qword [rbx + 0x10]
cmp r11, 0xd
je 0x18005dd0d
cmp r11, 0x1b
je 0x18005dd0d
cmp r11, 0x26
je 0x18005dd0d
cmp r11, 0x28
je 0x18005dd0d
mov rcx, rbx
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x180063170
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r13
push r14
sub rsp, 0x40
mov edi, r9d
mov r12, r8
mov r13d, edx
mov r14, rcx
xor ebx, ebx
mov esi, ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x1800631bf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x1800631cc
call fcn.1800184d0
test eax, eax
je 0x1800631e2
lea rdx, [rsp + 0x38]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1800631e6
xor eax, eax
jmp 0x180063260
mov r10, qword [0x180146fd0]
test r10, r10
jne 0x18006320d
lea rcx, str.ImageList_Draw
call fcn.18003fc40
mov r10, rax
mov qword [0x180146fd0], rax
test rax, rax
je 0x180063231
mov dword [rsp + 0x28], ebx
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, r12
mov edx, r13d
mov rcx, r14
call r10
mov esi, eax
mov dword [rsp + 0x30], eax
mov edi, ebx
test esi, esi
sete dil
test edi, edi
je 0x180063245
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18006325e
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop r13
pop r12
ret
Function at 0x180064440
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push r12
push r15
sub rsp, 0x48
xor r15d, r15d
mov rbp, rdx
mov rsi, rcx
mov dword [rsp + 0x70], r15d
cmp qword [rcx + 0x58], 8
jb 0x180064466
mov rdx, qword [rcx + 0x40]
jmp 0x18006446a
lea rdx, [rcx + 0x40]
lea r12, [rcx + 8]
mov rcx, qword [rcx]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsi + 0x60], eax
test eax, eax
jne 0x180064628
cmp qword [rsi + 0x30], 8
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x70], r15d
jb 0x1800644b1
mov rdx, qword [rsi + 0x18]
jmp 0x1800644b5
lea rdx, [rsi + 0x18]
mov rcx, qword [r12]
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x80]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd rdx, dword [rsp + 0x70]
mov eax, 2
mov r13, 0xffffffffffffffff
mul rdx
cmovo rax, r13
mov rcx, rax
call fcn.1800bf8ac
cmp qword [rsi + 0x30], 8
mov r14, rax
jb 0x180064509
mov rdx, qword [rsi + 0x18]
jmp 0x18006450d
lea rdx, [rsi + 0x18]
mov rcx, qword [r12]
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x80]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsi + 0x60], eax
test eax, eax
jne 0x1800645c7
xor eax, eax
mov rcx, r13
mov rdi, r14
repne scasw ax, word [rdi]
mov rdx, r14
mov qword [rsp + 0x78], rbx
not rcx
lea r8, [rcx - 1]
lea rcx, [rsi + 0x68]
call fcn.180014810
mov rcx, r14
call fcn.1800bf8f0
mov rcx, qword [r12]
mov dword [rsi + 0xb8], 1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [r12], r15
lea rdx, [rsi + 0x68]
mov dword [rsi + 0x60], eax
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], r15
mov r9, r13
xor r8d, r8d
mov rcx, rbp
mov word [rbp + 8], r15w
call fcn.180003570
mov rbx, qword [rsp + 0x78]
mov rax, rbp
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
pop r15
pop r12
pop rsi
pop rbp
ret
mov rcx, r14
call fcn.1800bf8f0
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsi + 0x68]
lea rdx, [rsi + 0x90]
mov r9, r13
xor r8d, r8d
mov qword [r12], r15
call fcn.180003570
mov dword [rsi + 0xb8], 1
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], r15
lea rdx, [rsi + 0x90]
mov r9, r13
xor r8d, r8d
mov rcx, rbp
mov word [rbp + 8], r15w
call fcn.180003570
mov rax, rbp
jmp 0x1800645ad
or r13, 0xffffffffffffffff
lea rcx, [rsi + 0x68]
lea rdx, [rsi + 0x90]
mov r9, r13
xor r8d, r8d
call fcn.180003570
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], r15
lea rdx, [rsi + 0x90]
mov r9, r13
xor r8d, r8d
mov rcx, rbp
mov word [rbp + 8], r15w
call fcn.180003570
mov rax, rbp
jmp 0x1800645b2
Function at 0x1800662d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
sub rsp, 0x30
mov rdi, r8
mov r12, rcx
xor ebx, ebx
mov esi, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x58], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x180066315
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x180066322
call fcn.1800184d0
test eax, eax
je 0x180066338
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18006633c
xor eax, eax
jmp 0x18006639f
mov rax, qword [0x180146fd8]
test rax, rax
jne 0x180066360
lea rcx, str.ImageList_GetImageInfo
call fcn.18003fc40
mov qword [0x180146fd8], rax
test rax, rax
je 0x180066370
mov r8, rdi
xor edx, edx
mov rcx, r12
call rax
mov esi, eax
mov dword [rsp + 0x20], eax
mov edi, ebx
test esi, esi
sete dil
test edi, edi
je 0x180066384
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18006639d
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r12
ret
Function at 0x180069930
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x860
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x38], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov edi, 0x57
mov dword [rsp + 0x20], edi
mov word [rsp + 0x50], bx
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x52]
call fcn.1800c31a0
nop
mov r8b, 3
xor edx, edx
lea ecx, [rbx + 6]
call fcn.1800698a0
test eax, eax
je 0x180069a2f
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1800699de
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180069a2f
lea rdx, str.SHGetKnownFolderPath
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180069a2f
lea r9, [rsp + 0x28]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1800f4df0]
call rax
test eax, eax
js 0x180069a2f
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180069a2f
mov r8, rcx
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.1800c0e4c
mov edi, ebx
mov dword [rsp + 0x20], ebx
cmp word [rsp + 0x50], 0
jne 0x180069a58
mov r9d, 1
lea r8d, [r9 + 0x1b]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x180069a58
mov dword [rsp + 0x20], ebx
jmp 0x180069a5c
test edi, edi
jne 0x180069ad1
test r12, r12
je 0x180069ac5
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x180069ac5
mov rdx, r12
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1800c6e3c
test eax, eax
je 0x180069ac5
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [rsp + 0x20], eax
test eax, eax
je 0x180069ac5
mov dword [rsp + 0x24], 0xffffffff
lea rdx, [0x18013ad60]
lea rcx, [rsp + 0x24]
call fcn.1800c3e40
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
nop
jmp 0x180069adf
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180069aef
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rsi, rsi
je 0x180069afd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [r13 + 0x20], 7
mov qword [r13 + 0x18], rbx
mov word [r13 + 8], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.180014810
mov rax, r13
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1800bf8d0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret