joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180030360
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1800303e5
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x180030426
cmp dword [rsp + 0x2c], 0
je 0x18003040a
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x18003044c
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x180140090]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x180140090], rsi
jne 0x1800303c0
mov byte [0x180140088], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x18003041c
call sub.kernel32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x180030496
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x18003040f
mov edi, dword [rsp + 0x28]
jmp 0x18003041c
mov edi, dword [rsi + 0x18]
jmp 0x18003041a
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rdx, [0x18013a7e8]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call fcn.180017a70
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.180004c90
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.180017a20
int3
Function at 0x180037440
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x180039058]
test ecx, ecx
je 0x180037500
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x180037470
cmp qword [rax + 8], 0
je 0x180037470
add rax, 0x10
jmp 0x1800374fa
mov ecx, dword [0x180039058]
test ecx, ecx
je 0x180037513
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1800374f8
mov rsi, rax
test rax, rax
jne 0x1800374de
mov rax, qword [0x18013ac88]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call fcn.18002d430
test rax, rax
je 0x180037536
mov rsi, rax
lea rax, [0x180039040]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x180039058]
test ecx, ecx
je 0x180037526
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x1800374fa
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x180039040]
call fcn.180030360
mov ecx, eax
jmp 0x180037455
lea rcx, [0x180039040]
call fcn.180030360
mov ecx, eax
jmp 0x180037480
lea rcx, [0x180039040]
call fcn.180030360
mov ecx, eax
jmp 0x1800374d6
mov ecx, 8
mov edx, 0x20
call fcn.180003e80
int3

Function at 0x180037550
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x30
mov ecx, dword [0x180039098]
test ecx, ecx
je 0x18003763d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x18003757e
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x18003762c
mov ecx, dword [0x180039098]
test ecx, ecx
je 0x180037650
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x180037632
mov rsi, rax
test rax, rax
jne 0x1800375f0
mov rax, qword [0x18013ac88]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.18002d430
test rax, rax
je 0x180037676
mov rsi, rax
lea rax, [0x180039080]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x180039098]
test ecx, ecx
je 0x180037663
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov rcx, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
test rcx, rcx
je 0x18003762c
test rax, rax
je 0x18003762c
lock dec qword [rax]
jne 0x18003762c
lea rcx, [rsp + 0x28]
call fcn.180018800
add rsi, 0x10
jmp 0x180037634
xor esi, esi
mov rax, rsi
add rsp, 0x30
pop rsi
ret
lea rcx, [0x180039080]
call fcn.180030360
mov ecx, eax
jmp 0x180037565
lea rcx, [0x180039080]
call fcn.180030360
mov ecx, eax
jmp 0x18003758e
lea rcx, [0x180039080]
call fcn.180030360
mov ecx, eax
jmp 0x1800375e8
mov ecx, 8
mov edx, 0x18
call fcn.180003e80
int3
Function at 0x180038220
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.180038de0
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.180038de0
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 0x180038290
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1801400e4]
mov rbx, rcx
test esi, esi
jle 0x1800383c0
mov rax, qword [0x1801400e8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1800382db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x180038365
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1800382c0
mov rcx, rbx
call fcn.180038af0
mov rdi, rax
test rax, rax
je 0x1800383e2
mov rax, qword [0x1801400e8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.180038c30
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1801400e8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800383c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x18003835e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x180038370
add dword [0x1801400e4], 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 [0x1801400e8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x18003835e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.180038220
nop dword [rax]
xor esi, esi
jmp 0x1800382e8
mov rax, qword [0x1801400e8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.180038220
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.180038220
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x180038760
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x180140120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x180140100]
test rbx, rbx
je 0x1800387bc
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 rsi, rsi
je 0x1800387b3
test eax, eax
jne 0x1800387b3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180038798
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 0x180038af0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x180038b70
Capabilities:
Parse pe header

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

Function at 0x180038c30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x18013ac00]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x180038c4f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x180038c58
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140011131
Capabilities:
Execute command

Disassembly:
jmp 0x14001b910
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1400330fc]
call fcn.14001186b
nop
lea rax, str.___
mov qword [rbp + 8], rax
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
jmp 0x14001b94f
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0x14
jge 0x14001ba08
lea rcx, [0x140028438]
call qword [sym.imp.ucrtbased.dll_system]
nop
call fcn.1400113f2
nop
mov dx, 7
mov rcx, qword [0x14002d500]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 8]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x154], al
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
lea rdx, str.___rLoading
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110eb
movzx edx, byte [rbp + 0x154]
mov rcx, rax
call fcn.14001165e
lea rdx, [0x1400114b5]
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]
nop
mov eax, dword [rbp + 0x24]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x144], 0x64
lea rdx, [rbp + 0x144]
lea rcx, [rbp + 0x128]
call fcn.14001163b
mov rcx, rax
call fcn.1400116e0
nop
jmp 0x14001b947
lea rcx, [0x140028438]
call qword [sym.imp.ucrtbased.dll_system]
nop
call fcn.1400113f2
nop
mov dx, 7
mov rcx, qword [0x14002d500]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
lea rdx, str.___rLoading_complete_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110eb
lea rdx, [0x14001105a]
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]
nop
lea rcx, str.timeout__t_1__nul
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1400114ab
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14001fda0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001fdc0
xor al, al
jmp 0x14001fe41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001fdd3
xor al, al
jmp 0x14001fe41
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 0x14001fdfd
xor al, al
jmp 0x14001fe41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001fe11
xor al, al
jmp 0x14001fe41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001fe23
xor al, al
jmp 0x14001fe41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001fe3f
xor al, al
jmp 0x14001fe41
mov al, 1
add rsp, 0x38
ret
Function at 0x14001d690
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400118ac
movzx eax, al
test eax, eax
jne 0x14001d6b0
mov ecx, 7
call fcn.14001170d
nop
mov byte [rsp + 0x20], 0
call fcn.140011753
mov byte [rsp + 0x21], al
cmp dword [0x14002d530], 1
jne 0x14001d6d4
mov ecx, 7
call fcn.14001170d
nop
jmp 0x14001d72c
cmp dword [0x14002d530], 0
jne 0x14001d727
mov dword [0x14002d530], 1
lea rdx, [0x140026770]
lea rcx, [0x140026440]
call fcn.1400113d9
test eax, eax
je 0x14001d708
mov eax, 0xff
jmp 0x14001d831
lea rdx, [0x140026330]
lea rcx, [section..rdata]
call fcn.14001173a
mov dword [0x14002d530], 2
jmp 0x14001d72c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400116ea
call fcn.140011613
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001d789
mov rcx, qword [rsp + 0x30]
call fcn.14001131b
movzx eax, al
test eax, eax
je 0x14001d789
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140034020]
nop
call fcn.140011681
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001d7bd
mov rcx, qword [rsp + 0x38]
call fcn.14001131b
movzx eax, al
test eax, eax
je 0x14001d7bd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011843
nop
call fcn.14001d8e0
mov dword [rsp + 0x28], eax
call fcn.1400115e1
movzx eax, al
test eax, eax
jne 0x14001d7dc
mov ecx, dword [rsp + 0x28]
call fcn.1400110aa
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001d7eb
call fcn.140011852
nop
xor edx, edx
mov cl, 1
call fcn.1400112e9
mov eax, dword [rsp + 0x28]
jmp 0x14001d831
add rsp, 0x68
ret
Function at 0x2fc4dbce0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dc6e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc501108]
test eax, eax
je 0x2fc4dc77a
lea rax, [0x2fc5010e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc501110]
mov qword [rbp - 8], rax
jmp 0x2fc4dc75e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dc752
cmp qword [rbp - 0x10], 0
je 0x2fc4dc752
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dc718
lea rax, [0x2fc5010e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dc77b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dc880
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dc8a8
mov eax, 0
jmp 0x2fc4dc8f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dc8d1
mov eax, 0
jmp 0x2fc4dc8f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dc8f1
mov eax, 0
jmp 0x2fc4dc8f6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dc8fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dc97a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dc971
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dc971
mov rax, qword [rbp - 8]
jmp 0x2fc4dc98f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dc944
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140005eb0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14038c080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
mov rsi, qword [rdx + 0x10]
lea rcx, [rsi + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
mov rcx, rdi
call fcn.14000d840
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140005f12
mov r8, qword [rdi]
xor edx, edx
lea r10, [rsi - 2]
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
test r10, r10
je 0x140005fee
nop dword [rax + rax]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005f3d
mov rax, qword [rbx]
movzx eax, byte [rax + rdx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [r8], al
cmp qword [rbx + 0x18], 0xf
jbe 0x140005f5d
mov rax, qword [rbx]
lea r9, [rdx + rax]
jmp 0x140005f64
lea r9, [rbx + rdx]
mov rax, rbx
movzx ecx, byte [rax + rdx + 1]
shr rcx, 4
movsx rax, byte [r9]
and eax, 3
shl rax, 4
or rcx, rax
movzx eax, byte [rcx + r11]
mov byte [r8 + 1], al
cmp qword [rbx + 0x18], 0xf
jbe 0x140005f94
mov rax, qword [rbx]
lea r9, [rax + 1]
jmp 0x140005f9b
lea r9, [rbx + 1]
mov rax, rbx
add r9, rdx
movzx ecx, byte [rax + rdx + 2]
shr rcx, 6
movsx rax, byte [r9]
and eax, 0xf
shl rax, 2
or rcx, rax
movzx eax, byte [rcx + r11]
mov byte [r8 + 2], al
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005fcb
mov rax, qword [rbx]
movsx rax, byte [rax + rdx + 2]
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [r8 + 3], al
add r8, 4
add rdx, 3
cmp rdx, r10
jb 0x140005f30
cmp rdx, rsi
jae 0x1400060a4
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140006004
mov rax, qword [rbx]
movzx eax, byte [rax + rdx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [r8], al
lea rax, [rsi - 1]
cmp rdx, rax
jne 0x140006046
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000602a
mov rax, qword [rbx]
movsx rax, byte [rax + rdx]
and eax, 3
add rax, rax
movzx eax, byte [r11 + rax*8]
mov byte [r8 + 1], al
mov al, 0x3d
add r8, 2
jmp 0x14000609c
cmp qword [rbx + 0x18], 0xf
jbe 0x140006056
mov rax, qword [rbx]
lea r9, [rdx + rax]
jmp 0x14000605d
lea r9, [rdx + rbx]
mov rax, rbx
movzx ecx, byte [rax + rdx + 1]
shr rcx, 4
movsx rax, byte [r9]
and eax, 3
shl rax, 4
or rcx, rax
movzx eax, byte [rcx + r11]
mov byte [r8 + 1], al
add r8, 2
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000608e
mov rax, qword [rbx]
movsx rax, byte [rax + rdx + 1]
and eax, 0xf
movzx eax, byte [r11 + rax*4]
mov byte [r8], al
mov byte [r8 + 1], 0x3d
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400060da
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400060d5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000610d
mov rcx, r8
call fcn.14014a134
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140149e90
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001afa0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xe8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14038c080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
cmp byte [0x1403a55a8], 0
jne 0x14001b1bb
movabs rsi, 0x7fffffffffffffff
mov r14d, 0xff
mov edi, dword [rsp + 0x48]
movsd xmm6, qword [rsp + 0x40]
nop
mov eax, dword [reloc.WS2_32.dll_accept]
inc eax
movsxd rbx, eax
lea rcx, [rsp + 0x50]
call fcn.140001fb0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x14001b055
js 0x14001b055
imul r8, rbx, 0xf4240
mov rdx, rsi
sub rdx, r8
cmp rax, rdx
je 0x14001b050
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x14001b050
lea rcx, [r8 + rax]
mov qword [rsp + 0x30], rcx
jmp 0x14001b055
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140004cd0
cmp byte [0x1403a5470], 0
je 0x14001b1ae
cmp qword [0x1403a7298], 0
je 0x14001b1ae
lea rcx, [rbp + 0x20]
call fcn.14001b210
mov qword [rbp + 0xb4], 0
movd xmm1, dword [reloc.WS2_32.dll_ioctlsocket]
cvtdq2ps xmm1, xmm1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x1403a5478]
mov r8d, dword [0x1403a5480]
call fcn.14002aca0
test al, al
je 0x14001b1a5
mov ecx, dword [0x1403a5474]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001b1a5
cmp byte [rbp + 0x60], 0
jne 0x14001b1a5
mov ecx, dword [0x1403a547c]
test ecx, ecx
je 0x14001b129
sub ecx, 1
je 0x14001b10f
cmp ecx, 1
jne 0x14001b182
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001b310
mov r9d, 0x60f2
lea rdx, [rbp - 8]
jmp 0x14001b141
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001b310
mov r9d, 0x9995
lea rdx, [rbp + 4]
jmp 0x14001b141
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001b310
mov r9d, 0x796e
lea rdx, [rbp + 0x10]
movsd xmm0, qword [rbp + 0xa8]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [rbp + 0xb0]
movss xmm0, dword [rbp + 0xb4]
movss xmm1, dword [rbp + 0xb8]
mov dword [rbp - 0x18], eax
movss dword [rbp - 0x14], xmm0
movss dword [rbp - 0x10], xmm1
lea r8, [rsp + 0x58]
call fcn.14002a3f0
movsd xmm6, qword [rax]
mov edi, dword [rax + 8]
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], edi
mov r9d, dword [0x1403a548c]
mov r8d, dword [0x1403a5488]
lea rdx, [rsp + 0x40]
call fcn.14002b1d0
nop
lea rcx, [rbp + 0x20]
call fcn.1400052a0
cmp byte [0x1403a55a8], 0
je 0x14001b000
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140149e90
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret