joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017a80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
mov ecx, dword [rcx + 0x90]
mov ebx, 1
mov eax, ecx
mov sil, bl
and eax, 0xc
cmp al, 0xc
jne 0x140017aee
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], rcx
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [rsp + 0x40], 0xfffffffe
movsxd rcx, eax
mov qword [rsp + 0x38], rcx
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov rcx, qword [rdi + 8]
movsxd rbx, eax
call qword [sym.imp.USER32.dll_GetParent]
mov r8, rbx
lea r9, [rsp + 0x30]
mov edx, 0x4e
jmp 0x140017b18
shr ecx, 2
test bl, cl
je 0x140017b23
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov rcx, qword [rdi + 8]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetParent]
mov r9, qword [rdi + 8]
movzx r8d, bx
mov edx, VarUI4FromDisp
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140017b66
mov r8, qword [rdi + 0x50]
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta sil
test sil, sil
je 0x140017b66
mov rcx, qword [rdi + 8]
or byte [rdi + 0x94], 2
mov r8d, ebx
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rbx, qword [rsp + 0x60]
mov al, sil
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140019118
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov r15d, edx
lea rbp, [rcx - 0x40]
test rcx, rcx
jne 0x140019147
mov ebp, ebx
mov rcx, qword [rbp + 8]
mov esi, 1
cmp dword [rsp + 0x70], ebx
je 0x140019210
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r13, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov rcx, rdi
or r12d, 0xffffffff
movsxd r14, eax
mov edx, r14d
call fcn.14000cdec
test rax, rax
je 0x1400191cb
mov rax, qword [rdi]
mov dword [rax - 8], r14d
mov rax, qword [rdi]
mov word [rax + r14*2], bx
cmp qword [rdi], rbx
je 0x1400191cb
mov rdx, qword [rdi]
lea r8d, [r14 + 1]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rdi
mov r12d, eax
call fcn.14000ce6c
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov rax, qword [rdi]
mov dword [rax - 8], ecx
mov rax, qword [rdi]
mov word [rax + rcx*2], bx
cmp r12d, r14d
jge 0x1400191d4
mov esi, ebx
jmp 0x14001921f
mov rax, qword [rdi]
cmp dword [rax - 8], 0x1000
jle 0x140019248
or ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
add rbp, 0x40
lea rcx, [rbp - 0x40]
jne 0x1400191f6
mov rcx, rbx
mov rcx, qword [rcx + 8]
mov edx, r15d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov esi, ebx
jmp 0x140019248
mov r8, qword [r8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, eax
test eax, eax
jne 0x140019248
or ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
add rbp, 0x40
je 0x140019232
lea rbx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
mov edx, r15d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140019c04
Capabilities:
Send data
Send http request

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
and qword [r11 - 0x10], 0
mov rbx, rcx
lea rax, [0x140053180]
cmp dword [rbx + 0x71ad0], 0x1bb
mov qword [r11 - 0x18], rax
mov ecx, 0x4c00000
mov eax, 0x4400000
mov r8, rdx
lea r9, str.HTTP_1.0
cmove eax, ecx
and qword [r11 - 0x20], 0
mov rcx, qword [rbx + 0x71ab0]
mov dword [rsp + 0x30], eax
lea rax, [r11 - 0x18]
lea rdx, [0x1400531a0]
mov qword [r11 - 0x30], rax
lea rax, [0x1400513b8]
mov qword [r11 - 0x38], rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rbx + 0x71ab8], rax
test rax, rax
jne 0x140019c88
mov rcx, rbx
call fcn.14001a73c
xor eax, eax
jmp 0x140019cd8
lea rcx, str.Accept:___r_n
call fcn.1400285ac
mov rcx, qword [rbx + 0x71ab8]
lea rdx, str.Accept:___r_n
mov r8, rax
mov r9d, 0x80000000
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x140019c7c
mov rcx, qword [rbx + 0x71ab8]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x140019c7c
mov eax, 1
add rsp, 0x50
pop rbx
ret

Function at 0x140019ce0
Capabilities:
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x6060
call fcn.140036790
sub rsp, rax
mov rax, qword [0x14005f650]
xor rax, rsp
mov qword [rsp + 0x6050], rax
and qword [rsp + 0x48], 0
mov rbx, rdx
lea rax, [0x140053180]
lea rdx, [rsp + 0x50]
mov rdi, rcx
mov qword [rsp + 0x40], rax
call fcn.14001a2fc
cmp dword [rdi + 0x71ad0], 0x1bb
mov ecx, 0x4400040
mov esi, eax
mov eax, 0x4c00040
lea r9, str.HTTP_1.0
cmove ecx, eax
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rdi + 0x71ab0]
mov qword [rsp + 0x28], rax
lea rax, [0x1400513b8]
lea rdx, str.POST
mov r8, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rdi + 0x71ab8], rax
test rax, rax
jne 0x140019d9b
mov rcx, rdi
call fcn.14001a73c
xor eax, eax
jmp 0x140019dfd
lea rcx, str.Accept:___r_n
call fcn.1400285ac
mov rcx, qword [rdi + 0x71ab8]
lea rdx, str.Accept:___r_n
mov r8, rax
mov r9d, 0x80000000
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x140019d8f
lea rcx, str.Content_Type:_application_x_www_form_urlencoded_r_n
call fcn.1400285ac
mov rcx, qword [rdi + 0x71ab8]
lea r9, [rsp + 0x50]
lea rdx, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov r8, rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x140019d8f
mov eax, 1
mov rcx, qword [rsp + 0x6050]
xor rcx, rsp
call fcn.140027b60
lea r11, [rsp + 0x6060]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140019eac
Capabilities:
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x71ab8], 0
mov rdi, rdx
mov rbx, rcx
jne 0x140019ecf
call fcn.14001a73c
xor eax, eax
jmp 0x140019f0b
xor edx, edx
mov r8d, 0x2000
mov rcx, rdi
call fcn.140028890
mov rcx, qword [rbx + 0x71ab8]
lea r9, [0x140063508]
mov r8d, 0x2000
mov rdx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140019f05
mov rcx, rbx
jmp 0x140019ec6
mov eax, dword [0x140063508]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140019f18
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f70]
mov eax, 0x2070
call fcn.140036790
sub rsp, rax
mov rax, qword [0x14005f650]
xor rax, rsp
mov qword [rbp + 0x1f60], rax
mov r14, qword [rbp + 0x1fd8]
mov rsi, rcx
mov r12, rdx
lea rcx, [rsp + 0x61]
xor edi, edi
xor edx, edx
mov r8d, 0x1fff
mov r13, r9
mov dword [rsp + 0x40], 0x186a0
mov byte [rsp + 0x60], dil
call fcn.140028890
cmp qword [rsi + 0x71ab8], rdi
jne 0x140019f97
mov rcx, rsi
call fcn.14001a73c
xor eax, eax
jmp 0x14001a08c
xor edx, edx
mov r8d, 0x30d40
mov rcx, r13
call fcn.140028890
mov dword [r14], edi
jmp 0x14001a004
cmp dword [r14], 0x186a0
jae 0x14001a018
lea r8, [rsp + 0x60]
mov r9d, r15d
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [rsp + 0x60]
mov r9d, r15d
mov ebx, eax
mov eax, dword [r14]
xor edx, edx
lea rcx, [rax*2]
mov dword [rsp + 0x28], ebx
add rcx, r13
mov qword [rsp + 0x20], rcx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add dword [r14], ebx
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140019eac
mov r15d, eax
test eax, eax
jne 0x140019fac
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov rcx, r12
add r8, r8
call fcn.140028890
mov rcx, qword [rsi + 0x71ab8]
lea r9, [rsp + 0x40]
mov r8, r12
mov edx, 0x16
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140019f88
mov rcx, qword [rsi + 0x71ab8]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
mov edx, 0x20000013
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [rsp + 0x30], 0xc8
sete dil
mov eax, edi
mov rcx, qword [rbp + 0x1f60]
xor rcx, rsp
call fcn.140027b60
mov rbx, qword [rsp + 0x20c0]
add rsp, 0x2070
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a4d4
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx + 8]
cmp dword [rcx + 0xa00], 2
je 0x14001a504
xor eax, eax
jmp 0x14001a5cf
and qword [rsp + 0x30], 0
xor r9d, r9d
add rcx, 0x200
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x8000080
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
jne 0x14001a565
mov rcx, rbx
call fcn.14001a73c
jmp 0x14001a4fd
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
je 0x14001a55b
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [rbx + 0x71ab8]
mov r9, rdi
xor r8d, r8d
xor edx, edx
mov r14d, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x14001a55b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001b448
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14001b438
test eax, eax
je 0x14001b497
lea rdx, [rsp + 0x38]
call fcn.14001b4a0
mov rcx, qword [rax]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
lea rax, [0x140060bd0]
add rdx, 0xfffffffffffffff4
cmp rdx, rax
je 0x14001b495
lock add dword [rdx], 0xffffffff
jg 0x14001b495
mov rcx, qword [rsp + 0x38]
add rcx, 0xfffffffffffffff4
call fcn.140029150
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14001c900
Capabilities:
Hide graphical window

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov esi, edx
mov rdi, rcx
test r8b, r8b
jne 0x14001c92a
mov byte [rcx + 0xa0], 1
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001ca11
mov rax, qword [0x140060be0]
mov qword [rsp + 0x40], rax
mov edx, 0xbb8
lea rcx, [rsp + 0x40]
call fcn.14000cee0
mov rbx, qword [rsp + 0x40]
cmp esi, 1
jne 0x14001c990
cmp byte [rdi + 0xa0], 0
je 0x14001c977
mov rdx, rbx
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, 5
mov edx, esi
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, esi
mov rcx, qword [rdi + 0x50]
jmp 0x14001c9ef
cmp esi, 2
jne 0x14001c9f6
cmp byte [rdi + 0xa0], 0
je 0x14001c9ab
mov rdx, rbx
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, 5
mov edx, esi
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, esi
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, esi
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rdi + 0xa0], 0
jne 0x14001c9f6
mov edx, esi
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
lea rcx, [rbx - 0xc]
lea rax, [0x140060bd0]
cmp rcx, rax
je 0x14001ca11
lock add dword [rcx], 0xffffffff
jg 0x14001ca11
call fcn.140029150
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001cf08
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x480
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14005f650]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov word [rsp + 0x50], r14w
lea rdx, [rsp + 0x50]
mov r15d, 0x104
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test rdi, rdi
je 0x14001cfee
lea rcx, [rsp + 0x50]
call fcn.1400285ac
cmp word [rsp + rax*2 + 0x4e], 0x5c
je 0x14001cf9b
cmp word [rsp + rax*2 + 0x4e], 0x2f
je 0x14001cf9b
lea r8, [0x140053614]
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.14002ae90
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.14002ae90
lea r8, [0x1400506f8]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.14002ae90
mov r8, rbx
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.14002ae90
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [rsp + 0x50]
mov edx, eax
mov rcx, rsi
call fcn.14000cd44
jmp 0x14001d0d3
lea rcx, [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14000d080
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea rcx, [rsp + 0x20]
call fcn.14001cb9c
lea rcx, [0x1400506f8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [0x1400506f8]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140018170
test rbx, rbx
jne 0x14001d058
mov eax, r14d
jmp 0x14001d061
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140018170
lea r8, [rsp + 0x50]
mov rdx, r15
lea rcx, [rbp + 0x160]
call fcn.14002ae24
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x160]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [rbp + 0x160]
mov edx, eax
mov rcx, rsi
call fcn.14000cd44
nop
lea rcx, [rbx - 0xc]
lea rax, [0x140060bd0]
cmp rcx, rax
je 0x14001d0d3
lock add dword [rcx], 0xffffffff
jg 0x14001d0d3
call fcn.140029150
mov eax, 1
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140027b60
mov rbx, qword [rsp + 0x4c8]
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001d100
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x50
mov ecx, 0xa8
mov rdi, rdx
call fcn.1400282e8
test rax, rax
je 0x14001d133
mov rcx, rax
call fcn.14001c5a0
mov rbx, rax
jmp 0x14001d135
xor ebx, ebx
lea rcx, [rsp + 0x30]
call fcn.14001c58c
mov qword [rsp + 0x30], rbx
mov rax, qword [rbx + 0x98]
and dword [rsp + 0x70], 0
mov qword [rsp + 0x48], rax
lea rax, [fcn.140011efc]
mov qword [rsp + 0x38], rax
mov al, byte [rdi + 0xa2]
lea r9, [rsp + 0x30]
neg al
lea rax, [rsp + 0x70]
lea r8, [0x14001ca24]
sbb ecx, ecx
mov qword [rsp + 0x28], rax
xor edx, edx
and ecx, 0x7fffffc
mov qword [rsp + 0x40], rdi
add ecx, 4
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x14001d1b5
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rdi
mov qword [rbx + 0x90], rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rdi, [rbx + 0x10]
mov rcx, rdi
xor r8d, r8d
xor edx, edx
mov rsi, rax
call fcn.140018000
test eax, eax
jne 0x14001d1f9
lea ecx, [rax + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14001d258
test rdi, rdi
je 0x14001d262
mov qword [rdi], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [0x140063578]
mov dword [rdi + 8], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1400635a0]
mov qword [rdi + 0x10], rax
lea rcx, [0x140063578]
mov qword [0x1400635a0], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x140061ff0]
and qword [rsp + 0x20], 0
lea r9, [0x140014300]
mov r8, rsi
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, 1
jmp 0x14001d1a5
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xc0000005
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x14001d278
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
mov rcx, r8
mov r14, r8
mov r15, rdx
xor ebx, ebx
call fcn.14001b8bc
lea rax, [rbp - 0x10]
lea rdx, str.SoftwareBugSplat
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rbp - 0x10], rbx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x18], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x14001d3aa
test rdi, rdi
je 0x14001d313
mov rcx, rdi
call fcn.1400285ac
test rax, rax
je 0x14001d313
mov rcx, qword [rbp - 0x10]
lea rax, [rbp - 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
jmp 0x14001d31b
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x18], rax
test esi, esi
jne 0x14001d3aa
mov esi, 0x1388
mov dword [rbp - 0x20], 1
mov ecx, esi
call fcn.14002331c
mov rcx, qword [rbp - 0x18]
lea r9, [rbp - 0x20]
mov rdi, rax
lea rax, [rbp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov dword [rbp + 0x38], esi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001d384
test rdi, rdi
je 0x14001d372
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov r8, rdi
mov edx, ebx
mov rcx, r14
call fcn.14000cd44
mov ebx, 1
mov rcx, qword [rbp - 0x10]
cmp qword [rbp - 0x18], rcx
je 0x14001d39c
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.140029150
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001d3c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor ebx, ebx
mov r15, rdx
lea rax, [rbp - 0x10]
mov r14, r8
mov rdi, rcx
mov dword [r8], ebx
lea rdx, str.SoftwareBugSplat
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rbp - 0x10], rbx
mov qword [rbp - 0x18], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x14001d4bd
test rdi, rdi
je 0x14001d45a
mov rcx, rdi
call fcn.1400285ac
test rax, rax
je 0x14001d45a
mov rcx, qword [rbp - 0x10]
lea rax, [rbp - 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x18]
mov esi, eax
jmp 0x14001d462
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x18], rcx
test esi, esi
jne 0x14001d4bd
lea rax, [rbp + 0x48]
lea r9, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov rdx, r15
mov dword [rbp + 0x40], ebx
mov dword [rbp + 0x48], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001d49f
mov eax, dword [rbp + 0x40]
lea ebx, [rsi + 1]
mov dword [r14], eax
mov rcx, qword [rbp - 0x10]
cmp qword [rbp - 0x18], rcx
je 0x14001d4b7
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001d4d4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x10], 0
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
mov rsi, rdx
lea rax, [rbp - 0x10]
mov rdi, r8
mov rbx, rcx
mov r15d, 0x2001f
lea rdx, str.Software
xor r8d, r8d
mov r9d, r15d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001d61e
mov rcx, qword [rbp - 0x10]
lea rax, [rbp - 0x20]
lea rdx, str.BugSplat
mov r9d, r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001d597
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x38]
lea rdx, str.BugSplat
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], r15d
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001d61e
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov r9d, r15d
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001d5f0
mov rcx, qword [rbp - 0x20]
lea rax, [rbp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x18]
xor r8d, r8d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov rdx, rbx
mov dword [rsp + 0x28], r15d
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001d61e
mov rcx, rdi
call fcn.1400285ac
mov r9d, 1
xor r8d, r8d
lea ecx, [rax*2 + 2]
mov rdx, rsi
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14001d62d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14001d63c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14001d64b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret