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

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400025c8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400025d0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400025e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000262d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002624
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000262f
add rax, 0x28
cmp rax, r9
jne 0x140002610
xor eax, eax
ret

Function at 0x140002630
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400026c0
mov rdx, qword [0x14000a760]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400026ae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400026ae
cmp word [rax + 0x18], 0x20b
jne 0x1400026ae
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400026c0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002699
add rbx, 0x28
cmp rbx, rdi
je 0x1400026c0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002690
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400026d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a760]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000274d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002744
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400026f0
add rax, 0x28
cmp rax, r9
jne 0x140002730
xor eax, eax
ret

Function at 0x140002750
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a760]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000276f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002778
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000276f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002790
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000a760]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400027b0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400027b8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400027b0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002800
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400027f7
test rcx, rcx
je 0x1400027b0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400027e8
xor eax, eax
ret

Function at 0x140002810
Capabilities:
Parse pe header

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

Function at 0x140002850
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a760]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002870
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002878
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002870
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002870
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400028c4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400028d0
add rdx, 0x28
cmp r9, rdx
jne 0x1400028b0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400028e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000a760]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002902
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002910
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002902
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002902
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002902
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002965
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002978
add rdx, 0x28
cmp rdx, r10
jne 0x140002950
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002987
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002997
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000296e
test ecx, ecx
jg 0x140002980
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1038100
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x103810d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x103811d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1038105
lea eax, [rcx + 1]
jmp 0x103812b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x103813e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1038124
sub eax, 3
jb 0x103815e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x10381ad
sar eax, 1
movsxd rbp, eax
jb 0x1038194
jmp 0x103816c
add ebx, ebx
jne 0x103816a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1038194
inc ecx
add ebx, ebx
jne 0x103817a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1038194
call r11
adc ecx, ecx
add ebx, ebx
jne 0x103818d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x103817c
add ecx, 2
jmp 0x1038199
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.010380c2
jmp 0x103810d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xc28000]
mov eax, dword [rdi]
or eax, eax
je 0x1038209
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xc38288]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x10381b9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1038203
mov qword [rbx], rax
add rbx, 8
jmp 0x10381d9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x103824d
cmp al, 0xef
ja 0x1038235
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1038215
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1038224
mov eax, dword [rdi]
add rdi, 4
jmp 0x1038224
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x10382a1
sub rsp, 0xffffffffffffff80
jmp 0x461d80
Function at 0x140130052
Capabilities:
Execute syscall

Disassembly:
loop 0x140130084
pushf
movabs rdx, 0x5f40be3a192d14eb
syscall
neg r13
ror r8d, 0x24
popf
ret 0x20
xchg edx, esi

Function at 0x140130aec
Capabilities:
Execute anti-debugging instructions
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
cmp eax, 0x48000000
or eax, edx
xchg rbp, rax
mov r9, rbp
jmp 0x14013090b
Function at 0x1400110b4
Capabilities:
Enumerate processes
Terminate process

Disassembly:
jmp 0x140018f40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x5a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x102
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5c8]
mov rax, qword [0x140029018]
xor rax, rbp
mov qword [rbp + 0x578], rax
mov dword [rbp + 0x544], 0
lea rcx, [0x14002f0f8]
call fcn.1400117d5
xor edx, edx
mov ecx, 2
call fcn.1400113a7
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140018fb5
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x238
lea rcx, [rbp + 0x288]
call fcn.140011627
nop
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400114c4
test eax, eax
je 0x14001901e
lea rdx, [rbp + 0x5c]
lea rcx, [rbp + 0x288]
call fcn.140011794
lea rdx, [0x140023c10]
lea rcx, [rbp + 0x288]
call fcn.140011794
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400116e5
test eax, eax
jne 0x140018fea
lea rax, [rbp + 0x4a8]
mov qword [rbp + 0x4d8], rax
lea rax, [rbp + 0x4f8]
mov qword [rbp + 0x528], rax
lea rcx, [rbp + 0x484]
call fcn.1400111e5
mov qword [rbp + 0x558], rax
mov rdx, qword [rbp + 0x4d8]
lea rcx, [rbp + 0x288]
call fcn.140011622
mov qword [rbp + 0x560], rax
mov rdx, qword [rbp + 0x528]
lea rcx, [rbp + 0x288]
call fcn.1400113c0
mov qword [rbp + 0x568], rax
mov rax, qword [rbp + 0x558]
mov r9, rax
mov r8, qword [rbp + 0x560]
mov rdx, qword [rbp + 0x568]
mov rcx, qword [rbp + 0x5a0]
call fcn.1400113fc
mov qword [rbp + 0x570], rax
mov eax, dword [rbp + 0x544]
or eax, 1
mov dword [rbp + 0x544], eax
lea rcx, [rbp + 0x288]
call fcn.1400116e0
mov rax, qword [rbp + 0x5a0]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140024320]
call fcn.140011690
mov rax, rdi
mov rcx, qword [rbp + 0x578]
xor rcx, rbp
call fcn.1400113ca
lea rsp, [rbp + 0x588]
pop rdi
pop rbp
ret

Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140018090
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov dword [rbp + 0x144], 0
lea rcx, [0x14002f0f8]
call fcn.1400117d5
mov rdx, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x180]
call fcn.140011370
mov qword [rbp + 0x158], rax
mov eax, dword [rbp + 0x144]
or eax, 1
mov dword [rbp + 0x144], eax
mov qword [rbp + 0x48], 0x3c
mov rcx, qword [rbp + 0x180]
call fcn.1400116cc
cmp qword [rbp + 0x48], rax
ja 0x140018138
mov r8, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x180]
call fcn.14001102d
jmp 0x140018144
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
mov rcx, qword [rbp + 0x190]
call fcn.140011190
mov rax, qword [rbp + 0x180]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140024410]
call fcn.140011690
mov rax, rdi
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140011451
Capabilities:
Terminate process

Disassembly:
jmp 0x14001bbb0
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 0x140011578
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001cf00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001cf20
xor al, al
jmp 0x14001cfa1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001cf33
xor al, al
jmp 0x14001cfa1
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 0x14001cf5d
xor al, al
jmp 0x14001cfa1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001cf71
xor al, al
jmp 0x14001cfa1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001cf83
xor al, al
jmp 0x14001cfa1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001cf9f
xor al, al
jmp 0x14001cfa1
mov al, 1
add rsp, 0x38
ret
Function at 0x180001110
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx]
mov rdi, rcx
movabs rcx, 0xffffffff00000000
mov rbp, qword [rdx + 0x30]
movzx eax, word [rdx + 0x14]
xor esi, esi
and rbp, rcx
cmp si, word [rdx + 6]
jae 0x180001211
mov qword [rsp + 0x48], rbx
lea rbx, [rdx + 0x3c]
mov qword [rsp + 0x50], r14
add rbx, rax
lea r14, [0x180012d90]
nop word [rax + rax]
mov r8d, dword [rbx]
mov eax, r8d
mov edx, r8d
mov r9d, r8d
shr eax, 0x1d
shr edx, 0x1e
shr r9d, 0x1f
and eax, 1
and edx, 1
bt r8d, 0x19
jae 0x18000119a
mov ecx, dword [rbx - 0x1c]
mov edx, dword [rbx - 0x14]
mov r8d, 0x4000
or rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1800011f2
movsxd rcx, eax
movsxd rax, edx
lea rdx, [rax + rcx*2]
lea rcx, [r9 + rdx*2]
mov r10d, dword [r14 + rcx*4]
bt r8d, 0x1a
jae 0x1800011b8
bts r10d, 9
mov eax, dword [rbx - 0x14]
test eax, eax
jne 0x1800011dc
test r8b, 0x40
je 0x1800011cd
mov rax, qword [rdi]
mov eax, dword [rax + 0x20]
jmp 0x1800011d8
test r8b, r8b
jns 0x1800011f2
mov rax, qword [rdi]
mov eax, dword [rax + 0x24]
test eax, eax
je 0x1800011f2
mov ecx, dword [rbx - 0x1c]
lea r9, [rsp + 0x40]
mov edx, eax
or rcx, rbp
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rdi]
inc esi
add rbx, 0x28
movzx ecx, word [rax + 6]
cmp esi, ecx
jl 0x180001160
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x180001460
Capabilities:
Parse pe header

Disassembly:
push rbp
sub rsp, 0x20
mov eax, 0x5a4d
mov rbp, rcx
cmp word [rcx], ax
je 0x18000147b
xor eax, eax
add rsp, 0x20
pop rbp
ret
mov qword [rsp + 0x40], rdi
movsxd rdi, dword [rcx + 0x3c]
add rdi, rcx
cmp dword [rdi], 0x4550
je 0x18000149c
xor eax, eax
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
mov edx, dword [rdi + 0x50]
mov rcx, qword [rdi + 0x30]
mov r9d, 4
mov r8d, 0x2000
mov qword [rsp + 0x38], rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800014ef
mov edx, dword [rdi + 0x50]
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x2000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800014ef
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8d, 0x1000
mov rcx, rsi
mov rbx, rax
mov qword [rax + 8], rsi
xor eax, eax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x10], rax
mov edx, dword [rdi + 0x50]
lea r9d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rdi + 0x54]
mov rdx, rbp
add r8d, dword [rbp + 0x3c]
mov rcx, rsi
call fcn.180006eb0
movsxd rcx, dword [rbp + 0x3c]
mov r8, rbx
add rcx, rsi
mov rdx, rdi
mov qword [rbx], rcx
mov qword [rcx + 0x30], rsi
mov rcx, rbp
call fcn.180001020
mov rdx, rsi
sub rdx, qword [rdi + 0x30]
je 0x180001570
mov rcx, rbx
call fcn.180001220
mov rcx, rbx
call fcn.1800012d0
test eax, eax
je 0x1800015b1
mov rcx, rbx
call fcn.180001110
mov rax, qword [rbx]
mov ecx, dword [rax + 0x28]
test ecx, ecx
je 0x1800015ac
mov eax, ecx
add rax, rsi
je 0x1800015b1
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 1]
call rax
test eax, eax
je 0x1800015b1
mov dword [rbx + 0x1c], 1
mov rax, rbx
jmp 0x1800015bb
mov rcx, rbx
call fcn.1800016b0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
Function at 0x1800019b0
Capabilities:
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbx, qword [rsp + 0x70]
mov r14, rcx
lea rax, [rsp + 0x30]
mov rcx, qword [rbx]
mov edi, r9d
mov rsi, r8
mov rbp, rdx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x180001a61
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x180001a61
mov r8, qword [rsp + 0x30]
mov rcx, qword [rbx]
lea rax, [rsp + 0x38]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x180001a61
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x180001a66
call qword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
jmp 0x180001a89
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400036bc
Capabilities:
Execute command
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
lea rdx, [0x14000491c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.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, 0x69
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
jne 0x14000371f
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140003728
mov rcx, rax
call fcn.1400039b8
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 2
call fcn.140003688
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400065dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006626
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006626
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006626
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006626
cmp dword [rcx + 0x84], 0xe
jbe 0x140006626
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006628
xor al, al
add rsp, 0x28
ret
Function at 0x140002e70
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x14014bd14]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.140093470
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x14014bd14]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x140003000
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x14000301c
cmp rcx, r8
jl 0x14000300f
mov qword [rdx + 0x80], rcx
test dword [0x140143858], 1
je 0x14000304b
cmp byte [rsp + 0xd0], 0
je 0x14000304b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140002b70
mov rsp, r8
jmp rax