joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ff14
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
xor r14d, r14d
cmp dword [rcx + 0x198], r14d
je 0x140010113
mov rax, qword [0x140061cd8]
cmp qword [rcx + 0x228], rax
jne 0x1400100ce
call fcn.1400122fc
mov rcx, rax
test rax, rax
je 0x140010128
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.0]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x20], rbx
lea edx, [r14 + 1]
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
mov esi, 0x104
sub eax, esi
or eax, edx
jge 0x14000ff9a
mov edx, esi
lea rcx, [rbp + 0x20]
call fcn.1400017ac
mov rbx, qword [rbp + 0x20]
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
or esi, 0xffffffff
test eax, eax
je 0x140010063
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.140038528
test eax, eax
js 0x140010133
cmp eax, dword [rbx - 0xc]
jg 0x140010133
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r14w
lea rcx, str.BootStrap.log
call fcn.1400383fc
mov r8d, eax
lea rdx, str.BootStrap.log
lea rcx, [rbp + 0x20]
call fcn.140003a24
xor r9d, r9d
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140009b54
nop
lea rcx, [rdi + 0x220]
mov rax, qword [rcx]
lea r9, [rbp - 0x20]
mov r8d, 0x1021
mov rdx, qword [rbp + 0x20]
mov rax, qword [rax + 0x48]
call qword [case.0x14001687a.0]
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
test eax, eax
lea rax, vtable.CFileException.0
mov qword [rbp - 0x20], rax
mov eax, esi
jne 0x14001008d
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14001005f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
mov rbx, qword [rbp + 0x20]
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140010113
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
jmp 0x140010113
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400100a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
nop
mov rdx, qword [rbp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400100ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
lea rsi, [rdi + 0x178]
mov rdx, qword [rsi]
cmp dword [rdx - 0x10], r14d
je 0x140010113
lea rbx, [rdi + 0x220]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xb0]
call qword [case.0x14001687a.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x98]
call qword [case.0x14001687a.0]
mov rcx, rsi
call fcn.140001534
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001474
nop
mov ecx, 0x80070057
call fcn.140001474
int3
Function at 0x140010418
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
cmp dword [rcx + 0x1a0], 0
jne 0x140010475
mov r8d, 0x94
lea rdx, [rsp + 0x30]
call fcn.14000cb50
nop
xor r8d, r8d
lea edx, [r8 + 0x10]
mov rcx, qword [rax]
call fcn.14000a398
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140010475
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
cmp dword [rdi + 0x198], 0
je 0x1400104a0
lea rcx, str.OS_requirement:_Unsupported_OS_detected.
call fcn.1400383fc
mov r8d, eax
lea rdx, str.OS_requirement:_Unsupported_OS_detected.
lea rcx, [rdi + 0x178]
call fcn.140001858
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14000ff14

Function at 0x1400104b4
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov rbx, rax
mov dword [rsp + 0x68], ecx
test rax, rax
je 0x140010500
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x68]
mov rax, rbx
call qword [case.0x14001687a.0]
mov ecx, dword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
test ecx, ecx
je 0x140010545
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140010550
lea rcx, [rsp + 0x20]
call qword [case.0x14001687a.0]
jmp 0x140010550
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x20]
add rsp, 0x50
pop rbx
ret
Function at 0x140010c6c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
cmp dword [rcx + 0x1a0], 0
jne 0x140010d3f
call fcn.1400122fc
mov rcx, rax
test rax, rax
je 0x140010d81
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov r8d, 0x93
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14000cb50
nop
mov r9, qword [rbx]
mov r8, qword [rsi]
mov rdx, qword [rax]
lea rcx, [rsp + 0x30]
call fcn.1400016a4
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140010d09
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
xor r8d, r8d
lea edx, [r8 + 0x10]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.14000a398
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140010d3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
cmp dword [rdi + 0x198], 0
je 0x140010d6a
lea rcx, str.OS_requirement:_Unsupported_OS_detected.
call fcn.1400383fc
mov r8d, eax
lea rdx, str.OS_requirement:_Unsupported_OS_detected.
lea rcx, [rdi + 0x178]
call fcn.140001858
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14000ff14
mov ecx, 0x80004005
call fcn.140001474
int3
Function at 0x140010d8c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov rdx, r9
lea rcx, [rax - 0x28]
call fcn.1400019ac
nop
mov rax, qword [rsp + 0x60]
mov r15d, dword [rax - 0x10]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0xf023f
and dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140010e50
mov r9d, dword [rsp + 0xb0]
lea eax, [r9 - 1]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x58]
cmp eax, 1
jbe 0x140010e26
mov dword [rsp + 0x28], r15d
jmp 0x140010e2e
lea eax, [r15 + r15]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor esi, esi
test eax, eax
sete sil
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x140010ea2
lea rcx, str.Failed_to_register_value:
call fcn.1400383fc
mov r8d, eax
lea rdx, str.Failed_to_register_value:
lea rcx, [0x1400795c8]
call fcn.140001858
test rbp, rbp
jne 0x140010e7b
xor eax, eax
jmp 0x140010e83
mov rcx, rbp
call fcn.1400383fc
mov r8d, eax
mov rdx, rbp
lea rcx, [0x1400795c8]
call fcn.140003a24
lea rcx, [0x140079450]
call fcn.14000ff14
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140010ec8
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14001687a.0]
mov eax, esi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140010ee4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov dword [r11 + 0x20], r9d
push rdi
sub rsp, 0x60
lea rax, [r11 - 0x18]
xor edi, edi
mov qword [r11 - 0x28], rax
mov rbp, r8
lea rax, [r11 - 0x10]
xor r9d, r9d
mov qword [r11 - 0x30], rax
xor r8d, r8d
mov qword [r11 - 0x38], rdi
mov rbx, rdx
mov dword [rsp + 0x28], 0xf023f
mov rsi, rcx
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011046
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x58]
mov r9d, 0xf023f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rsi, [0x1400795c8]
test eax, eax
jne 0x140010fb0
mov rcx, qword [rsp + 0x58]
lea r9d, [rdi + 4]
lea rax, [rsp + 0x88]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140010ff9
lea edi, [rbx + 1]
jmp 0x140011042
lea rcx, str.RegOpenKeyEx_Failed_for:
call fcn.1400383fc
mov r8d, eax
lea rdx, str.RegOpenKeyEx_Failed_for:
mov rcx, rsi
call fcn.140001858
test rbx, rbx
jne 0x140010fd7
mov eax, edi
jmp 0x140010fdf
mov rcx, rbx
call fcn.1400383fc
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.140003a24
lea rcx, [0x140079450]
call fcn.14000ff14
lea rcx, str.Failed_to_register_DWORD_value:
call fcn.1400383fc
mov r8d, eax
lea rdx, str.Failed_to_register_DWORD_value:
mov rcx, rsi
call fcn.140001858
test rbp, rbp
jne 0x140011020
mov eax, edi
jmp 0x140011028
mov rcx, rbp
call fcn.1400383fc
mov r8d, eax
mov rdx, rbp
mov rcx, rsi
call fcn.140003a24
lea rcx, [0x140079450]
call fcn.14000ff14
mov eax, edi
jmp 0x140011096
lea rcx, str.RegCreateKeyEx_failed_for:
call fcn.1400383fc
lea rsi, [0x1400795c8]
mov r8d, eax
mov rcx, rsi
lea rdx, str.RegCreateKeyEx_failed_for:
call fcn.140001858
test rbx, rbx
je 0x14001107a
mov rcx, rbx
call fcn.1400383fc
mov edi, eax
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call fcn.140003a24
lea rcx, [0x140079450]
call fcn.14000ff14
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400110ac
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rdi, rcx
mov rbp, r9
mov rcx, r9
mov r14, r8
mov rbx, rdx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov r15d, eax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001116f
mov rcx, qword [rsp + 0x50]
lea eax, [r15 + r15]
mov dword [rsp + 0x28], eax
lea ebx, [rsi + 1]
mov r9d, ebx
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
lea r11, [rsp + 0x60]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x1400131a0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x140013208
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x1400131f2
cmp qword [rcx + 0x18], 0
jne 0x1400131ed
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x14001320e
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x140013208
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp 0x140026a84
call fcn.1400119e8
int3
call fcn.1400119e8
int3
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x140077698]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140026b3b
test rdx, rdx
je 0x140026b3b
mov rcx, rdx
call fcn.1400383fc
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x200
mov rsi, rax
call fcn.140034210
mov eax, pe_nt_image_headers64
cmp rsi, rax
ja 0x140026b0a
mov r8d, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jne 0x140026b0a
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140026b16
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400330d0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400119e8
int3
Function at 0x1400159c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140015a1e
call fcn.140025db4
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140015a1e
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140015a29
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.140011584
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140016228
Capabilities:
Extract resource via kernel32 functions

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, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400162e1
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1400162e1
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400162e1
test rdi, rdi
je 0x1400162e1
xor r14d, r14d
xor esi, esi
call fcn.140025db4
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400162c1
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbp
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400162e1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.140028d18
mov edi, eax
test eax, eax
je 0x1400162dd
mov rcx, rbx
call fcn.140015f4c
mov eax, edi
jmp 0x1400162e3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140017220
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.140026bb4
mov rdi, rax
test rax, rax
je 0x14001729c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x140017297
cmp dword [rbx], 0x40
jb 0x140017297
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140017297
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1400172a0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDummyDlg.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp rdx, 0x10000
jae 0x14001b58f
cmp dword [rcx + 0xe8], 0
jne 0x14001b58f
movzx eax, si
mov dword [rcx + 0xe8], eax
call fcn.140025db4
mov r8d, 5
mov rdx, rsi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp 0x14001b868
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r9
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rbx, rbx
jne 0x14001b8bd
call fcn.14001c5d8
mov rdx, rax
test rax, rax
je 0x14001b8bb
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x14001687a.0]
mov rbx, rax
jmp 0x14001b8bd
xor ebx, ebx
and qword [rdi + 0x108], 0
mov r9, rsi
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14001b5dc

Function at 0x140023a60
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x140023adb
xor r8d, r8d
call fcn.140023d3c
mov rsi, rax
test rax, rax
je 0x140023ad7
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140023ad7
mov eax, dword [rsp + 0x30]
jmp 0x140023af1
mov eax, edi
jmp 0x140023af1
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140024584
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1400245eb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400245ff
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400245ff
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x14001687a.0]
jmp 0x140024604
cmp dword [rcx + 8], 0
je 0x1400245ff
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140024604
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14002d470
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x14002d4a2
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002d4a2
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140030fe0
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x14002d4b4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14002d4da
mov r8, rdx
mov rdx, qword [rbx]
call fcn.140024584
jmp 0x14002d546
cmp byte [0x14007d238], 0
jne 0x14002d51e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002d50e
lea rdx, [0x140063430]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14007d230], rax
jmp 0x14002d515
mov rax, qword [0x14007d230]
mov byte [0x14007d238], 1
jmp 0x14002d525
mov rax, qword [0x14007d230]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x14002d53f
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x14001687a.0]
jmp 0x14002d546
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14004962c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140049609
call fcn.1400383dc
mov dword [rax], 0x16
call fcn.14003828c
or eax, 0xffffffff
jmp 0x140049626
sub dword [rcx + 0x10], 1
jns 0x140049618
add rsp, 0x28
jmp fcn.14004b750
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1400495e8
Function at 0x14004b8bc
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14004b5e2
call fcn.1400383dc
mov dword [rax], 0x16
call fcn.14003828c
jmp 0x14004b72d
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14004b72d
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14004b72d
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14004b611
lock or dword [rcx + 0x14], 0x10
jmp 0x14004b72d
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14004b625
call fcn.140050ab0
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14004b635
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x14004b638
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14004335c
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.14004b038
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14004b71b
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14004b6c9
mov rcx, rbx
call fcn.14004335c
cmp eax, 0xffffffff
je 0x14004b6b4
mov rcx, rbx
call fcn.14004335c
cmp eax, 0xfffffffe
je 0x14004b6b4
mov rcx, rbx
call fcn.14004335c
movsxd rdi, eax
lea r14, [0x14007ddb0]
mov rcx, rbx
sar rdi, 6
call fcn.14004335c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14004b6bb
lea rdx, [0x1400779a0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14004b6c9
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14004b6ed
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14004b6ed
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14004b6ed
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x14004b70b
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14004b716
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14004b732
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14004b5ac