joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401abaf4
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x8a0]
sub rsp, 0x9a0
mov rdi, rdx
mov dword [rsp + 0x48], 0x5c657261
mov rbx, rcx
mov word [rsp + 0x74], 0x5c72
xor edx, edx
mov dword [rsp + 0x6b], 0x78455c6e
lea rcx, [rbp + 0xa0]
mov dword [rsp + 0x59], 0x73776f64
mov r8d, 0x800
mov dword [rsp + 0x4f], 0x6f736f72
mov dword [rsp + 0x7a], 0x6f46206c
mov word [rsp + 0x40], 0x7325
mov dword [rsp + 0x7e], 0x7265646c
mov dword [rsp + 0x54], 0x69575c74
mov dword [rsp + 0x5e], 0x72727543
mov dword [rsp + 0x63], 0x6556746e
mov word [rsp + 0x4d], 0x6369
mov word [rsp + 0x43], 0x6f53
mov byte [rsp + 0x4c], Ordinal_79
mov word [rbp - 0x7e], reloc.WS2_32.dll_WSAStartup
mov dword [rsp + 0x6f], 0x726f6c70
mov word [rsp + 0x46], 0x7774
mov dword [rsp + 0x76], 0x6c656853
mov dword [rsp + 0x67], 0x6f697372
mov byte [rsp + 0x45], 0x66
mov byte [rsp + 0x5d], reloc.SHELL32.dll_PathGetShortPath
mov byte [rsp + 0x62], 0x65
mov byte [rsp + 0x73], 0x65
mov byte [rsp + 0x42], reloc.SHELL32.dll_PathGetShortPath
mov byte [rsp + 0x53], 0x66
mov byte [rsp + 0x58], WSASetLastError
mov dword [rsp + 0x3a], 0x617461
mov word [rsp + 0x33], 0x6c61
mov word [rsp + 0x30], 0x6f4c
mov dword [rsp + 0x35], 0x70704120
mov byte [rsp + 0x32], 0x63
mov byte [rsp + 0x39], 0x44
call fcn.14011d670
mov r9, rbx
lea r8, [rsp + 0x40]
mov edx, 0x800
lea rcx, [rbp + 0xa0]
call fcn.14000c618
lea rax, [rbp + 0x8c8]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xa0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1401abc4b
xor al, al
jmp 0x1401abcb7
mov ebx, 0x104
lea rcx, [rbp - 0x70]
mov r8d, ebx
xor edx, edx
call fcn.14011d670
mov rcx, qword [rbp + 0x8c8]
lea rax, [rbp + 0x8c0]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
lea rax, [rbp - 0x70]
mov dword [rbp + 0x8c0], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1401abc47
mov rcx, qword [rbp + 0x8c8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rbp - 0x70]
mov rcx, rdi
lea rdx, [0x14042461c]
call fcn.140008754
mov al, 1
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1401ac004
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x68
xor ebx, ebx
mov dword [rbp - 0x34], 0x740066
lea r9, [rbp + 0x28]
mov dword [rbp - 0x14], reloc.WS2_32.dll_WSAStartup
lea rdx, [rbp - 0x38]
mov dword [rbp - 0x22], 0x74006e
mov rcx, 0xffffffff80000002
mov dword [rbp - 0x1e], 0x760069
lea eax, [rbx + 0x77]
mov dword [rbp - 0x26], 0x410053
mov word [rbp - 0x30], ax
lea r8d, [rbx + 0x69]
lea rax, [rbp + 0x20]
mov word [rbp - 0x1a], r8w
mov qword [rsp + 0x28], rax
lea r8, [0x14042464c]
lea rax, [rbp + 0x18]
mov dword [rbp - 0x2a], 0x5c0065
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x38], 0x6f0053
mov dword [rbp - 0x18], 0x750072
mov dword [rbp - 0x2e], 0x720061
mov dword [rbp + 0x28], 4
mov dword [rbp + 0x20], 4
mov dword [rbp + 0x18], ebx
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1401ac116
lea rax, [rbp + 0x30]
mov qword [rbp + 0x30], rbx
mov r9d, 0x20219
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401ac116
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x18]
mov dword [rbp + 0x28], 4
lea r8, [0x140424654]
mov qword [rsp + 0x20], rax
lea rdx, [0x14042458c]
mov dword [rbp + 0x20], 4
mov dword [rbp + 0x18], ebx
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x18]
shr eax, 8
and al, 1
add rsp, 0x68
pop rbx
pop rbp
ret
Function at 0x1401adaa8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x2fc0]
mov eax, 0x30c0
call fcn.1400ec150
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x30e0], rbx
mov qword [rsp + 0x30e8], rsi
mov qword [rsp + 0x30f0], rdi
movsxd rdi, r9d
mov rsi, r8
mov r14d, edx
xor ebx, ebx
test r9d, r9d
jne 0x1401ad527
xor eax, eax
jmp 0x1401ad6b5
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], rbx
mov byte [rsp + 0x48], bl
cmp byte [rcx], bl
jne 0x1401ad542
mov r8, rbx
jmp 0x1401ad54f
or r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], bl
jne 0x1401ad546
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14000d058
nop
mov rax, qword [rsp + 0x58]
mov edx, 0xf80
cmp rax, rdx
jbe 0x1401ad588
mov qword [rsp + 0x58], rdx
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rax, qword [rsp + 0x48]
mov byte [rax + 0xf80], bl
mov r15d, 0x1000
mov r8d, r15d
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.14011d670
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r8, qword [rsp + 0x48]
mov edx, r15d
lea rcx, [rbp - 0x40]
call fcn.140160fb8
mov dword [rsp + 0x3a], 0x6e632673
mov word [rsp + 0x35], 0x2673
mov word [rsp + 0x41], 0x64
mov word [rsp + 0x3e], 0x3d74
mov word [rsp + 0x38], 0x253d
mov dword [rsp + 0x31], 0x253d6469
mov byte [rsp + 0x30], 0x75
mov byte [rsp + 0x37], 0x61
mov byte [rsp + 0x40], Ordinal_41
xor edx, edx
lea r8d, [rdx + 0x42]
lea rcx, [rsp + 0x70]
call fcn.14011d670
lea rcx, [rsp + 0x70]
call fcn.1401af860
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0xfc0]
call fcn.14011d670
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xfc0]
call fcn.140008840
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x1fc0]
call fcn.14011d670
mov r9, qword [rbp + 0x3000]
lea r8, [rbp + 0xfc0]
mov edx, r15d
lea rcx, [rbp + 0x1fc0]
call fcn.1401af03c
mov r14d, 1
test eax, eax
je 0x1401ad698
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.14011d670
lea r8, [rbp + 0x1fc0]
mov rdx, rdi
mov rcx, rsi
call fcn.140160fb8
mov ebx, r14d
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1401ad6b3
inc rdx
mov r8, r14
mov rcx, qword [rsp + 0x48]
call fcn.14000ce04
mov eax, ebx
lea r11, [rsp + 0x30c0]
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
jmp 0x1401ad4d4
Function at 0x1401aff78
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov eax, reloc.WLDAP32.dll_Ordinal_33
lea rdx, [0x140424474]
mov rdi, rcx
mov dword [rbp + 0x3f], eax
lea rcx, [rbp + 0x4f]
mov dword [rbp + 0x37], eax
mov rbx, r8
call fcn.140006214
mov ecx, reloc.WS2_32.dll_setsockopt
mov dword [rbp + 0x1d], 0x73776f64
mov dword [rbp + 0x19], 0x6e69575c
mov dword [rbp + 0x29], 0x56746e65
mov word [rbp + 0x10], 0x694d
mov word [rbp + 0x21], 0x4e20
mov dword [rbp + 8], 0x5754464f
mov dword [rbp + 0x13], 0x6f736f72
mov byte [rbp + 7], 0x53
mov dword [rbp + 0x2d], 0x69737265
mov word [rbp + 0x31], 0x6e6f
mov dword [rbp + 0x24], 0x7275435c
mov dword [rbp + 0xc], 0x5c455241
mov byte [rbp + 0x12], 0x63
mov word [rbp + 0x17], 0x7466
mov byte [rbp + 0x33], 0
mov byte [rbp + 0x28], WSACleanup
mov byte [rbp + 0x23], 0x54
mov dword [rbp - 0x13], 0x644974
mov word [rbp - 0x16], 0x7564
mov word [rbp - 0x19], 0x7250
mov byte [rbp - 0x14], 0x63
mov byte [rbp - 0x17], reloc.WS2_32.dll_WSAGetLastError
mov word [rbp - 1], 0x44
mov dword [rbp - 6], 0x6e6f6974
mov byte [rbp - 2], 0x49
mov word [rbp - 9], 0x6445
mov byte [rbp - 7], 0x69
call fcn.1401b0590
lea rax, [rbp + 0x47]
mov r9d, VarUI2FromI4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 7]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1401b00db
lea ecx, [rax + 0x16]
call fcn.1401b0590
mov rcx, qword [rbp + 0x47]
lea rax, [rbp + 0x37]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x47]
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 9]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, reloc.WS2_32.dll_socket
call fcn.1401b0590
mov rcx, qword [rbp + 0x47]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, Ordinal_27
call fcn.1401b0590
mov rdx, qword [rbp + 0x4f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401b0103
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1401b0120
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov dword [rsp + 0x88], 0x52534d42
mov ecx, dword [rsp + 0x88]
mov r13, rdx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov ecx, 7
mov ebx, eax
call fcn.1401b0590
xor r15b, r15b
xor r14b, r14b
test ebx, ebx
je 0x1401b02dc
lea ecx, [rbx + 1]
mov edi, ecx
call fcn.14015301c
mov qword [rsp + 0x20], rax
mov rsi, rax
test rax, rax
je 0x1401b02dc
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.14011d670
mov ecx, dword [rsp + 0x88]
mov r9d, ebx
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
jne 0x1401b01c7
mov rcx, rsi
call fcn.140153014
jmp 0x1401b02dc
mov ecx, 8
call fcn.1401b0590
mov ebp, dword [rsi + 4]
lea rdi, [rsi + 8]
mov rsi, qword [rsp + 0x70]
add rbp, rdi
cmp byte [rdi], 0
je 0x1401b0226
cmp byte [rdi], 2
jne 0x1401b0274
mov ecx, reloc.WS2_32.dll_listen
call fcn.1401b0590
movzx ebx, byte [rdi + 1]
mov ecx, reloc.WS2_32.dll_ntohl
add rbx, rdi
call fcn.1401b0590
mov dl, byte [rdi + 7]
mov r8, r12
mov rcx, rbx
call fcn.1401b02f8
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.1401b0590
mov r14b, 1
jmp 0x1401b0274
mov ecx, 9
call fcn.1401b0590
movzx ebx, byte [rdi + 1]
mov ecx, 0xa
add rbx, rdi
call fcn.1401b0590
mov dl, byte [rdi + 4]
mov r8, rsi
mov rcx, rbx
call fcn.1401b02f8
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.1401b0590
mov dl, byte [rdi + 5]
mov r8, r13
mov rcx, rbx
call fcn.1401b02f8
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov r15b, 1
call fcn.1401b0590
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401b0590
test r15b, r15b
je 0x1401b0288
test r14b, r14b
jne 0x1401b02c8
movzx eax, byte [rdi + 1]
add rax, rdi
mov rdi, rax
lea rcx, [rax + 1]
mov al, byte [rax]
jmp 0x1401b02a2
mov rdi, rcx
inc rcx
mov al, byte [rdi]
or al, byte [rcx]
jne 0x1401b029a
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.1401b0590
add rdi, 2
cmp rdi, rbp
jae 0x1401b02c8
mov ecx, reloc.WS2_32.dll_select
call fcn.1401b0590
jmp 0x1401b01e0
mov rcx, qword [rsp + 0x20]
call fcn.140153014
mov ecx, reloc.WS2_32.dll_send
call fcn.1401b0590
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401b0490
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x460
mov rbx, rcx
lea rdx, [0x140424470]
lea rcx, [rax + 0x20]
call fcn.140006214
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x20a
call fcn.14011d670
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x20a
call fcn.14011d670
and dword [rsp + 0x480], 0
lea rax, [rsp + 0x40]
and dword [rsp + 0x478], 0
lea rdx, [rsp + 0x250]
mov r8d, 0x105
lea rcx, [0x140424478]
mov dword [rsp + 0x38], r8d
mov r9, rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x478]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x480]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov rdx, qword [rsp + 0x488]
mov ebx, eax
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1401b0551
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, ebx
add rsp, 0x460
pop rbx
ret

Function at 0x1401b0590
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov r9d, 0x20106
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareSegOption
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1401b05f6
mov rcx, qword [rsp + 0x48]
lea r9d, [rax + 4]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14042446c]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x38
ret
Function at 0x1401b0fcc
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r14d, edx
mov rsi, rcx
xor dil, dil
mov dword [rsp + 0x30], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401b111e
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1401b1114
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + reloc.OLEAUT32.dll_VarUI8FromDec]
call fcn.140006214
nop
lea rcx, [rbp + reloc.OLEAUT32.dll_VarUI8FromDec]
call fcn.140006070
mov rax, qword [rbp + reloc.OLEAUT32.dll_VarUI8FromDec]
test rax, rax
je 0x1401b1109
mov rcx, qword [rsi]
mov r8, rax
sub r8, rcx
movzx edx, word [rcx]
cmp dx, word [rcx + r8]
jne 0x1401b107b
add rcx, 2
test dx, dx
jne 0x1401b1064
xor ecx, ecx
jmp 0x1401b1080
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1401b10b7
and dword [rbp + 0x1b0], ecx
lea rdx, [rbp + 0x1b0]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp dword [rbp + 0x1b0], 0x3e8
ja 0x1401b10e3
cmp dword [rbp + 0x1b0], r14d
je 0x1401b10e3
mov rax, qword [rbp + reloc.OLEAUT32.dll_VarUI8FromDec]
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401b10d1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
jmp 0x1401b1024
mov dil, 1
mov rdx, qword [rbp + reloc.OLEAUT32.dll_VarUI8FromDec]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401b1114
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1401b1114
mov ecx, 0x80004005
call fcn.14000b9ec
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1401b113c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, dil
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1401b1154
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, rcx
xor dil, dil
mov dword [rsp + 0x30], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401b11d0
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1401b11c6
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsi]
call fcn.140159ed0
test eax, eax
je 0x1401b11c3
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
jmp 0x1401b119e
mov dil, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1401b11ee
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, dil
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1401b21b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x770]
sub rsp, 0x870
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp word [rdx], si
je 0x1401b2395
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x410
call fcn.14011d670
mov r8d, esi
lea rax, str.Software_
movzx eax, word [r8 + rax]
mov word [rsp + r8 + 0x50], ax
lea r8, [r8 + 2]
test ax, ax
jne 0x1401b21f2
test rbx, rbx
je 0x1401b2255
cmp word [rbx], si
je 0x1401b2255
lea rcx, [rsp + 0x50]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x1401b2220
xor edx, edx
movzx eax, word [rbx + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x1401b222b
lea rcx, [rsp + 0x50]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x1401b2244
mov eax, dword [reloc.SHELL32.dll_PathGetShortPath]
mov dword [rcx], eax
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x410
call fcn.14011d670
mov r8d, 0x206
lea rdx, [rbp + 0x360]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, reloc.SHELL32.dll_PathGetShortPath
lea rcx, [rbp + 0x360]
call fcn.14011fde4
mov rdx, rax
test rax, rax
jne 0x1401b22a0
lea rdx, [rbp + 0x360]
jmp 0x1401b22a4
add rdx, 2
lea rcx, [rsp + 0x50]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x1401b22ad
xor r8d, r8d
movzx eax, word [rdx + r8*2]
mov word [rcx + r8*2], ax
inc r8
test ax, ax
jne 0x1401b22b9
lea rcx, [rsp + 0x50]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x1401b22d4
mov eax, dword [reloc.SHELL32.dll_PathGetShortPath]
mov dword [rcx], eax
lea rax, [rsp + 0x50]
sub rax, 2
lea rax, [rax + 2]
cmp word [rax], si
jne 0x1401b22ee
movups xmm0, xmmword [str.XMessageBox]
lea rdx, [rsp + 0x50]
xor r9d, r9d
movsd xmm1, qword [0x140697a58]
xor r8d, r8d
movups xmmword [rax], xmm0
mov rcx, 0xffffffff80000001
mov dword [rbp + 0x798], esi
movsd qword [rax + 0x10], xmm1
lea rax, [rbp + 0x798]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x7a8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
mov qword [rbp + 0x7a8], rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1401b2395
mov rcx, qword [rbp + 0x7a8]
lea r9d, [rax + 4]
lea rax, [rbp + 0x7a0]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x7a8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x890]
add rsp, 0x870
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401b23b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x760]
sub rsp, 0x860
xor edi, edi
mov rsi, rdx
mov rbx, rcx
cmp word [rdx], di
jne 0x1401b23db
xor eax, eax
jmp 0x1401b2597
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x410
call fcn.14011d670
mov rcx, rdi
lea rax, [0x140697a00]
movzx eax, word [rcx + rax]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1401b23f0
test rbx, rbx
je 0x1401b2451
cmp word [rbx], di
je 0x1401b2451
lea rcx, [rsp + 0x40]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x1401b241c
xor edx, edx
movzx eax, word [rbx + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x1401b2427
lea rcx, [rsp + 0x40]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x1401b2440
mov eax, dword [reloc.SHELL32.dll_PathGetShortPath]
mov dword [rcx], eax
xor edx, edx
lea rcx, [rbp + 0x350]
mov r8d, 0x410
call fcn.14011d670
mov r8d, 0x206
lea rdx, [rbp + 0x350]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, reloc.SHELL32.dll_PathGetShortPath
lea rcx, [rbp + 0x350]
call fcn.14011fde4
mov rdx, rax
test rax, rax
jne 0x1401b249c
lea rdx, [rbp + 0x350]
jmp 0x1401b24a0
add rdx, 2
lea rcx, [rsp + 0x40]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x1401b24a9
xor r8d, r8d
movzx eax, word [rdx + r8*2]
mov word [rcx + r8*2], ax
inc r8
test ax, ax
jne 0x1401b24b5
lea rcx, [rsp + 0x40]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x1401b24d0
mov eax, dword [reloc.SHELL32.dll_PathGetShortPath]
mov dword [rcx], eax
lea rax, [rsp + 0x40]
sub rax, 2
lea rax, [rax + 2]
cmp word [rax], di
jne 0x1401b24ea
movups xmm0, xmmword [0x140697a18]
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
movsd xmm1, qword [0x140697a28]
xor r8d, r8d
movups xmmword [rax], xmm0
mov rcx, 0xffffffff80000001
mov dword [rbp + 0x788], edi
movsd qword [rax + 0x10], xmm1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401b2595
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x790]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x798]
lea rax, [rbp + 0x788]
mov dword [rbp + 0x798], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rbp + 0x790], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1401b2595
mov edi, dword [rbp + 0x788]
mov eax, edi
mov rbx, qword [rsp + 0x880]
add rsp, 0x860
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401b2f2c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ecx, ecx
mov rdi, rdx
xor ebx, ebx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401b2fbd
call qword [sym.imp.USER32.dll_EmptyClipboard]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rdi + rdx*2], bx
jne 0x1401b2f56
lea rdx, [rdx*2 + 2]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x1401b2fb7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1401b2fb7
sub rax, rdi
movzx ecx, word [rdi]
mov word [rax + rdi], cx
lea rdi, [rdi + 2]
test cx, cx
jne 0x1401b2f8b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
mov ebx, 1
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401b4f04
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x140
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
xor ebx, ebx
call fcn.14011d670
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1401b4f43
cmp dword [rsp + 0x24], 6
lea eax, [rbx + 1]
cmovae ebx, eax
mov eax, ebx
add rsp, 0x140
pop rbx
ret

Function at 0x1401b51a4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov ebx, edx
mov rdi, rcx
xor r8d, r8d
mov r9d, r8d
mov r10d, r8d
lea rsi, [0x1406f7cf0]
cmp r10d, ebx
jae 0x1401b523d
inc r8d
and r8d, 0x800000ff
jge 0x1401b51e6
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx r11d, byte [rdx + rsi]
lea eax, [r9 + r11]
mov r9d, eax
and r9d, 0x800000ff
jge 0x1401b520b
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rcx, r9d
mov al, byte [rcx + rsi]
mov byte [rdx + rsi], al
mov byte [rcx + rsi], r11b
mov al, byte [rdx + rsi]
mov edx, r10d
movzx ecx, al
add rcx, r11
movzx eax, cl
movzx ecx, byte [rax + rsi]
movzx eax, byte [rdx + rdi]
xor ecx, eax
mov byte [rdx + rdi], cl
inc r10d
jmp 0x1401b51c8
mov al, 1
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1401f222c
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
lea r9, [0x1406eb270]
mov dword [rax - 0x10], ebx
mov rdi, rdx
mov qword [rax - 0x18], rdx
mov r8, rdx
lea rdx, str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov rsi, rcx
call fcn.1401ed650
test ebx, ebx
jne 0x1401f227f
mov r9, rdi
lea r8, [0x1406eb310]
lea rdx, str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, rsi
call fcn.1401ed650
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret