joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420240
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x0065a652], 0
jne 0x42032f
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x420325
lea rbx, [0x0062cab0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop dword [rax]
test al, bl
jne 0x420307
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.00463140
lea rax, [0x00526a2d]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00436de0
nop
int3

Function at 0x422a80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x422b81
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x422ac0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x422b71
test byte [rax], al
lea rcx, [rax + 0x100c0]
mov rax, rcx
call fcn.004235e0
nop dword [rax]
test rax, rax
je 0x422b71
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x00422bc0]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rbx, [rsp + 8]
mov qword [rsp + 0x38], rbx
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.00460900
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x422b5f
xor eax, eax
jmp 0x422b69
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x422ab2
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
nop
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00460a40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00422a80
Function at 0x430060
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x430306
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1278]
mov rcx, qword [rax + 0x1268]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x4302fa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x0065a652], 0
jne 0x4300c2
xor edx, edx
xor ebx, ebx
nop
jmp 0x43010a
xor edx, edx
jmp 0x4300ed
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041fa60
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x4300c6
add rax, 0x1268
call fcn.0042fee0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x430294
mov rsi, qword [rax + rdx*8 + 0x1278]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x430107
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00413a00
test rax, rax
jne 0x430162
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x430107
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x4301a5
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x430107
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x4302ed
lea r10, [0x0062cab0]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x43022b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x430265
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x430107
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x4302e5
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x430107
cmp rbx, 0x200
ja 0x4302d8
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00425be0
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.0042fee0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.004631a0
mov rax, r8
call fcn.00463120
mov rax, r8
mov ecx, 0x40
call fcn.00463140
mov edx, 0x200
nop
call fcn.00463180
nop
mov qword [rsp + 8], rax
call fcn.004651a0
mov rax, qword [rsp + 8]
jmp fcn.00430060
Function at 0x445400
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44556f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x445418
cmp edx, ecx
jne 0x44555d
nop dword [rax]
test rsi, rsi
jne 0x44555d
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x445476
nop
call fcn.00464a60
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
nop dword [rax + rax]
call fcn.00445300
mov rcx, qword [0x00606548]
mov rdx, qword [0x00606540]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
sar esi, 5
mov r8d, esi
shl esi, 5
sub edi, esi
test edi, edi
jl 0x445558
cmp edi, 0x20
sbb esi, esi
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x44554d
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x006071f0]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x006071f0], rbx
mov edx, 1
lea rsi, [0x006071f8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x44553c
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1228], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x00526004]
mov ebx, 0x28
call fcn.00436de0
mov rcx, rax
mov rax, rsi
call fcn.00463120
call fcn.00435200
lea rax, [0x00525191]
mov ebx, 0x23
call fcn.00436de0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460a40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00445400
Function at 0x451ea0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x452018
movzx edx, byte [rax]
nop
test edx, edx
jne 0x451edc
test r8b, r8b
jne 0x451edc
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x451eef
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x451fd8
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x451fc6
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x451fbc
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x451f43
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x451f86
mov eax, 1
cmp rax, rbx
ja 0x451f75
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.004631e0
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x451fb4
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x451f7d
mov r8d, eax
mov eax, r10d
jmp 0x451f48
mov rcx, rbx
call fcn.00463120
xor eax, eax
mov rcx, rax
call fcn.00463120
mov eax, r8d
mov rcx, rbx
call fcn.004631e0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45200e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x451fd1
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x451ef5
mov eax, edx
mov rcx, rbx
call fcn.00463120
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00463120
nop
int3
Function at 0x459bc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x459c7b
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00459cc0]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00460900
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460a40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00459bc0
Function at 0x462bc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0065a980]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0065a651], 0
je 0x462bf6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0065aca0]
aesenc xmm0, xmmword [0x0065acb0]
aesenc xmm0, xmmword [0x0065acc0]
movq rax, xmm0
ret
jmp 0x409d40

Function at 0x464580
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x0065ac20]
mov qword [rsp + 8], rdx
lea r8d, [0x0065a66c]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00462aa0
add rsp, 0x30
ret
Function at 0x14001125d
Capabilities:
Terminate process

Disassembly:
jmp 0x140014090
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112e4
Capabilities:
Get mac address on windows

Disassembly:
jmp 0x140012230
push rbp
push rdi
mov eax, 0x3dc8
call fcn.1400110d2
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xdea
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x3d98], rax
lea rcx, [0x140025102]
call fcn.14001142e
mov dword [rbp + 0x3744], 0x3700
lea rdx, [rbp + 0x3744]
lea rcx, [rbp + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea rax, [rbp + 0x10]
mov qword [rbp + 0x3728], rax
lea rcx, str.MAC_Address:
call fcn.1400111ef
mov dword [rbp + 0x3764], 0
jmp 0x1400122bf
mov eax, dword [rbp + 0x3764]
inc eax
mov dword [rbp + 0x3764], eax
mov rax, qword [rbp + 0x3728]
mov eax, dword [rax + 0x194]
cmp dword [rbp + 0x3764], eax
jae 0x140012338
mov rax, qword [rbp + 0x3728]
mov eax, dword [rax + 0x194]
dec eax
cmp dword [rbp + 0x3764], eax
jne 0x140012310
mov eax, dword [rbp + 0x3764]
mov rcx, qword [rbp + 0x3728]
movzx eax, byte [rcx + rax + 0x198]
mov edx, eax
lea rcx, [0x14001c250]
call fcn.1400111ef
jmp 0x140012333
mov eax, dword [rbp + 0x3764]
mov rcx, qword [rbp + 0x3728]
movzx eax, byte [rcx + rax + 0x198]
mov edx, eax
lea rcx, str._.2X_
call fcn.1400111ef
jmp 0x1400122b1
mov rax, qword [rbp + 0x3728]
add rax, 0x110
mov rdx, rax
lea rcx, str.__s_n
call fcn.1400111ef
mov rax, qword [rbp + 0x3728]
mov rax, qword [rax]
mov qword [rbp + 0x3728], rax
cmp qword [rbp + 0x3728], 0
jne 0x140012299
mov qword [rbp + 0x3788], 0
mov rcx, qword [rbp + 0x3788]
call fcn.1400114b0
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bdd0]
call fcn.1400113b1
mov eax, edi
mov rcx, qword [rbp + 0x3d98]
xor rcx, rbp
call fcn.14001120d
lea rsp, [rbp + 0x3da8]
pop rdi
pop rbp
ret

Function at 0x1400112ee
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400153e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015400
xor al, al
jmp 0x140015481
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015413
xor al, al
jmp 0x140015481
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 0x14001543d
xor al, al
jmp 0x140015481
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015451
xor al, al
jmp 0x140015481
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015463
xor al, al
jmp 0x140015481
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001547f
xor al, al
jmp 0x140015481
mov al, 1
add rsp, 0x38
ret
Function at 0x1400114b0
Capabilities:
Enumerate network shares

Disassembly:
jmp 0x140011c50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x140025102]
call fcn.14001142e
mov dword [rbp + 0x64], 0x61a8
mov dword [rbp + 0x84], 0xffffffff
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1c0]
xor r8d, r8d
xor edx, edx
mov ecx, 2
call fcn.14001130c
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140011ce8
mov edx, dword [rbp + 4]
lea rcx, str.WnetOpenEnum_failed_with_error__d_n
call fcn.1400111ef
xor eax, eax
jmp 0x140011e46
mov eax, dword [rbp + 0x64]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140011d1f
mov edx, dword [rbp + 4]
lea rcx, str.WnetOpenEnum_failed_with_error__d_n
call fcn.1400111ef
xor eax, eax
jmp 0x140011e46
mov eax, dword [rbp + 0x64]
mov r8d, eax
xor edx, edx
mov rcx, qword [rbp + 0xa8]
call fcn.140011348
lea r9, [rbp + 0x64]
mov r8, qword [rbp + 0xa8]
lea rdx, [rbp + 0x84]
mov rcx, qword [rbp + 0x48]
call fcn.140011208
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x140011de8
mov dword [rbp + 0xc4], 0
jmp 0x140011d75
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0xc4], eax
jae 0x140011de6
mov eax, dword [rbp + 0xc4]
imul rax, rax, 0x30
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov ecx, dword [rbp + 0xc4]
call fcn.1400114ab
mov eax, dword [rbp + 0xc4]
imul rax, rax, 0x30
mov rcx, qword [rbp + 0xa8]
mov eax, dword [rcx + rax + 0xc]
and eax, 2
cmp eax, 2
jne 0x140011de4
mov eax, dword [rbp + 0xc4]
imul rax, rax, 0x30
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400114b0
jmp 0x140011d67
jmp 0x140011e02
cmp dword [rbp + 0x24], 0x103
je 0x140011e02
mov edx, dword [rbp + 0x24]
lea rcx, str.WNetEnumResource_failed_with_error__d_n
call fcn.1400111ef
jmp 0x140011e0f
cmp dword [rbp + 0x24], 0x103
jne 0x140011d1f
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp + 0x48]
call fcn.1400113e8
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140011e41
mov edx, dword [rbp + 4]
lea rcx, str.WNetCloseEnum_failed_with_error__d_n
call fcn.1400111ef
xor eax, eax
jmp 0x140011e46
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001bd20]
call fcn.1400113b1
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.14001120d
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x1400150a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rsi
sub rsp, 0x70
mov qword [rax - 0x48], 0
xor r9d, r9d
mov dword [rax - 0x50], 0x80
lea rcx, [0x140033200]
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov dword [rax - 0x58], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400151f2
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbp
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r12
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x40]
lea rdx, str.DRV64:
mov r8d, 0xe
mov rcx, rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x80]
lea r12, [rsp + 0x88]
mov rdx, r12
call fcn.1400179e4
mov rbp, 0xffffffffffffffff
add eax, 3
movsxd rdi, eax
mov eax, 2
mul rdi
cmovo rax, rbp
mov rcx, rax
call fcn.140016dbc
mov r8, qword [rsp + 0x80]
mov r9, r12
mov rcx, rax
mov rdx, rdi
mov rbx, rax
call fcn.140017d50
lea r8, [0x14002af78]
mov rdx, rdi
mov rcx, rbx
call fcn.140017d70
xor eax, eax
mov rcx, rbp
mov rdi, rbx
lea r9, [rsp + 0x40]
mov rdx, rbx
repne scasw ax, word [rdi]
mov qword [rsp + 0x20], rax
not rcx
lea r8d, [rcx + rcx - 2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.140017d68
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x70
pop rsi
ret
Function at 0x140015500
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140030410]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov qword [r11 - 0x20], 7
xor ebx, ebx
mov qword [r11 - 0x28], rbx
mov word [rsp + 0x70], bx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], ebx
lea rcx, str.rdev
call fcn.140011180
mov rdx, rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x70]
call fcn.140013090
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
call fcn.140015210
mov dword [rsp + 0x58], eax
test eax, eax
jne 0x1400155b0
lea rcx, str.Device_removed_succesfully
call fcn.1400150a0
mov edx, ebx
cmp dword [rsp + 0x50], ebx
setne dl
mov dword [rsp + 0x54], edx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareIntelDifx64
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Code
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Reboot
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rsp + 0x88], 8
jb 0x140015665
mov rcx, qword [rsp + 0x70]
call fcn.14001784c
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140016e40
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
Function at 0x140018000
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rcx, 0x3deb7b0a
jmp 0x140006692
dec rcx
jmp 0x140006ee4
jmp 0x14000746f
jne 0x140006692
jmp 0x140006b60
jmp 0x140007539
jmp 0x14000757d
jmp 0x1400075de
jmp 0x140007621
jmp 0x140007676
jmp 0x1400076df
jmp 0x14000772f
jmp 0x14000777c
jmp 0x1400077a3
jmp 0x1400077f2
jmp 0x14000784c
jmp 0x1400078a6
jmp 0x14000790d
jmp 0x140007973
jmp 0x1400079aa
jmp 0x1400079c8
jmp 0x140007a32
jmp 0x140007a77
jmp 0x140007acc
xor rcx, rcx
mov rdx, 0x769c
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call 0x140007aec
pop rsi
add rsi, 0xe78
mov rdi, rax
mov rcx, 0x769c
rep movsb byte [rdi], byte [rsi]
jmp rax
sub rsp, 0x28
call fcn.14001fea4
add rsp, 0x28
xor rcx, rcx
invalid
invalid
invalid
invalid

Function at 0x14001bb6f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140030410]
jne 0x140016e5a
rol rcx, 0x10
test cx, 0xffff
jne 0x140016e56
repz ret
ror rcx, 0x10
jmp 0x14001bac8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140032110]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140032208]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001bb4d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140032110]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001bb6f
mov rax, qword [rsp + 0x88]
mov qword [0x140032208], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400321a8], rax
mov rax, qword [0x140032208]
mov qword [0x140032080], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140032190], rax
mov dword [0x140032070], 0xc0000409
mov dword [0x140032074], 1
mov rax, qword [0x140030410]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140030418]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140032108], eax
mov ecx, 1
call fcn.14002342c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400281b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140032108], 0
jne 0x14001bbf6
mov ecx, 1
call fcn.14002342c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
add bl, al

Function at 0x14001d1fc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14001d06c