joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400112f3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015010
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015030
xor al, al
jmp 0x1400150b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015043
xor al, al
jmp 0x1400150b1
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 0x14001506d
xor al, al
jmp 0x1400150b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015081
xor al, al
jmp 0x1400150b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015093
xor al, al
jmp 0x1400150b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400150af
xor al, al
jmp 0x1400150b1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001210
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0xfb8]
mov eax, 0x10b0
call fcn.140013cd0
sub rsp, rax
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, rcx
lea rcx, [rsp + 0x34]
call fcn.140008ee0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001263
lea ecx, [rax + 6]
jmp 0x140001381
call fcn.14000a544
mov rbx, rax
call fcn.14000b434
mov qword [rsp + 0x28], rbx
mov ebx, 0x400
lea r8, [0x14003a060]
lea rcx, [rbp + 0x7a0]
mov r9, rax
mov edx, ebx
mov dword [rsp + 0x20], 0x5c
call fcn.14000a4f4
mov r9d, dword [rsp + 0x34]
lea r8, [0x14003a070]
lea rcx, [rbp - 0x60]
mov edx, ebx
call fcn.14000a4f4
lea rax, [0x14003a0a0]
lea r11, str.JavaWSSplashScreen
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rsi
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x7a0]
xor esi, esi
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x60], rsi
call fcn.14000b344
test eax, eax
jne 0x14000137f
xor eax, eax
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
mov rcx, rdi
mov word [rbp - 0x80], si
mov dword [rsp + 0x30], reloc.WSOCK32.dll_recv
mov qword [rbp - 0x7e], rax
mov dword [rbp - 0x76], eax
mov word [rbp - 0x72], ax
call qword [sym.imp.WSOCK32.dll_accept]
cmp eax, 0xffffffff
jne 0x14000132e
lea ecx, [rsi + 6]
jmp 0x140001381
xor r9d, r9d
movsxd rbx, eax
lea rdx, [rbp - 0x70]
lea r8d, [r9 + 6]
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 6
je 0x140001351
mov ecx, 7
jmp 0x140001381
lea rcx, [rbp - 0x70]
call fcn.140013e1c
mov dword [0x14003a054], eax
test eax, eax
jg 0x14000136b
mov ecx, 8
jmp 0x140001381
mov rcx, rbx
call fcn.14000a294
mov rcx, rdi
call fcn.14000a294
xor eax, eax
jmp 0x140001386
xor ecx, ecx
call fcn.14000c760
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.1400133f0
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140008b3c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1160]
mov eax, 0x1260
call fcn.140013cd0
sub rsp, rax
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rbp + 0x1150], rax
mov qword [rsp + 0x28], rcx
mov rdi, rcx
lea rax, [0x14003c7f8]
mov rbx, rdx
lea rcx, [rbp + 0x150]
lea r9, [0x14003c828]
or r8, 0xffffffffffffffff
mov edx, 0x1000
mov qword [rsp + 0x20], rax
call fcn.140014f14
lea r11, [rsp + 0x30]
lea rdx, [rbp + 0x150]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140008bd2
xor eax, eax
jmp 0x140008c6b
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.Path
xor r8d, r8d
mov dword [rsp + 0x38], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140008c19
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140008bcb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x3c], 1
jne 0x140008bcb
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140008c34
call fcn.140013e28
mov rcx, rdi
call fcn.140013f38
lea rdx, [rbx + 0x10]
mov rcx, rax
mov qword [rbx + 8], rax
call fcn.140008764
mov rcx, qword [rbx]
test rcx, rcx
je 0x140008c59
call fcn.140013e28
lea rcx, [rsp + 0x40]
call fcn.140013f38
mov qword [rbx], rax
mov eax, 1
mov rcx, qword [rbp + 0x1150]
xor rcx, rsp
call fcn.1400133f0
lea r11, [rsp + 0x1260]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140008c9c
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r12, rcx
lea r8, str.FORCED_FX_ROOT
lea rcx, [rsp + 0x48]
xor ebx, ebx
xor edx, edx
xor edi, edi
and qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 0x1fe
call fcn.140014674
cmp qword [rsp + 0x48], rbx
je 0x140008d42
test eax, eax
jne 0x140008d42
lea edx, [rdi + 0x40]
lea ecx, [rdi + 1]
call fcn.140013954
lea rcx, str.2.0
mov rbx, rax
call fcn.140013f38
lea rdx, [rbx + 0x10]
mov rcx, rax
mov qword [rbx + 8], rax
call fcn.140008764
mov rcx, qword [rsp + 0x48]
call fcn.140013f38
mov qword [rbx], rax
mov rcx, qword [rsp + 0x48]
call fcn.140013e28
jmp 0x140008e27
lea rax, [rsp + 0x50]
lea rdx, [0x14003c878]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140008d74
xor eax, eax
jmp 0x140008e2a
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x70]
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test eax, eax
jne 0x140008e0a
test r12, r12
je 0x140008dbb
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.140008ab4
jmp 0x140008dc0
mov eax, 1
test eax, eax
je 0x140008e0a
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.140008764
test rbx, rbx
je 0x140008dee
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140008854
test eax, eax
je 0x140008e0a
mov rdx, rbx
jmp 0x140008e01
mov edx, 0x40
lea ecx, [rdx - 0x3f]
call fcn.140013954
mov rbx, rax
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140008b3c
inc edi
mov dword [rsp + 0x40], 0x1fe
test esi, esi
je 0x140008d74
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400133f0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x140008ee0
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov rdi, rcx
mov dword [rsp + 0x20], reloc.WSOCK32.dll_recv
mov word [rsp + 0x28], ax
mov qword [rsp + 0x2a], rax
mov dword [rsp + 0x32], eax
mov word [rsp + 0x36], ax
call fcn.14000a1b4
lea rcx, [0x14003c8a8]
mov ebx, 2
mov word [rsp + 0x28], bx
call qword [sym.imp.WSOCK32.dll_inet_addr]
lea edx, [rbx - 1]
xor r8d, r8d
mov ecx, ebx
mov dword [rsp + 0x2c], eax
call qword [sym.imp.WSOCK32.dll_socket]
or rsi, 0xffffffffffffffff
mov rbx, rax
cmp rax, rsi
jne 0x140008f5d
mov rax, rsi
jmp 0x140008fbf
lea rdx, [rsp + 0x28]
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_bind]
mov rcx, rbx
cmp eax, esi
jne 0x140008f7f
call fcn.14000a294
jmp 0x140008f58
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.WSOCK32.dll_getsockname]
mov rcx, rbx
cmp eax, esi
je 0x140008f78
mov edx, 0x7fffffff
call qword [sym.imp.WSOCK32.dll_listen]
cmp eax, esi
jne 0x140008faa
mov rcx, rbx
jmp 0x140008f78
movzx ecx, word [rsp + 0x2a]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx r11d, ax
mov rax, rbx
mov dword [rdi], r11d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400133f0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400090d0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor eax, eax
mov ebx, ecx
mov word [rsp + 0x20], ax
mov qword [rsp + 0x22], rax
mov dword [rsp + 0x2a], eax
mov word [rsp + 0x2e], ax
call fcn.14000a1b4
mov edi, 2
movzx ecx, bx
mov word [rsp + 0x20], di
call qword [sym.imp.WSOCK32.dll_htons]
lea rcx, [0x14003c8c8]
mov word [rsp + 0x22], ax
call qword [sym.imp.WSOCK32.dll_inet_addr]
lea edx, [rdi - 1]
xor r8d, r8d
mov ecx, edi
mov dword [rsp + 0x24], eax
call qword [sym.imp.WSOCK32.dll_socket]
or rdi, 0xffffffffffffffff
mov rbx, rax
cmp rax, rdi
jne 0x14000914d
mov rax, rdi
jmp 0x140009172
lea rdx, [rsp + 0x20]
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_connect]
cmp eax, edi
jne 0x14000916f
mov rcx, rbx
call fcn.14000a294
jmp 0x140009148
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400133f0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140009290
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
xor r9d, r9d
mov byte [rsp + 0x38], dl
lea rdx, [rsp + 0x38]
lea r8d, [r9 + 1]
call qword [sym.imp.WSOCK32.dll_send]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1400092c0
Capabilities:
Send data
Send data on socket

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 r12
sub rsp, 0x20
xor ebx, ebx
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x1400092ea
xor eax, eax
jmp 0x140009359
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx + 4]
movsxd rdi, eax
lea rcx, [rdi + rdi]
call fcn.1400140e8
mov rbp, rax
test rax, rax
je 0x1400092e6
lea r8, str._s_r_n
mov r9, rsi
mov rdx, rdi
mov rcx, rax
call fcn.14000a4f4
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
xor r9d, r9d
mov rdx, rbp
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx + rcx - 2]
mov rcx, r12
call qword [sym.imp.WSOCK32.dll_send]
mov rcx, rbp
cmp eax, 0xffffffff
setne bl
call fcn.140013e28
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140009380
Capabilities:
Receive data
Receive data on socket

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 r12
sub rsp, 0x20
lea rbp, [0x1400506a0]
xor r12d, r12d
mov rsi, rcx
mov rdi, rbp
mov ebx, r12d
movsxd rax, ebx
xor r9d, r9d
mov rcx, rsi
lea rdx, [rbp + rax*2]
lea r8d, [r9 + 2]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x1400093ff
test eax, eax
je 0x1400093f4
cmp word [rdi], 0xa
je 0x1400093f4
cmp word [rdi], 0xd
je 0x1400093df
inc ebx
add rdi, 2
cmp ebx, 0x3ff
jl 0x1400093ac
mov word [0x140050e9e], r12w
mov rax, rbp
jmp 0x140009401
movsxd rcx, ebx
mov word [rbp + rcx*2], r12w
jmp 0x1400093ef
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 r12
ret

Function at 0x14000a1b4
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x140056f40], 0
jne 0x14000a26c
lea rcx, str.ws2_32.dll
mov edi, 1
call fcn.14000e314
mov rbx, rax
test rax, rax
jne 0x14000a220
lea rcx, str.wsock32.dll
call fcn.14000e314
xor edi, edi
mov rbx, rax
test rax, rax
jne 0x14000a220
lea ecx, [rax + 0xd]
call fcn.14000c760
mov rcx, rax
call fcn.14000a0e4
int3
lea rdx, [rsp + 0x20]
mov ecx, 2
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14000a247
mov ecx, ntohs
call fcn.14000c760
mov rcx, rax
call fcn.14000a0e4
int3
test edi, edi
je 0x14000a262
lea rdx, str.WSASendDisconnect
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140056f38], rax
mov dword [0x140056f40], 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400133f0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
Function at 0x14000a3c4
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x858
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x840], rax
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareOracleJavaFX
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a45f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.Disabled
xor r8d, r8d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a45f
lea rdx, [rsp + 0x40]
lea rcx, str.true
call fcn.140015868
test eax, eax
je 0x14000a464
mov eax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400133f0
add rsp, 0x858
ret
Function at 0x14000a9f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xf60]
mov eax, 0x1060
call fcn.140013cd0
sub rsp, rax
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rbp + 0xf50], rax
mov dword [rsp + 0x3c], edx
lea rax, [rsp + 0x30]
mov rdi, rcx
lea rdx, [0x14003e9a0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x400
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
jne 0x14000ab3c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.CurrentVersion
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmovne ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r9, str.SoftwareJavaSoftJava_Runtime_Environment
test eax, eax
lea rax, [rsp + 0x50]
lea r8, [0x14003ea88]
lea rcx, [rbp + 0x750]
mov edx, 0x400
mov qword [rsp + 0x20], rax
cmovne ebx, esi
call fcn.140014ef0
lea r11, [rsp + 0x30]
lea rdx, [rbp + 0x750]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ab3c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [0x14003ea18]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmovne ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
cmovne ebx, esi
mov eax, ebx
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.1400133f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000acc4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
or dword [rsp + 0x68], 0xffffffff
lea rax, [rsp + 0x38]
mov rbx, r8
mov r9d, 0x20019
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ad2c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x68]
add rsp, 0x40
pop rbx
ret
Function at 0x14000b0f4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000b131
xor eax, eax
jmp 0x14000b17a
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000b16f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
cmp dword [rsp + 0x28], esi
je 0x14000b16b
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14000b16f
jmp 0x14000b152
mov ebx, dword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400133f0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000b1b4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov dword [rsp + 0x48], edx
lea rax, [rsp + 0x50]
mov rbx, rcx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b22a
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x14000b224
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14000b22c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14000c390
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rbp + 0x3f], rax
and dword [rbp - 0x49], 0
mov rdi, rdx
xor edx, edx
mov ebx, ecx
lea rcx, [rbp - 0x41]
lea r8d, [rdx + 0x40]
call fcn.140013d30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rbp - 0x59]
mov rsi, rax
call fcn.140008ee0
mov qword [0x140057768], rax
cmp rax, 0xffffffffffffffff
jne 0x14000c3fc
lea ecx, [rax + 6]
call fcn.14000c760
mov rcx, rax
call fcn.14000c220
int3
test ebx, ebx
jg 0x14000c413
mov ecx, reloc.WSOCK32.dll_send
call fcn.14000c760
mov rcx, rax
call fcn.14000c220
int3
mov ecx, ebx
call fcn.1400090d0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c434
lea ecx, [rax + 0x12]
call fcn.14000c760
mov rcx, rax
call fcn.14000c220
int3
mov eax, dword [rbp - 0x59]
or r8, 0xffffffffffffffff
lea r9, [0x14003ee2c]
lea edx, [r8 + 7]
lea rcx, [rbp + 0x37]
mov dword [rsp + 0x20], eax
call fcn.14001774c
xor r9d, r9d
lea rdx, [rbp + 0x37]
lea r8d, [r9 + 6]
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 6
je 0x14000c47f
mov ecx, socket
call fcn.14000c760
mov rcx, rax
call fcn.14000c220
int3
mov rcx, rbx
call fcn.14000a294
test rdi, rdi
je 0x14000c59f
and dword [rbp - 0x49], 0
lea rax, [0x14000c2b0]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x41], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x19], 6
mov qword [rbp - 0x21], rax
lea rax, [0x14003eea8]
mov qword [rbp - 9], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
and qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rsi
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov eax, 0x80000000
lea r8, str.Win32Splash
lea rdx, str.SplashDummy
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov r9d, 0xcf0000
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea r9, [0x14000c290]
xor edx, edx
mov rcx, rax
mov r8d, 0x4e20
mov rbx, rax
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
jne 0x14000c54a
lea ecx, [rax + 0x15]
call fcn.14000c760
mov rcx, rax
call fcn.14000c220
int3
call fcn.14000c120
mov rcx, rdi
call fcn.14000c160
mov rcx, qword [0x140057768]
mov r9d, 8
mov r8d, 0x401
mov rdx, rbx
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
jmp 0x14000c589
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp + 7]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14000c575
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400133f0
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c950
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
pxor xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm6
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cvtsi2sd xmm0, rdx
test rdx, rdx
jns 0x14000c983
addsd xmm0, qword [0x1400305b0]
divsd xmm0, qword [0x1400305a8]
call fcn.140017800
movsd xmm2, qword [0x1400305a0]
xor eax, eax
movapd xmm1, xmm0
movapd xmm6, xmm0
mulsd xmm1, qword [0x140030598]
comisd xmm1, xmm2
jbe 0x14000c9c7
subsd xmm1, xmm2
comisd xmm1, xmm2
jae 0x14000c9c7
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rcx, xmm1
add rcx, rax
mov qword [rsi], rcx
mov esi, 2
inc rcx
mov edx, esi
call fcn.140013954
mov r11, rax
test rax, rax
je 0x14000cb06
xor edx, edx
lea r10, [0x140000000]
test rbx, rbx
je 0x14000cab5
mov r9, rax
movsxd rax, edx
cmp rax, rbx
jae 0x14000ca14
movzx ecx, word [rdi]
inc edx
add rdi, rsi
jmp 0x14000ca16
xor ecx, ecx
movsxd rax, edx
cmp rax, rbx
jae 0x14000ca29
movzx r8d, word [rdi]
inc edx
add rdi, rsi
jmp 0x14000ca2c
xor r8d, r8d
movsxd rax, edx
cmp rax, rbx
jae 0x14000ca3e
movzx eax, word [rdi]
inc edx
add rdi, rsi
jmp 0x14000ca40
xor eax, eax
shl ecx, 8
add ecx, r8d
shl ecx, 8
add ecx, eax
mov eax, ecx
shr rax, 0x12
and eax, 0x3f
movzx eax, word [r10 + rax*2 + 0x40620]
mov word [r9], ax
add r9, rsi
mov eax, ecx
shr rax, 0xc
and eax, 0x3f
movzx eax, word [r10 + rax*2 + 0x40620]
mov word [r9], ax
add r9, rsi
mov eax, ecx
shr rax, 6
and ecx, 0x3f
and eax, 0x3f
movzx eax, word [r10 + rax*2 + 0x40620]
mov word [r9], ax
movzx eax, word [r10 + rcx*2 + 0x40620]
add r9, rsi
mov word [r9], ax
movsxd rax, edx
add r9, rsi
cmp rax, rbx
jb 0x14000ca02
movabs rax, 0xaaaaaaaaaaaaaaab
mul rbx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rbx, rax
mov edx, dword [r10 + rbx*4 + 0x406a0]
test edx, edx
jle 0x14000cb03
mulsd xmm6, qword [0x140030590]
mov rcx, r11
cvttsd2si rax, xmm6
add rax, rax
sub rcx, rax
mov eax, edx
sub rcx, rsi
mov edx, 0x3d
mov word [rcx], dx
sub rcx, rsi
dec rax
jne 0x14000caf3
mov rax, r11
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x14000ce38
Capabilities:
Write 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 r12
sub rsp, 0x20
mov rsi, rdx
lea rdx, [0x1400406b8]
movsxd rdi, r8d
call fcn.140016474
xor ebx, ebx
mov r12, rax
test rax, rax
je 0x14000ceaa
mov rcx, rsi
call fcn.14000cd48
mov r8, rdi
mov r9, r12
mov rcx, rax
mov edx, 1
mov rsi, rax
call fcn.140017aa0
mov rcx, r12
mov rbp, rax
call fcn.14001625c
test rsi, rsi
je 0x14000cea3
mov rcx, rsi
call fcn.140013e28
cmp ebp, edi
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret