joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017e2dc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14017e2fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401463c4
or eax, 0xffffffff
jmp 0x14017e2fe
xor eax, eax
add rsp, 0x28
ret

Function at 0x14018c0dc
Capabilities:
Parse pe header

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

Function at 0x14019598c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401955b4
call fcn.140146434
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.140146288
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14019559c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14019559c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1401955e6
lock or dword [rax + 0x14], 0x10
jmp 0x14019559c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x140195603
mov rcx, qword [rbp + 0x10]
call fcn.140195ff4
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140192178
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14018f0f0
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14019565a
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14019559c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401956c6
mov rcx, qword [rbp + 0x10]
call fcn.140192178
cmp eax, 0xffffffff
je 0x1401956ad
mov rcx, qword [rbp + 0x10]
call fcn.140192178
cmp eax, 0xfffffffe
je 0x1401956ad
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140192178
movsxd rdi, eax
lea rsi, [0x14070c9c0]
mov rcx, rbx
sar rdi, 6
call fcn.140192178
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1401956b4
lea rax, [0x1406feb60]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401956c6
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1401956fc
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1401956f8
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1401956f8
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14019559f
jmp 0x14019556c
Function at 0x1401a6390
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor edi, edi
mov rbp, rcx
mov ecx, dword [rsp + 0x70]
mov ebx, edi
mov r14d, edi
mov esi, edi
mov r15, r9
call fcn.1401a6300
movabs rax, 0xaaaaaaaaaaaaaaab
mov rcx, r15
mul r15
shr rdx, 1
lea rax, [rdx + rdx*2]
lea r12, [rdx*4]
sub rcx, rax
je 0x1401a6403
test byte [rsp + 0x70], 2
jne 0x1401a63f9
add r12, 4
jmp 0x1401a6403
shr rcx, 1
add r12, 2
add r12, rcx
cmp qword [rsp + 0x58], r12
ja 0x1401a640f
call fcn.1401a5df0
test byte [rsp + 0x70], 4
je 0x1401a6495
test r15, r15
je 0x1401a6505
mov r11, qword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r14 + r11]
add rdi, 8
shl esi, 8
inc r14
add esi, eax
cmp rdi, 6
jb 0x1401a6471
nop word [rax + rax]
mov eax, esi
sub rdi, 6
mov rcx, rdi
shr eax, cl
and eax, 0x3f
mov ecx, eax
call fcn.1401a5f70
mov byte [rbx + rbp], al
inc rbx
cmp rdi, 6
jae 0x1401a6450
cmp r14, r15
jb 0x1401a6430
test rdi, rdi
je 0x1401a6505
mov ecx, 6
sub cl, dil
shl esi, cl
and esi, 0x3f
mov ecx, esi
call fcn.1401a5f70
jmp 0x1401a64ff
test r15, r15
je 0x1401a6505
mov r11, qword [rsp + 0x60]
nop
movzx eax, byte [r14 + r11]
add rdi, 8
shl esi, 8
inc r14
add esi, eax
cmp rdi, 6
jb 0x1401a64e1
nop word [rax + rax]
mov eax, esi
sub rdi, 6
mov rcx, rdi
shr eax, cl
and eax, 0x3f
mov ecx, eax
call fcn.1401a5f00
mov byte [rbx + rbp], al
inc rbx
cmp rdi, 6
jae 0x1401a64c0
cmp r14, r15
jb 0x1401a64a0
test rdi, rdi
je 0x1401a6505
mov ecx, 6
sub cl, dil
shl esi, cl
and esi, 0x3f
mov ecx, esi
call fcn.1401a5f00
mov byte [rbx + rbp], al
inc rbx
cmp rbx, r12
jae 0x1401a651e
sub r12, rbx
lea rdi, [rbx + rbp]
mov rcx, r12
mov eax, 0x3d
rep stosb byte [rdi], al
add rbx, r12
mov rax, qword [rsp + 0x58]
mov byte [rbx + rbp], 0
inc rbx
cmp rbx, rax
jb 0x1401a6523
mov rbx, qword [rsp + 0x50]
mov rax, rbp
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x1401a71c0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [0x14070d118], rax
cmp rax, 0xf
ja 0x1401a71e5
call fcn.1401a5df0
mov edx, reloc.WS2_32.dll_recv
lea rcx, [0x14070d120]
call fcn.1401a6cc0
xor eax, eax
add rsp, 0x58
ret
Function at 0x1401a9a80
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rax, rdx
test r9, r9
jne 0x1401a9ab6
mov ebx, 0x79622d32
mov r10d, 0x61707865
mov r11d, 0x3320646e
mov r9d, 0x6b206574
jmp 0x1401a9ac5
mov r10d, dword [r9]
mov r11d, dword [r9 + 4]
mov ebx, dword [r9 + 8]
mov r9d, dword [r9 + 0xc]
mov ecx, dword [r8 + 0x18]
mov edx, dword [r8 + 0x14]
mov r14d, dword [r8]
mov r15d, dword [r8 + 4]
mov r12d, dword [r8 + 8]
mov ebp, dword [r8 + 0xc]
mov r13d, dword [r8 + 0x10]
mov edi, dword [rax + 8]
mov esi, dword [rax + 0xc]
mov dword [rsp + 0x68], ecx
mov ecx, dword [r8 + 0x1c]
mov r8d, dword [rax + 4]
mov dword [rsp + 0x78], edx
mov edx, dword [rax]
mov dword [rsp + 0x70], ecx
mov ecx, dword [rsp + 0x78]
mov qword [rsp + 8], 0xa
nop dword [rax]
lea eax, [rcx + r10]
rol eax, 7
xor ebp, eax
lea eax, [r10 + rbp]
rol eax, 9
xor edi, eax
lea eax, [rdi + rbp]
rol eax, 0xd
xor ecx, eax
lea eax, [rdi + rcx]
ror eax, 0xe
xor r10d, eax
lea eax, [r14 + r11]
rol eax, 7
xor esi, eax
lea eax, [rsi + r11]
rol eax, 9
xor dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, esi
rol eax, 0xd
xor r14d, eax
mov eax, dword [rsp + 0x68]
add eax, r14d
ror eax, 0xe
xor r11d, eax
lea eax, [rdx + rbx]
rol eax, 7
xor dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
add eax, ebx
rol eax, 9
xor r15d, eax
mov eax, dword [rsp + 0x70]
add eax, r15d
rol eax, 0xd
xor edx, eax
lea eax, [rdx + r15]
ror eax, 0xe
xor ebx, eax
lea eax, [r9 + r13]
rol eax, 7
xor r12d, eax
lea eax, [r12 + r9]
rol eax, 9
xor r8d, eax
lea eax, [r8 + r12]
rol eax, 0xd
xor r13d, eax
lea eax, [r8 + r13]
ror eax, 0xe
xor r9d, eax
lea eax, [r12 + r10]
rol eax, 7
xor r14d, eax
mov dword [rsp], r14d
lea eax, [r14 + r10]
rol eax, 9
xor r15d, eax
lea eax, [r15 + r14]
rol eax, 0xd
xor r12d, eax
lea eax, [r12 + r15]
ror eax, 0xe
xor r10d, eax
lea eax, [r11 + rbp]
rol eax, 7
xor edx, eax
lea eax, [rdx + r11]
rol eax, 9
xor r8d, eax
lea eax, [r8 + rdx]
rol eax, 0xd
xor ebp, eax
lea eax, [r8 + rbp]
ror eax, 0xe
xor r11d, eax
lea eax, [rsi + rbx]
rol eax, 7
xor r13d, eax
lea eax, [rbx + r13]
mov r14d, dword [rsp + 0x70]
rol eax, 9
xor edi, eax
lea eax, [rdi + r13]
rol eax, 0xd
xor esi, eax
lea eax, [rsi + rdi]
ror eax, 0xe
xor ebx, eax
mov eax, dword [rsp + 0x70]
add eax, r9d
rol eax, 7
xor ecx, eax
lea eax, [rcx + r9]
rol eax, 9
xor dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, ecx
rol eax, 0xd
xor r14d, eax
mov eax, dword [rsp + 0x68]
add eax, r14d
mov dword [rsp + 0x70], r14d
mov r14d, dword [rsp]
ror eax, 0xe
xor r9d, eax
sub qword [rsp + 8], 1
jne 0x1401a9b10
mov rcx, qword [rsp + 0x60]
xor eax, eax
mov dword [rcx], r10d
mov dword [rcx + 4], r11d
mov dword [rcx + 8], ebx
mov dword [rcx + 0xc], r9d
mov dword [rcx + 0x10], edx
mov dword [rcx + 0x14], r8d
mov dword [rcx + 0x18], edi
mov dword [rcx + 0x1c], esi
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401c0c40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx ecx, byte [rcx + rax]
inc rax
xor ecx, edx
or dword [rsp + 8], ecx
cmp rax, 0x10
jl 0x1401c0c50
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret
Function at 0x1401c8488
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140134690
sub rsp, rax
mov r8d, 0x800
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x60], 7
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x48], bx
cmp word [rbp - 0x70], bx
jne 0x1401c84d5
mov r8d, ebx
jmp 0x1401c84e7
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x1401c84dd
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000c18c
nop
mov r9d, 2
lea rcx, [rsp + 0x48]
call fcn.140006d18
lea r8, [rax + 1]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140005ab4
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140005b38
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.14000d1bc
mov dword [rsp + 0x20], 0x610073
mov dword [rsp + 0x24], 0x74006e
mov dword [rsp + 0x2e], 0x750072
mov dword [rsp + 0x28], 0x760069
mov dword [rsp + 0x36], 0x2e0064
mov edx, 0x69
mov dword [rsp + 0x3e], 0x65
mov dword [rsp + 0x3a], 0x780065
mov word [rsp + 0x2c], dx
mov dword [rsp + 0x32], 0x770073
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x20]
call fcn.1401776c4
test eax, eax
sete bl
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x1401c85ef
inc rax
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
movabs r8, 0x7fffffffffffffff
cmp rax, r8
ja 0x1401c8602
add rax, rax
cmp rax, 0x1000
jb 0x1401c85ea
test dl, 0x1f
jne 0x1401c8602
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x1401c8602
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
ja 0x1401c8602
call fcn.140133ea8
mov al, bl
mov rbx, qword [rsp + 0x10a0]
add rsp, 0x1090
pop rbp
ret
call fcn.1401462a8
int3
Function at 0x1401c9828
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, [0x140443c8c]
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 0x1401c993a
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 0x1401c993a
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, [0x140443c94]
mov qword [rsp + 0x20], rax
lea rdx, [0x140443bcc]
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 0x1401cb43c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x2fd8]
mov eax, 0x30c0
call fcn.140134690
sub rsp, rax
movsxd rdi, r9d
mov rsi, r8
mov r14d, edx
xor ebx, ebx
test r9d, r9d
jne 0x1401cae73
xor eax, eax
jmp 0x1401cb020
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], rbx
mov byte [rsp + 0x48], bl
cmp byte [rcx], bl
jne 0x1401cae8e
mov r8, rbx
jmp 0x1401cae9b
or r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], bl
jne 0x1401cae92
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14000da24
nop
mov rax, qword [rsp + 0x58]
mov edx, 0xf80
cmp rax, rdx
jbe 0x1401caed4
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.140137f50
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r8, qword [rsp + 0x48]
mov edx, r15d
lea rcx, [rbp - 0x40]
call fcn.14017e27c
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.140137f50
lea rcx, [rsp + 0x70]
call fcn.1401cd430
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0xfc0]
call fcn.140137f50
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xfc0]
call fcn.140008d5c
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x1fc0]
call fcn.140137f50
mov r9, qword [rbp + 0x3000]
lea r8, [rbp + 0xfc0]
mov edx, r15d
lea rcx, [rbp + 0x1fc0]
call fcn.1401ccc04
test eax, eax
je 0x1401cafe0
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.140137f50
lea r8, [rbp + 0x1fc0]
mov rdx, rdi
mov rcx, rsi
call fcn.14017e27c
mov ebx, 1
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x1401cb01e
inc rax
mov rdx, qword [rsp + 0x48]
mov rcx, rdx
cmp rax, r15
jb 0x1401cb016
test cl, 0x1f
jne 0x1401cb03d
mov rdx, qword [rdx - 8]
cmp rdx, rcx
jae 0x1401cb03d
sub rcx, rdx
sub rcx, 8
cmp rcx, 0x1f
ja 0x1401cb03d
mov rcx, rdx
call fcn.140133ea8
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
call fcn.1401462a8
int3
jmp 0x1401cae34
Function at 0x1401cdcf4
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, [0x140443ab4]
mov rdi, rcx
mov dword [rbp + 0x3f], eax
lea rcx, [rbp + 0x4f]
mov dword [rbp + 0x37], eax
mov rbx, r8
call fcn.1400064d0
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.1401ce328
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 0x1401cde57
lea ecx, [rax + 0x16]
call fcn.1401ce328
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.1401ce328
mov rcx, qword [rbp + 0x47]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, Ordinal_26
call fcn.1401ce328
mov rdx, qword [rbp + 0x4f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401cde7f
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 0x1401cde9c
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.1401ce328
xor r15b, r15b
xor bpl, bpl
test ebx, ebx
je 0x1401ce05c
lea ecx, [rbx + 1]
mov edi, ecx
call fcn.14017026c
mov qword [rsp + 0x20], rax
mov rsi, rax
test rax, rax
je 0x1401ce05c
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.140137f50
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 0x1401cdf43
mov rcx, rsi
call fcn.140170264
jmp 0x1401ce05c
mov ecx, 8
call fcn.1401ce328
mov eax, dword [rsi + 4]
lea r14, [rsi + 8]
lea rdi, [rsi + 8]
add r14, rax
mov rsi, qword [rsp + 0x70]
mov al, byte [rdi]
test al, al
je 0x1401cdfa6
cmp al, 2
jne 0x1401cdff4
mov ecx, reloc.WS2_32.dll_listen
call fcn.1401ce328
movzx ebx, byte [rdi + 1]
mov ecx, reloc.WS2_32.dll_ntohl
add rbx, rdi
call fcn.1401ce328
mov dl, byte [rdi + 7]
mov r8, r12
mov rcx, rbx
call fcn.1401ce078
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.1401ce328
mov bpl, 1
jmp 0x1401cdff4
mov ecx, 9
call fcn.1401ce328
movzx ebx, byte [rdi + 1]
mov ecx, 0xa
add rbx, rdi
call fcn.1401ce328
mov dl, byte [rdi + 4]
mov r8, rsi
mov rcx, rbx
call fcn.1401ce078
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.1401ce328
mov dl, byte [rdi + 5]
mov r8, r13
mov rcx, rbx
call fcn.1401ce078
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov r15b, 1
call fcn.1401ce328
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401ce328
test r15b, r15b
je 0x1401ce008
test bpl, bpl
jne 0x1401ce048
movzx eax, byte [rdi + 1]
add rax, rdi
mov rdi, rax
lea rcx, [rax + 1]
mov al, byte [rax]
jmp 0x1401ce022
mov rdi, rcx
inc rcx
mov al, byte [rdi]
or al, byte [rcx]
jne 0x1401ce01a
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.1401ce328
add rdi, 2
cmp rdi, r14
jae 0x1401ce048
mov ecx, reloc.WS2_32.dll_select
call fcn.1401ce328
jmp 0x1401cdf60
mov rcx, qword [rsp + 0x20]
call fcn.140170264
mov ecx, reloc.WS2_32.dll_send
call fcn.1401ce328
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 0x1401ce228
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x460
mov rbx, rcx
lea rdx, [0x140443ab0]
lea rcx, [rax + 0x20]
call fcn.1400064d0
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x20a
call fcn.140137f50
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x20a
call fcn.140137f50
and dword [rsp + 0x480], 0
lea rax, [rsp + 0x40]
and dword [rsp + 0x478], 0
lea rdx, [rsp + 0x250]
mov r8d, 0x105
lea rcx, [0x140443ab8]
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 0x1401ce2e9
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 0x1401ce328
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 0x1401ce38e
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, [0x140443aac]
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 0x1401cfed0
Capabilities:
Set registry value

Disassembly:
test rdx, rdx
je 0x1401d00cd
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 0x1401d00bb
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x410
call fcn.140137f50
mov ecx, esi
lea rax, str.Software_
movzx eax, word [rcx + rax]
mov word [rsp + rcx + 0x50], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1401cff1a
test rbx, rbx
je 0x1401cff7b
cmp word [rbx], si
je 0x1401cff7b
lea rcx, [rsp + 0x50]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x1401cff46
xor edx, edx
movzx eax, word [rbx + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x1401cff51
lea rcx, [rsp + 0x50]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x1401cff6a
mov eax, dword [reloc.SHELL32.dll_PathGetShortPath]
mov dword [rcx], eax
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x410
call fcn.140137f50
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.140138db4
mov rdx, rax
test rax, rax
jne 0x1401cffc6
lea rdx, [rbp + 0x360]
jmp 0x1401cffca
add rdx, 2
lea rcx, [rsp + 0x50]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x1401cffd3
xor r8d, r8d
movzx eax, word [rdx + r8*2]
mov word [rcx + r8*2], ax
inc r8
test ax, ax
jne 0x1401cffdf
lea rcx, [rsp + 0x50]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], si
jne 0x1401cfffa
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 0x1401d0014
movups xmm0, xmmword [str.XMessageBox]
lea rdx, [rsp + 0x50]
xor r9d, r9d
movsd xmm1, qword [0x1406b70a8]
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 0x1401d00bb
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