joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018b430
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x60], xmm0
mov dword [rbp + 0x24], 0x80
lea rdx, [rbp - 0x60]
lea r8, [rbp + 0x24]
mov rcx, rax
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14018b4c4
mov eax, dword [rbp + 0x24]
movzx ecx, word [rbp - 0x60]
cmp ecx, 2
je 0x14018b4d4
cmp ecx, 0x17
jne 0x14018b4f2
cmp eax, 0x1b
jbe 0x14018b50c
movzx eax, word [rbp - 0x5e]
rol ax, 8
movups xmm0, xmmword [rbp - 0x58]
mov ecx, dword [rbp - 0x5c]
mov edx, dword [rbp - 0x48]
mov word [rsi], 1
movups xmmword [rsi + 4], xmm0
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
jmp 0x14018b502
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x14018b4f9
cmp eax, 0xf
jbe 0x14018b524
movzx eax, word [rbp - 0x5e]
rol ax, 8
mov ecx, dword [rbp - 0x5c]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
jmp 0x14018b502
lea rax, str.invalid_argument_
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xa8
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x43
call fcn.1401ac080
lea rcx, [0x14023d1a1]
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x42
call fcn.1401ac080
int3
Function at 0x14019fbe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14019fc6a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14019fc60
cmp r11, r10
ja 0x14019fce6
cmp r10, rdx
ja 0x14019fcf8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x14019fc62
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14019fc40
jmp 0x14019fcc7
ja 0x14019fc6a
mov r11, r10
cmp rax, r8
jne 0x14019fc07
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14019fccb
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14019fca0
mov r8, r10
sub ecx, r9d
jns 0x14019fcbe
jmp 0x14019fccd
cmp r10, rdx
je 0x14019fcda
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14019fccd
xor al, 1
cmp r8, rdx
jne 0x14019fc80
jmp 0x14019fccd
xor eax, eax
jmp 0x14019fccd
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1401abf70
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1401ac490
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1401ac480
int3

Function at 0x1401a2594
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1401a25de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401a25de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401a25de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401a25de
cmp dword [rcx + 0x84], 0xe
jbe 0x1401a25de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401a25e0
xor al, al
add rsp, 0x28
ret
Function at 0x1401a9f90
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, [0x140202c4d]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401a9ff1
mov rdi, rax
lea rdx, [0x140202c6e]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401a9ff1
mov rsi, rax
lea rdx, [0x140202c7c]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401a9ff1
mov rdi, rax
xor ebx, ebx
jmp 0x1401aa077
lea rcx, [0x140202c08]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401aa0eb
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401aa0eb
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401aa0eb
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401aa0eb
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1401aa0eb
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x140297081]
mov ecx, 0x18
mov edx, 8
call fcn.140017490
test rax, rax
je 0x1401aa0f0
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x1402970d0], rcx
je 0x1401aa0df
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x1401aa0c8
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.1400174a0
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a9c60
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1401abdb0
ud2
Function at 0x1401aae90
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov r14, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.140193260
mov rdx, qword [rbp - 0x28]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x1401aaf19
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1401aaf4c
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1401aaf60
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x1401aaf80
mov rcx, qword [rbp - 0x20]
mov r8d, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.1400174a0
mov rcx, qword [r14]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test rbx, rbx
je 0x1401aaf80
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.1400174a0
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400a58f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400a58fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400a590d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400a58f5
lea eax, [rcx + 1]
jmp 0x1400a591b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400a592e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400a5914
sub eax, 3
jb 0x1400a594e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400a599d
sar eax, 1
movsxd rbp, eax
jb 0x1400a5984
jmp 0x1400a595c
add ebx, ebx
jne 0x1400a595a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a5984
inc ecx
add ebx, ebx
jne 0x1400a596a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a5984
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400a597d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400a596c
add ecx, 2
jmp 0x1400a5989
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400a58b2
jmp 0x1400a58fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x9c00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400a59e9
cmp rsi, rcx
jae 0x1400a59f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400a59d0
cmp al, 0x8f
ja 0x1400a59d0
cmp byte [rsi - 2], 0xf
je 0x1400a59d6
sub al, 0xe8
cmp al, 1
ja 0x1400a59ba
cmp rsi, rcx
jae 0x1400a59f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400a59c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400a59f1
lodsb al, byte [rsi]
jmp 0x1400a59d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xa3000]
mov eax, dword [rdi]
or eax, eax
je 0x1400a5a4e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x12f10c]
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 0x1400a59fe
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 0x1400a5a48
mov qword [rbx], rax
add rbx, 8
jmp 0x1400a5a1e
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 0x1400a5a88
cmp al, 0xef
ja 0x1400a5a7a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400a5a5a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400a5a69
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 + 0x247]
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 0x1400a5adc
sub rsp, 0xffffffffffffff80
jmp 0x140001260
Function at 0x140004260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400042d5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400042d5
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400042c5
nop
cmp rbx, rcx
jae 0x1400042d5
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400042b0
cmp rbx, rcx
jae 0x1400042d5
cmp word [rbx], 0
je 0x1400042d5
mov rax, rbx
jmp 0x1400042d7
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400042f0
Capabilities:
Extract resource via kernel32 functions

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, 0x20
mov eax, r8d
mov rsi, rdx
shr eax, 4
mov edi, r8d
inc ax
mov r14, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140004410
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140004410
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140004410
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140004399
nop word [rax + rax]
cmp rbx, rcx
jae 0x140004410
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140004380
cmp rbx, rcx
jae 0x140004410
movzx edi, word [rbx]
test di, di
je 0x140004410
mov r10, qword [r14]
mov ecx, 1
movzx esi, di
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, esi
or ecx, eax
jge 0x1400043d2
mov edx, esi
mov rcx, r14
call fcn.140002ee0
mov r10, qword [r14]
movzx edx, word [rbx]
lea r8, [rbx + 2]
movzx r9d, dx
movzx ebx, di
mov rcx, r10
mov edx, ebx
call fcn.1401d0928
xor edx, edx
test eax, eax
je 0x1400043f7
cmp eax, 0xc
je 0x140004433
cmp eax, 0x50
jne 0x14000442d
mov rcx, qword [r14]
cmp esi, dword [rcx - 0xc]
jg 0x140004439
mov dword [rcx - 0x10], esi
mov eax, 1
mov rcx, qword [r14]
mov word [rcx + rbx*2], dx
jmp 0x140004412
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.14002c300
int3
call fcn.14002c324
int3
mov ecx, 0x80070057
call fcn.140003100
int3
Function at 0x140004450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov edi, edx
mov ecx, edx
call fcn.1400363dc
mov rsi, rax
test rax, rax
jne 0x140004485
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, edi
mov qword [rsp + 0x30], rbx
shr eax, 4
mov r8d, 6
inc ax
mov qword [rsp + 0x38], rbp
movzx edx, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140004582
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140004582
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140004582
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000450e
cmp rbx, rcx
jae 0x140004582
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400044f5
cmp rbx, rcx
jae 0x140004582
movzx edi, word [rbx]
test di, di
je 0x140004582
mov r10, qword [r14]
mov ebp, 1
movzx esi, di
mov ecx, ebp
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, esi
or ecx, eax
jge 0x140004549
mov edx, esi
mov rcx, r14
call fcn.140002ee0
mov r10, qword [r14]
movzx edx, word [rbx]
lea r8, [rbx + 2]
movzx r9d, dx
movzx ebx, di
mov rcx, r10
mov edx, ebx
call fcn.1401d0928
xor ecx, ecx
test eax, eax
je 0x14000456e
cmp eax, 0xc
je 0x1400045a9
cmp eax, 0x50
jne 0x1400045a3
mov rax, qword [r14]
cmp esi, dword [rax - 0xc]
jg 0x1400045af
mov dword [rax - 0x10], esi
mov rax, qword [r14]
mov word [rax + rbx*2], cx
jmp 0x140004586
xor ecx, ecx
mov ebp, ecx
mov rbx, qword [rsp + 0x30]
mov eax, ebp
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.14002c300
int3
call fcn.14002c324
int3
mov ecx, 0x80070057
call fcn.140003100
int3
Function at 0x1400088e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x38
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov r15, rcx
mov rax, qword [rcx]
mov rcx, qword [rax - 0x18]
lea rbx, vtable.ATL::CAtlStringMgr.0
test rcx, rcx
je 0x14000892a
mov rax, qword [rcx]
cmp rax, rbx
jne 0x140008ad5
test rcx, rcx
jne 0x140008947
call fcn.14002b50c
mov rcx, rax
mov rax, qword [rax]
cmp rax, rbx
jne 0x140008ae0
test rcx, rcx
je 0x140008aeb
mov rax, qword [rcx]
mov rdx, qword [rax + 0x18]
cmp rax, rbx
jne 0x140008af6
lock inc dword [rcx + 0x20]
lea rax, [rcx + 0x10]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov esi, dword [rsp + 0x78]
mov ecx, esi
call fcn.1400363dc
mov rbp, rax
test rax, rax
je 0x140008aca
mov ecx, esi
shr ecx, 4
inc cx
movzx edx, cx
mov r8d, 6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x140008a8b
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140008a8b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x140008a8b
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rdi
and esi, 0xf
jbe 0x1400089fe
cmp rdi, rcx
jae 0x140008a8b
movzx eax, word [rdi]
lea rdi, [rdi + rax*2]
add rdi, 2
add esi, 0xffffffff
jne 0x1400089e5
cmp rdi, rcx
jae 0x140008a8b
movzx esi, word [rdi]
test si, si
je 0x140008a8b
movzx ebp, si
mov r14d, 1
mov ecx, r14d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ebp
movzx edx, si
or eax, ecx
jge 0x140008a3e
mov edx, ebp
lea rcx, [rsp + 0x20]
call fcn.140002ee0
movzx edx, word [rdi]
mov rbx, qword [rsp + 0x20]
lea r8, [rdi + 2]
movzx edi, si
movzx r9d, dx
mov edx, edi
mov rcx, rbx
call fcn.1401d0928
test eax, eax
je 0x140008a7b
cmp eax, 0xc
je 0x140008b09
cmp eax, 0x16
je 0x140008b03
cmp eax, 0x22
je 0x140008b03
cmp eax, 0x50
jne 0x140008afd
cmp ebp, dword [rbx - 0xc]
jg 0x140008abf
mov dword [rbx - 0x10], ebp
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x140008a90
xor eax, eax
mov r14d, eax
test r14d, r14d
je 0x140008aca
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, r15
call fcn.140008b20
nop
lea rcx, [rbx - 0x18]
call fcn.140003120
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80070057
call fcn.140003100
int3
mov ecx, 0x80004005
call fcn.140003100
nop
call qword [rax + 0x20]
mov rcx, rax
jmp 0x140008925
call qword [rax + 0x20]
mov rcx, rax
jmp 0x14000893e
mov ecx, 0x80004005
call fcn.140003100
int3
call rdx
jmp 0x14000895f
call fcn.14002c300
int3
call fcn.14002c300
int3
call fcn.14002c324
int3
Function at 0x140015ce0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], r14
mov rax, qword [0x1402b38e0]
xor rax, rbp
mov qword [rbp + 8], rax
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x140015e2f
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140015e2f
call fcn.140037a78
mov rcx, qword [rax + 8]
call fcn.140035a28
mov rcx, qword [rdi + 0x40]
xor esi, esi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140015e22
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov ecx, 0x2002
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
test rax, rax
je 0x140015e1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rbx + rcx*2], si
jne 0x140015d90
inc ecx
cmp ecx, 0x3fffffff
jle 0x140015da8
mov rax, rsi
jmp 0x140015de7
movsxd rax, ecx
lea r8d, [rcx + rcx]
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140015dc5
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401cc7e0
sub rsp, rcx
mov r9d, 3
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000b9c0
sub rdi, rax
nop word [rax + rax]
movzx ecx, byte [rax]
mov byte [rdi + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140015df0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r14
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
setne sil
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rcx, [rbp]
call fcn.140015ee0
mov eax, esi
jmp 0x140015e31
xor eax, eax
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.1401cbf20
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
mov r14, qword [rbp + 0x38]
lea rsp, [rbp + 0x10]
pop rbp
ret

Function at 0x140015e60
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rcx, qword [rcx + 0x40]
mov rsi, rdx
xor ebx, ebx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140015ec5
lea ecx, [rbx + 1]
mov qword [rsp + 0x30], rdi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x140015eba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140015eba
mov rdx, rax
mov rcx, rsi
call fcn.140002fe0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, 1
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x1400287c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx]
sub rcx, 0x18
call fcn.1400041d0
lea rbx, [rax + 0x18]
test rsi, rsi
jne 0x1400287fc
xor ecx, ecx
jmp 0x140028800
mov rcx, qword [rsi + 0x40]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbx
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbx - 0x18]
cmp eax, 0x20
jg 0x140028855
call fcn.140003120
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.1400041d0
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
call fcn.140028880
mov ebx, eax
jmp 0x14002885f
call fcn.140003120
mov ebx, 1
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.140003120
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14002a28c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x14002a2cb
cmp dword [rcx + 0xe8], 0
jne 0x14002a2cb
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.140037a78
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14002a650
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14002a328
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.140037a78
lea r8d, [rdi + 5]
mov rdx, rbx
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14002a384
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.14002a3bc
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14002ef20
Capabilities:
Extract resource via kernel32 functions

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 r14
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x14002ef88
call fcn.140037a78
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14002ef88
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14002efaa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.140060490
mov esi, eax
test rdi, rdi
je 0x14002efa8
test rbx, rbx
je 0x14002efa8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret