joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006de50
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
mov rsi, qword [rsp + 0x50]
mov rdi, rcx
mov qword [rcx + 0x2b8], rsi
mov ebp, edx
mov dword [rcx + 0x2b4], 1
mov qword [rcx + 0x2c0], r8
mov dword [rcx + 0x2c8], r9d
test r9d, r9d
je 0x14006dee1
test rsi, rsi
je 0x14006dee1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0xd8]
mov edx, dword [rdi + 0x2c8]
mov r8d, 1
mov rbx, rax
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x2b8]
mov rdx, rbx
mov r9, qword [rcx]
call qword [r9 + 0xe0]
mov rcx, qword [rdi + 0x2b8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_DrawMenuBar]
movzx edx, bp
mov r8, rsi
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp method.CDialog.virtual_720

Function at 0x14006e388
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x14011d6b0]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r9
and dword [rsp + 0x30], 0
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x14006e4f3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x30], 1
lea r9, [rsp + 0x50]
lea r8, [0x1400ea000]
mov rdx, qword [rsi]
mov rcx, qword [rdi]
cmp dword [rbp + 0x1b0], 0
jne 0x14006e45f
mov rax, qword [r14 + 0x298]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x50]
call fcn.1400af134
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140002b78
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
jne 0x14006e494
lea r9, [rsp + 0x50]
lea r8, [0x1400ea000]
mov rdx, qword [rsi]
mov rcx, qword [rdi]
mov rax, qword [r14 + 0x2a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x50]
call fcn.1400af134
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140002b78
nop
mov rdx, qword [rdi]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14006e4b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x14006e4d3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rbx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400a9d90
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002f7c
int3
Function at 0x14006f388
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14011d6b0]
xor rax, rsp
mov qword [rbp + 0x170], rax
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x58], 0x104
lea rdx, str.SYSTEMCurrentControlSetServicesEventLogApplicationCrystalDiskInfo
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14006f428
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.SYSTEMCurrentControlSetServicesEventLogApplicationCrystalDiskInfo
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14006f4b4
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.EventMessageFile
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14006f4ce
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x60]
call fcn.1400af134
mov r9d, 2
lea rdx, str.EventMessageFile
xor r8d, r8d
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14006f4ce
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400a9d90
add rsp, 0x280
pop rbp
ret
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.TypesSupported
lea rax, [rsp + 0x5c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14006f53d
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov r9d, 4
mov dword [rsp + 0x5c], 7
mov dword [rsp + 0x28], r9d
lea rdx, str.TypesSupported
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], r9d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14006f4a9
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14006f4b4
mov eax, 1
jmp 0x14006f4b6
Function at 0x14006f55c
Capabilities:
Access the windows event log

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
push rdi
sub rsp, 0x50
movzx ebp, dx
mov esi, ecx
lea rdx, [0x1400ea1b8]
xor ecx, ecx
mov rbx, r9
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
mov rax, qword [rbx]
test rdi, rdi
jne 0x14006f59c
lea rdx, [rax - 0x18]
jmp 0x14006f5f9
mov qword [rsp + 0x70], rax
mov edx, 1
lea eax, [rsi - 0x258]
mov ecx, 0x40000000
cmp eax, 0x63
mov r9d, 0x80000000
lea rax, [rsp + 0x70]
cmova r9d, ecx
xor r8d, r8d
and qword [rsp + 0x40], r8
add r9d, esi
mov qword [rsp + 0x38], rax
mov rcx, rdi
and dword [rsp + 0x30], r8d
mov word [rsp + 0x28], dx
movzx edx, bp
and qword [rsp + 0x20], r8
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x14006f613
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006f60f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14006f63e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rdx, qword [rbx]
mov edi, eax
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14006f63c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14007090c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140126cd0]
mov rbx, rcx
mov r8d, edx
cmp r8, qword [rax + 0x370]
jge 0x140070a17
mov rcx, qword [rax + 0x368]
lea rdi, [rbx + 0x340]
mov r9, qword [rbx + 0x160]
imul rdx, r8, 0x1918
imul rax, r8, 0x1918
mov rdx, qword [rdx + rcx + 0x18b0]
mov r8d, 0x3c
cmp dword [rax + rcx + 0x1724], 0
lea rcx, str.AlarmTemperature
jne 0x140070978
mov r8d, 0x32
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rdi]
mov r9d, 1
mov r8d, eax
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetScrollPos]
lea rcx, [rbx + 0x300]
mov edx, 1
call fcn.140072e5c
mov rcx, qword [rdi]
mov edx, 2
call qword [sym.imp.USER32.dll_GetScrollPos]
mov r8d, eax
lea rcx, [rbx + 0x2f0]
lea rdx, [0x1400f1538]
call fcn.1400042cc
mov rcx, qword [rdi]
mov edx, 2
call qword [sym.imp.USER32.dll_GetScrollPos]
lea ecx, [rax + rax*8]
mov eax, 0x66666667
imul ecx
lea rcx, [rbx + 0x2f8]
sar edx, 1
mov r8d, edx
add edx, 0x20
shr r8d, 0x1f
add r8d, edx
lea rdx, [0x1400f1508]
call fcn.1400042cc
xor edx, edx
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14007936c
call fcn.1400713c8
int3

Function at 0x140071f40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.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 0x140071f7f
cmp dword [rcx + 0xe8], 0
jne 0x140071f7f
movzx eax, si
mov dword [rcx + 0xe8], eax
call fcn.140080930
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 0x140072258
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 0x1400722ad
call fcn.14007dde8
mov rdx, rax
test rax, rax
je 0x1400722ab
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x140076f8a.0]
mov rbx, rax
jmp 0x1400722ad
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.140071fcc
Function at 0x1400733c0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
cmp qword [rcx + 0xd0], rbp
jne 0x1400733fa
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14007349e
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x1400734b9
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140076f8a.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, qword [rdi + 0xd0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rax, qword [rax + 0x118]
call qword [case.0x140076f8a.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1400bc230
test eax, eax
je 0x140073462
cmp eax, 0xc
je 0x1400734b3
cmp eax, 0x50
jne 0x1400734c4
test rbx, rbx
jne 0x14007346b
mov ebx, ebp
jmp 0x140073476
mov rcx, rbx
call fcn.1400af134
mov rbx, rax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x14007349c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140076f8a.0]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
call fcn.1400713ec
nop
mov ecx, 0x80004005
call fcn.140002f7c
nop
call fcn.1400713c8
int3

Function at 0x1400760a8
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 0x140076106
call fcn.140080930
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 0x140076106
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140076111
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.140070cd8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140076980
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 0x140076a39
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140076a39
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140076a39
test rdi, rdi
je 0x140076a39
xor r14d, r14d
xor esi, esi
call fcn.140080930
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 0x140076a19
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 0x140076a39
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14008ff70
mov edi, eax
test eax, eax
je 0x140076a35
mov rcx, rbx
call fcn.1400766a8
mov eax, edi
jmp 0x140076a3b
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 0x14007bc9c
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x14007bd04
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x14007bcee
cmp qword [rcx + 0x18], 0
jne 0x14007bce9
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x14007bd0a
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 0x14007bd04
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.14008e3e8
call fcn.1400713c8
int3
call fcn.1400713c8
int3

Function at 0x14007eac4
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 0x14007eb3f
xor r8d, r8d
call fcn.14007ed94
mov rsi, rax
test rax, rax
je 0x14007eb3b
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 0x14007eb3b
mov eax, dword [rsp + 0x30]
jmp 0x14007eb55
mov eax, edi
jmp 0x14007eb55
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 0x14007f5c4
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 0x14007f62b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007f63f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007f63f
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.0x140076f8a.0]
jmp 0x14007f644
cmp dword [rcx + 8], 0
je 0x14007f63f
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14007f644
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400925cc
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 0x1400925fe
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400925fe
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.1400a479c
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140092610
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 0x140092636
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14007f5c4
jmp 0x1400926a2
cmp byte [0x140125430], 0
jne 0x14009267a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009266a
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140125428], rax
jmp 0x140092671
mov rax, qword [0x140125428]
mov byte [0x140125430], 1
jmp 0x140092681
mov rax, qword [0x140125428]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x14009269b
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x140076f8a.0]
jmp 0x1400926a2
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a21d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
je 0x1400a2238
call fcn.140080930
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 0x1400a2238
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400a227e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov edi, 1
test rbx, rbx
je 0x1400a225d
mov rcx, qword [r15]
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rax, qword [rcx + 0x40]
mov rcx, r15
call qword [case.0x140076f8a.0]
mov edi, eax
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x1400a227c
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r14
call qword [case.0x140076f8a.0]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400bf2fc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400bf120

Function at 0x1400c7fcc
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1400c7fa9
call fcn.1400af114
mov dword [rax], SafeArrayUnaccessData
call fcn.1400aeff4
or eax, 0xffffffff
jmp 0x1400c7fc6
sub dword [rcx + 0x10], 1
jns 0x1400c7fb8
add rsp, 0x28
jmp fcn.1400c8e30
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1400c7f88
Function at 0x140e8f074
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140e8f07e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140e8f0a7
pop rbp
sub rbp, 0x33
sub rbp, 0xe8f074
sub rsp, 0x20
jmp 0x140e8f0c6
mov rax, 0xe8f074
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x42e6de49
xor byte [rax], dl
inc rax
dec rcx
jne 0x140e8f0e5
jmp 0x140e8f0fc
add eax, eax
movabs al, byte [0xc80149494975c0c2]
mov byte [rcx + 0x48], al
add qword [r8 - 0x60], rcx
add dword [rsi + 0x49494189], ecx
add qword [r14 + 0x4949618b], rcx
add qword [r14 - 0x77b7fe55], rdi
ret 0x45c8
Function at 0x14001123f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400138e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112da
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014c50
xor al, al
jmp 0x140014cd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014c63
xor al, al
jmp 0x140014cd1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014c8d
xor al, al
jmp 0x140014cd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ca1
xor al, al
jmp 0x140014cd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014cb3
xor al, al
jmp 0x140014cd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014ccf
xor al, al
jmp 0x140014cd1
mov al, 1
add rsp, 0x38
ret
Function at 0x140006520
Capabilities:
Hash data with crc32

Disassembly:
xor edx, edx
xor ecx, ecx
jmp fcn.140006530

Function at 0x140006530
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401fcc80]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401fcdb0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4b21], 0
jne 0x140006598
cmp byte [rbx + 0x4b22], 0
jne 0x140006598
movsx r9d, word [rbx + 0x5c54]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000b2e0
test sil, 2
je 0x1400066d0
jmp 0x140006631
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400e25c0]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400e25b8]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
or dword [rbx + 0x47f0], 1
mov qword [rbx + 0x4808], rax
movss dword [rbx + 0x4800], xmm0
mov dword [rbx + 0x47f4], 1
movss dword [rbx + 0x4804], xmm1
movss xmm0, dword [rbx + 0x3900]
mov rax, qword [0x1401fcdb0]
mulss xmm0, dword [0x1400e2564]
or dword [rax + 0x47f0], 0x40
movss dword [rax + 0x4850], xmm0
movsx r9d, word [rbx + 0x5c54]
call fcn.14000b2e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140006681
lea r11, [0x1400e0a50]
cmp r9b, 0x23
jne 0x140006664
cmp byte [r8], r9b
jne 0x140006664
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140006651
not ecx
call fcn.140009b90
test rax, rax
je 0x1400066d0
cmp byte [rax + 0xb6], 0
je 0x1400066d0
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5c54]
movsx r9d, word [rbx + 0x5c54]
call fcn.14000b2e0
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140003e20
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140074070
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140009af0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401fcdb0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140009b53
mov qword [rsp], rbx
lea rbx, [0x1400e0a50]
nop dword [rax]
cmp r9b, 0x23
jne 0x140009b33
cmp byte [r8], r9b
jne 0x140009b33
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140009b20
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5d18]
not eax
mov r8, qword [r10 + 0x5d20]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140009b7f
cmp dword [r8 + 8], eax
je 0x140009b86
add r8, 0x48
cmp r8, rcx
jne 0x140009b70
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret