joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004b8d8
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180040008
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180040008
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18004ba28
cmp rax, 0xffffffffffffffff
je 0x18004ba28
xor edi, edi
test rbp, rbp
jle 0x18004b9d3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180038370
mov rbx, rax
test rax, rax
jne 0x18004b960
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18004b9c9
mov edx, 0x8000
mov ecx, r14d
call fcn.18004b75c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18003c3f4
cmp eax, 0xffffffff
je 0x18004b9a9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18004b970
mov edx, r15d
mov ecx, r14d
call fcn.18004b75c
jmp 0x18004b9c9
cmp byte [rsi + 0x38], dil
je 0x18004b9c0
cmp dword [rsi + 0x34], 5
jne 0x18004b9c0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18004b9c9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800383e8
jmp 0x18004ba3c
jns 0x18004ba3c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180040008
cmp rax, 0xffffffffffffffff
jne 0x18004b9f4
cmp byte [rsi + 0x30], dil
je 0x18004ba3c
mov edi, dword [rsi + 0x2c]
jmp 0x18004ba3c
mov ecx, r14d
call fcn.180046a14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18004ba3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18004ba3c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18004ba35
mov eax, dword [rsi + 0x2c]
jmp 0x18004ba3a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180040008
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x18001114f
Capabilities:
Terminate process

Disassembly:
jmp 0x180011830
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x458
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x478]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x1800240a1]
call fcn.18001137f
nop
mov rdx, qword [rbp + 0x450]
mov rcx, qword [0x18001e228]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x18001191e
mov rax, qword [rbp + 0x450]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x1800118d9
mov r8, qword [rbp + 0x450]
lea rdx, [0x18001abe4]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfA]
nop
lea rax, [rbp + 0x30]
mov qword [rbp + 0x450], rax
mov r8, qword [rbp + 0x450]
lea rdx, [0x18001abe8]
lea rcx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_wsprintfW]
nop
mov r9d, 0x10
lea r8, str.AheadLibEx
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18001a9e0]
call fcn.18001131b
mov rax, rdi
mov rcx, qword [rbp + 0x428]
xor rcx, rbp
call fcn.1800111b3
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret

Function at 0x1800111c7
Capabilities:
Create process on windows
Create thread
Terminate process

Disassembly:
jmp 0x180011db0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x6f0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x120
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x718]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x6b8], rax
lea rcx, [0x1800240a1]
call fcn.18001137f
nop
cmp dword [rbp + 0x6e8], 1
jne 0x180011efc
mov rcx, qword [rbp + 0x6e0]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
nop
call fcn.1800112d0
test eax, eax
je 0x180011efa
call fcn.180011168
test eax, eax
je 0x180011efa
mov edx, 1
lea rcx, str.cmd.exe
call qword [sym.imp.KERNEL32.dll_WinExec]
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x180011f0b
cmp dword [rbp + 0x6e8], 0
jne 0x180011f0b
call fcn.1800111db
nop
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x18001ab40]
call fcn.18001131b
mov rax, rdi
mov rcx, qword [rbp + 0x6b8]
xor rcx, rbp
call fcn.1800111b3
lea rsp, [rbp + 0x6c0]
pop rdi
pop rsi
pop rbp
ret

Function at 0x180011208
Capabilities:
Terminate process

Disassembly:
jmp 0x1800135f0
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]
nop
add rsp, 0x28
ret
Function at 0x1800112d0
Capabilities:
Get common file path

Disassembly:
jmp 0x180011b40
push rbp
push rdi
sub rsp, 0x988
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x19a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x958], rax
lea rcx, [0x1800240a1]
call fcn.18001137f
nop
mov edx, 0x104
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop
lea rdx, str._version.dll
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x18001e228], rax
cmp qword [0x18001e228], 0
jne 0x180011bf1
lea r8, [rbp + 0x10]
lea rdx, str.________s_________
lea rcx, [rbp + 0x240]
call qword [sym.imp.USER32.dll_wsprintfW]
nop
mov r9d, 0x10
lea r8, str.AheadLibEx
lea rdx, [rbp + 0x240]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
cmp qword [0x18001e228], 0
je 0x180011c07
mov dword [rbp + 0x954], 1
jmp 0x180011c11
mov dword [rbp + 0x954], 0
mov eax, dword [rbp + 0x954]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x18001a910]
call fcn.18001131b
mov eax, edi
mov rcx, qword [rbp + 0x958]
xor rcx, rbp
call fcn.1800111b3
lea rsp, [rbp + 0x968]
pop rdi
pop rbp
ret
Function at 0x140001d00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140007a80
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007a80
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000d0b4]
mov rbx, rcx
test esi, esi
jle 0x140001ea0
mov rax, qword [0x14000d0b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001dbb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001e45
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001da0
mov rcx, rbx
call fcn.1400027c0
mov rdi, rax
test rax, rax
je 0x140001ec2
mov rax, qword [0x14000d0b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002900
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000d0b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001ea7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001e3e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001e50
add dword [0x14000d0b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000d0b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001e3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001d00
nop dword [rax]
xor esi, esi
jmp 0x140001dc8
mov rax, qword [0x14000d0b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001d00
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001d00
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002430
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000d120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000d100]
test rbx, rbx
je 0x14000248c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002483
test rsi, rsi
je 0x140002483
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002468
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400027c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a740]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400027e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400027e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400027e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000283d
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 0x140002834
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400027e0
add rax, 0x28
cmp rax, r9
jne 0x140002820
xor eax, eax
ret

Function at 0x140002840
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a740]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000285f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002868
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000285f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002900
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a740]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000291f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002928
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x100f07720
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100f0772d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100f0773d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100f07725
lea eax, [rcx + 1]
jmp 0x100f0774b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100f0775e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100f07744
sub eax, 3
jb 0x100f0777e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100f077cd
sar eax, 1
movsxd rbp, eax
jb 0x100f077b4
jmp 0x100f0778c
add ebx, ebx
jne 0x100f0778a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100f077b4
inc ecx
add ebx, ebx
jne 0x100f0779a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100f077b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100f077ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100f0779c
add ecx, 2
jmp 0x100f077b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100f076e2
jmp 0x100f0772d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf03000]
mov eax, dword [rdi]
or eax, eax
je 0x100f07829
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf1e190]
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 0x100f077d9
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 0x100f07823
mov qword [rbx], rax
add rbx, 8
jmp 0x100f077f9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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
mov byte [fcn.100f078ac], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100f078ac
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100f0789c
sub rsp, 0xffffffffffffff80
jmp 0x100003210

Function at 0x140001af4
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x100f37fad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100f37fbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100f37fa5
lea eax, [rcx + 1]
jmp 0x100f37fcb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100f37fde
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100f37fc4
sub eax, 3
jb 0x100f37ffe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100f3804d
sar eax, 1
movsxd rbp, eax
jb 0x100f38034
jmp 0x100f3800c
add ebx, ebx
jne 0x100f3800a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100f38034
inc ecx
add ebx, ebx
jne 0x100f3801a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100f38034
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100f3802d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100f3801c
add ecx, 2
jmp 0x100f38039
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100f37f62
jmp 0x100f37fad
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf33000]
mov eax, dword [rdi]
or eax, eax
je 0x100f380a9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf4e86c]
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 0x100f38059
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 0x100f380a3
mov qword [rbx], rax
add rbx, 8
jmp 0x100f38079
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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
mov byte [fcn.100f3812c], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100f3812c
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100f3811c
sub rsp, 0xffffffffffffff80
jmp 0x100003210
Function at 0x1400013f0
Capabilities:
Monitor clipboard content

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x120
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov eax, dword [0x140003460]
xor edi, edi
movups xmm0, xmmword [str.ClipboardListenerClass]
mov dword [r11 - 0x20], eax
mov rbx, rcx
movups xmm1, xmmword [0x140003448]
movzx eax, word [0x140003464]
movups xmmword [r11 - 0x48], xmm0
mov word [r11 - 0x1c], ax
lea rax, [0x1400011c0]
movsd xmm0, qword [0x140003458]
mov qword [rsp + 0x68], rax
lea rax, [r11 - 0x48]
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x60]
movsd qword [r11 - 0x28], xmm0
xorps xmm0, xmm0
movups xmmword [r11 - 0x38], xmm1
mov qword [rsp + 0x60], rdi
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x70], rdi
movdqa xmmword [rsp + 0x90], xmm1
mov qword [r11 - 0x88], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov qword [rsp + 0x58], rdi
lea r8, str.Clipboard_Listener
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x48], rdi
mov r9d, 0xcf0000
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
test rax, rax
je 0x140001566
mov rcx, rax
call qword [sym.imp.USER32.dll_AddClipboardFormatListener]
xorps xmm0, xmm0
lea rcx, [rsp + 0xb0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140001566
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140001530
xor eax, eax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140001a30
mov rbx, qword [rsp + 0x138]
add rsp, 0x120
pop rdi
ret

Function at 0x1400023e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000242e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000242e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.MSVCP140.dll__widen___basic_ios_DU__char_traits_D_std___std__QEBADD_Z
jne 0x14000242e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000242e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000242e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002430
xor al, al
add rsp, 0x28
ret
Function at 0x140003990
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
nop
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.140017fe0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x140003a88
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x140003ac5
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [0x14002fe40]
call fcn.140007e80
nop
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x140003a7e
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140017c4c
cmp qword [rsp + 0x50], 0
jne 0x140003aec
mov qword [rsp + 0x60], 0
jmp 0x140003aff
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140017bf0
add rsp, 0xa8
ret
Function at 0x140003b30
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x140003bd6
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x50]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
jmp 0x140003b7a
cmp dword [rsp + 0x30], 0
jge 0x140003bf7
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140003cf0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140003c15
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x140003cdb
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006350
nop
lea rcx, [rsp + 0x58]
call fcn.140006190
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140003ccb
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x58]
call fcn.140006320
mov rax, qword [rsp + 0x48]
jmp 0x140003cf0
lea rcx, [rsp + 0x58]
call fcn.140006320
nop
jmp 0x140003c0b
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140017bf0
add rsp, 0x88
ret