joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14016f2c4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0xe8]
mov rbx, rcx
mov rcx, rdi
mov edx, 1
call fcn.14016087c
lea r8, [rbx + 0x190]
mov edx, 0x4084
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140160ad4

Function at 0x1401734ec
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov bl, r8b
movzx ebp, dx
mov rdi, rcx
call qword [rax + 0x2a0]
mov ecx, ebp
mov edx, 2
mov esi, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test bl, bl
jne 0x140173543
test esi, esi
js 0x140173543
cmp ax, 0x20
je 0x140173535
cmp bp, 0x71
jne 0x140173543
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x2d0]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140182fdc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14018c480
nop
cmp dword [0x14025aaf8], 1
je 0x140182f88
mov dword [0x14025aaf4], 1
mov byte [0x14025aaf0], r12b
test ebx, ebx
jne 0x140182f74
mov rcx, qword [0x14025cf90]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140182f61
mov rcx, qword [0x14025cf88]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140182f00
call fcn.140189314
cmp qword [rdi], rax
jne 0x140182f00
jmp 0x140182ee6
cmp rdi, rsi
jb 0x140182f61
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140189314
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14025cf90]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14025cf88]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140182f3f
cmp r13, rax
je 0x140182f5f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140182ee6
lea rdx, [0x1401b9a80]
lea rcx, [0x1401b9a68]
call fcn.140182d30
lea rdx, [0x1401b9a90]
lea rcx, [0x1401b9a88]
call fcn.140182d30
nop
test r12d, r12d
je 0x140182f97
mov ecx, 8
call fcn.14018c380
test r12d, r12d
jne 0x140182fc2
mov dword [0x14025aaf8], 1
lea ecx, [r12 + 8]
call fcn.14018c380
mov ecx, r15d
call fcn.140182cc4
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140182e50

Function at 0x140182fe8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140182e50
Function at 0x140189867
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14024f530]
jne 0x14018224a
rol rcx, 0x10
test cx, 0xffff
jne 0x140182246
repz ret
ror rcx, 0x10
jmp 0x1401897c0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14025b100]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14025b1f8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140189845
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14025b100]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140189867
mov rax, qword [rsp + 0x88]
mov qword [0x14025b1f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14025b198], rax
mov rax, qword [0x14025b1f8]
mov qword [0x14025b070], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14025b180], rax
mov dword [0x14025b060], 0xc0000409
mov dword [0x14025b064], 1
mov rax, qword [0x14024f530]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14024f538]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14025b0f8], eax
mov ecx, 1
call fcn.14018c9c8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140209de0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14025b0f8], 0
jne 0x1401898ee
mov ecx, 1
call fcn.14018c9c8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1401946c4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140189314
xor ebx, ebx
mov rdi, rax
cmp qword [0x14025b988], rbx
jne 0x1401947ca
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14019489f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14019489f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14020a010]
mov rcx, rsi
mov qword [0x14025b988], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140209ff8]
mov rcx, rsi
mov qword [0x14025b990], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14025b998], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14025b9a8], rax
test rax, rax
je 0x1401947c1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14025b9a0], rax
jmp 0x1401947d1
mov rax, qword [0x14025b9a0]
jmp 0x1401947d8
mov rax, qword [0x14025b9a0]
mov r11, qword [0x14025b9a8]
cmp rax, rdi
je 0x140194840
cmp r11, rdi
je 0x140194840
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14025b9a8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140194840
test rax, rax
je 0x140194840
call rsi
test rax, rax
je 0x14019483a
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14019483a
test byte [rsp + 0x38], 1
jne 0x140194840
bts ebp, 0x15
jmp 0x14019487e
mov rcx, qword [0x14025b990]
cmp rcx, rdi
je 0x14019487e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14019487e
call rax
mov rbx, rax
test rax, rax
je 0x14019487e
mov rcx, qword [0x14025b998]
cmp rcx, rdi
je 0x14019487e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14019487e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14025b988]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14019489f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1401948a1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1f6961f10
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1f6964220]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1f6961f30
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1f6961f38
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1f6961f30
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1f6961f85
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1f6961f7c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1f6961f30
add rax, 0x28
cmp rax, r9
jne 0x1f6961f68
xor eax, eax
ret

Function at 0x1f6961f90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1f6964220]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1f6961fb0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1f6961fb8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1f6961fb0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1f6962040
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1f6964220]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1f6962060
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1f6962068
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x174c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x174c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x174c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x174c06f
add dl, dl
jne 0x174c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x174c0f6
xor eax, eax
add dl, dl
jne 0x174c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x174c1ad
add dl, dl
jne 0x174c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x174c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x174c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x174c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x174c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x174c07e
mov eax, 1
add dl, dl
jne 0x174c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x174c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x174c0fb
sub eax, ebx
mov ebx, 1
jne 0x174c14c
mov ecx, 1
add dl, dl
jne 0x174c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x174c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x174c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x174c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x174c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x174c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x174c15d
cmp eax, 0x7d00
jae 0x174c19b
cmp eax, 0x500
jb 0x174c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x174c07e
cmp eax, 0x7f
ja 0x174c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x174c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x174c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x174c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001019
Capabilities:
Terminate process

Disassembly:
jmp 0x1400ef2f0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.14000119a
test al, al
je 0x1400ef1b7
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.140001118
mov bl, al
mov ecx, dword [0x1400f67e8]
cmp ecx, 1
je 0x1400ef1c2
test ecx, ecx
jne 0x1400ef0ed
mov dword [0x1400f67e8], 1
lea rdx, [0x1400f4660]
lea rcx, [0x1400f4330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1400ef0ce
mov eax, 0xff
jmp 0x1400ef1a7
lea rdx, [0x1400f4220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1400f67e8], 2
jmp 0x1400ef0f5
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400011d6
call fcn.1400010eb
mov rbx, rax
cmp qword [rax], 0
je 0x1400ef128
mov rcx, rax
call fcn.140001145
test al, al
je 0x1400ef128
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x1400f9010]
call fcn.140001113
mov rbx, rax
cmp qword [rax], 0
je 0x1400ef14a
mov rcx, rax
call fcn.140001145
test al, al
je 0x1400ef14a
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rdi, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov rbx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov r8, rax
mov rdx, rdi
mov ecx, dword [rbx]
call fcn.1400010b9
mov ebx, eax
call fcn.140001181
test al, al
je 0x1400ef1cc
test sil, sil
jne 0x1400ef181
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.140001186
mov eax, ebx
jmp 0x1400ef1a7
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140001140
nop
mov ecx, 7
call fcn.140001140
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.1400011b3
add rsp, 0x28
jmp 0x1400ef060

Function at 0x140001041
Capabilities:
Terminate process

Disassembly:
jmp 0x1400ef308
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140001145
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400efbc4
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400efc52
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400efc52
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400efc52
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400efc39
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400efc33
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400efc3b
add rdx, 0x28
jmp 0x1400efc18
xor edx, edx
test rdx, rdx
jne 0x1400efc44
xor al, al
jmp 0x1400efc58
cmp dword [rdx + 0x24], 0
jge 0x1400efc4e
xor al, al
jmp 0x1400efc58
mov al, 1
jmp 0x1400efc58
xor al, al
jmp 0x1400efc58
add rsp, 0x18
ret

Function at 0x140001172
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
jmp 0x1400eecc0
xor r8d, r8d
mov r9d, edx
mov r10, rcx
test edx, edx
jle 0x1400eed14
lea r11, str.B0l:f_nzXBG5
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x2aaaaaab
lea r10, [r10 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
inc r8d
lea ecx, [rdx + rdx*2]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
movzx eax, byte [rcx + r11]
xor byte [r10 - 1], al
cmp r8d, r9d
jl 0x1400eece0
mov eax, r9d
ret

Function at 0x140001181
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400f01b4
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f01ff
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f01ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f01ff
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f01ff
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f01ff
cmp dword [rcx + 0xf8], 0
je 0x1400f01ff
mov al, 1
jmp 0x1400f0201
xor al, al
add rsp, 0x28
ret
Function at 0x140ee3134
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140ee313e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140ee3167
pop rbp
sub rbp, 0x33
sub rbp, 0xee3134
sub rsp, 0x20
jmp 0x140ee3186
mov rax, 0xee3134
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6d9a22a5
xor byte [rax], dl
inc rax
dec rcx
jne 0x140ee31a5
jmp 0x140ee31bc
in eax, dx
sub al, 0x4c
sub al, 0x99
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
in eax, dx
and al, 0x64
lodsd eax, dword [rsi]
movsb byte [rdi], byte [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
in eax, dx
movsb byte [rdi], byte [rsi]
in eax, dx
invalid
Function at 0x140001430
Capabilities:
Access peb ldr_data
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x28
mov rax, qword gs:[0x60]
mov r15d, ecx
mov qword [rsp + 0x60], r12
mov ebx, 0x5a4d
mov qword [rsp + 0x20], r13
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x78], rax
mov r14, qword [rax]
nop dword [rax]
mov rsi, qword [r14 + 0x20]
test rdx, rdx
je 0x140001490
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov rax, qword [rsp + 0x78]
jne 0x140001540
cmp word [rsi], bx
jne 0x140001540
movsxd rax, dword [rsi + 0x3c]
add rax, rsi
cmp dword [rax], 0x4550
jne 0x14000153b
cmp word [rax + 0x14], 0x60
jb 0x14000153b
cmp dword [rax + 0x84], 0
je 0x14000153b
mov ecx, dword [rax + 0x88]
test ecx, ecx
je 0x14000153b
mov r12d, dword [rsi + rcx + 0x24]
lea rax, [rsi + rcx]
mov edi, dword [rax + 0x20]
add r12, rsi
mov r13d, dword [rax + 0x1c]
add rdi, rsi
mov ebp, dword [rax + 0x18]
add r13, rsi
xor ebx, ebx
test ebp, ebp
je 0x140001536
nop dword [rax]
mov ecx, dword [rdi]
add rcx, rsi
movzx eax, byte [rcx]
test al, al
jne 0x140001503
mov eax, 0x29ae
jmp 0x140001516
movsx eax, al
add eax, 0x29ae
imul edx, eax, 0x4d
inc rcx
call fcn.140001ca0
cmp eax, r15d
je 0x140001527
inc ebx
add rdi, 4
cmp ebx, ebp
jb 0x1400014f0
jmp 0x140001536
movzx ecx, word [r12 + rbx*2]
mov eax, dword [r13 + rcx*4]
add rax, rsi
jne 0x140001554
mov ebx, 0x5a4d
mov rax, qword [rsp + 0x78]
mov r14, qword [r14]
cmp r14, rax
je 0x140001552
mov rdx, qword [rsp + 0x68]
jmp 0x140001470
xor eax, eax
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x60]
add rsp, 0x28
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001f50
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x50
cmp dword [section..data], 0
jne 0x14000216f
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x14000217a
nop dword [rax]
nop word [rax + rax]
mov rsi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x140001fc9
lea rdx, [rsi + rcx]
mov ecx, dword [rsi + rcx + 0xc]
mov eax, dword [rcx + rsi]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x140001fc9
mov eax, dword [rcx + rsi + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140001fd5
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140001f90
test rdx, rdx
je 0x14000217a
mov eax, dword [rdx + 0x1c]
mov qword [rsp + 0x70], rbx
add rax, rsi
mov qword [rsp + 0x48], rbp
lea rbp, section..data
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x68], rax
mov eax, dword [rdx + 0x24]
mov qword [rsp + 0x38], r12
add rax, rsi
mov qword [rsp + 0x30], r13
mov r13d, dword [rdx + 0x20]
mov qword [rsp + 0x28], r14
add r13, rsi
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov qword [rsp + 0x20], r15
mov eax, 0x775a
mov r15d, dword [rdx + 0x18]
dec r15d
mov edi, dword [r13 + r15*4]
add rdi, rsi
cmp word [rdi], ax
jne 0x1400020bc
mov rcx, rdi
xor ebp, ebp
mov r14d, 0x3906c4bc
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x140002083
nop word [rax + rax]
movzx eax, word [rdi + rbp]
mov ecx, r14d
ror ecx, 8
inc rbp
add ecx, eax
xor r14d, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rcx, eax
cmp rbp, rcx
jb 0x140002060
mov rax, qword [rsp + 0x60]
lea rcx, [rbx*8]
mov rdx, qword [rsp + 0x68]
lea rbp, section..data
mov dword [rcx + rbp + 4], r14d
inc ebx
movzx eax, word [rax + r15*2]
mov eax, dword [rdx + rax*4]
mov dword [rcx + rbp + 8], eax
cmp ebx, 0x1f4
je 0x1400020c5
mov eax, 0x775a
test r15d, r15d
jne 0x140002030
mov r15, qword [rsp + 0x20]
lea eax, [rbx - 1]
mov r14, qword [rsp + 0x28]
xor edx, edx
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov dword [section..data], ebx
test eax, eax
je 0x140002160
nop dword [rax + rax]
mov ecx, ebx
xor eax, eax
sub ecx, edx
cmp ecx, 1
je 0x140002157
nop dword [rax + rax]
mov ecx, eax
lea r8d, [rax + 1]
lea r9, [r8*8]
mov r11d, dword [r9 + rbp + 8]
lea r10, [rcx*8]
mov edi, dword [r10 + rbp + 8]
cmp edi, r11d
jbe 0x140002149
mov ecx, dword [r10 + rbp + 4]
mov eax, dword [r9 + rbp + 4]
mov dword [r10 + rbp + 4], eax
mov dword [r9 + rbp + 4], ecx
mov dword [r10 + rbp + 8], r11d
mov dword [r9 + rbp + 8], edi
mov ebx, dword [section..data]
mov ecx, ebx
mov eax, r8d
sub ecx, edx
dec ecx
cmp r8d, ecx
jb 0x140002100
inc edx
lea eax, [rbx - 1]
cmp edx, eax
jb 0x1400020f0
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x50
pop rsi
ret
xor eax, eax
add rsp, 0x50
pop rsi
ret
Function at 0x140002190
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, dword [0x140005fb0]
call fcn.140001f10
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret