joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401a611c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401a613c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14018305c
or eax, 0xffffffff
jmp 0x1401a613e
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401a9b40
Capabilities:
Set file attributes

Disassembly:
and eax, 0xaec83f
push 0xffffffffffffffff
and eax, 0xaec688
jmp qword [sym.imp.KERNEL32.dll_SetFileAttributesW]

Function at 0x1401aa460
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx + 0x60]
movzx r8d, byte [rcx + 0x5c]
test eax, eax
jle 0x1401aa49c
mov edx, dword [rcx + 0x288]
lea r11, [0x140213980]
mov r9d, eax
nop dword [rax]
mov eax, edx
shr rax, 0x18
xor rax, r8
shl edx, 8
xor edx, dword [r11 + rax*4]
mov dword [rcx + 0x288], edx
sub r9, 1
jne 0x1401aa480
mov eax, dword [rcx + 0x5c]
mov byte [rax + rcx + 0x80], 1
movsxd r9, dword [rcx + 0x60]
mov edx, r9d
sub edx, 1
je 0x1401aa57e
sub edx, 1
je 0x1401aa570
cmp edx, 1
je 0x1401aa530
mov byte [r9 + rcx + 0x7c], 1
mov rax, qword [rcx + 0x40]
movsxd rdx, dword [rcx + 0x6c]
mov byte [rdx + rax], r8b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax + 1], r8b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax + 1], r8b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax + 1], r8b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
movzx r8d, byte [rcx + 0x60]
mov rax, qword [rcx + 0x40]
sub r8b, 4
mov byte [rdx + rax + 1], r8b
inc dword [rcx + 0x6c]
ret
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r8b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax + 1], r8b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax + 1], r8b
inc dword [rcx + 0x6c]
ret
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r8b
jmp 0x1401aa54f
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r8b
inc dword [rcx + 0x6c]
ret
Function at 0x140003000
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 rcx, r10
call fcn.140002fc2
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

Function at 0x140003454
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x14057f038]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x14057f034]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x1400034a2
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000349a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140003589
inc ebx
add rax, 0x28
jmp 0x14000347a
mov rcx, r12
call fcn.140003c81
mov rbp, rax
test rax, rax
jne 0x1400034c1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400033f0
movsxd rbx, ebx
mov rax, qword [0x14057f038]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140003d2f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14057f038]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140003523
mov rax, qword [0x14057f038]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400033f0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140003583
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140003583
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 [0x14057f038]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140003583
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400033f0
inc dword [0x14057f034]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400039b0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14057f0a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14057f080]
test rbx, rbx
je 0x1400039fc
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x1400039f6
test eax, eax
jne 0x1400039f6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x1400039ce
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140003bb0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140003bd3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140003bd3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140003bd4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140003c0e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140003c05
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140003c10
inc r8d
add rax, 0x28
jmp 0x140003bec
xor eax, eax
ret

Function at 0x140003c81
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14057af90]
mov r8, rcx
mov rcx, r9
call fcn.140003bb0
test eax, eax
je 0x140003cad
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140003bd4
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000244c
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000da10

Function at 0x140011ec4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14001d310]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000f158
xor ebx, ebx
cmp qword [0x14001efb8], rbx
mov rdi, rax
jne 0x140011fd7
lea rcx, [0x140018378]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400120ae
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400120ae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x140018358]
mov rcx, rsi
mov qword [0x14001efb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x140018340]
mov rcx, rsi
mov qword [0x14001efc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14001efc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14001efd8], rax
test rax, rax
je 0x140011fce
lea rdx, [0x140018308]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14001efd0], rax
jmp 0x140011fde
mov rax, qword [0x14001efd0]
jmp 0x140011fe5
mov rax, qword [0x14001efd0]
mov r11, qword [0x14001efd8]
cmp rax, rdi
je 0x14001204c
cmp r11, rdi
je 0x14001204c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14001efd8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14001204c
test rax, rax
je 0x14001204c
call rsi
test rax, rax
je 0x140012046
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140012046
test byte [rsp + 0x40], 1
jne 0x14001204c
bts ebp, 0x15
jmp 0x14001208c
mov rcx, qword [0x14001efc0]
cmp rcx, rdi
je 0x14001208c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001208c
call rax
mov rbx, rax
test rax, rax
je 0x14001208c
mov rcx, qword [0x14001efc8]
cmp rcx, rdi
je 0x14001208c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001208c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14001efb8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400120ae
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400120b0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140010b10
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001413b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001d310]
jne 0x140010b2a
rol rcx, 0x10
test cx, 0xffff
jne 0x140010b26
repz ret
ror rcx, 0x10
jmp 0x140014094
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14001f0c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14001f1b8]
mov qword [rsp + 0x58], rax
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 0x140014119
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, [0x14001f0c0]
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 0x14001413b
mov rax, qword [rsp + 0x88]
mov qword [0x14001f1b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14001f158], rax
mov rax, qword [0x14001f1b8]
mov qword [0x14001f030], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14001f140], rax
mov dword [0x14001f020], 0xc0000409
mov dword [0x14001f024], 1
mov rax, qword [0x14001d310]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001d318]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14001f0b8], eax
mov ecx, 1
call fcn.140013f4c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400187a0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14001f0b8], 0
jne 0x1400141c2
mov ecx, 1
call fcn.140013f4c
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 0x141176e34
Capabilities:
Encode data using xor

Disassembly:
jmp 0x141176e3e
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 0x141176e67
pop rbp
sub rbp, 0x33
sub rbp, 0x1176e34
sub rsp, 0x20
jmp 0x141176e86
mov rax, 0x1176e34
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffe264040f
xor byte [rax], dl
inc rax
dec rcx
jne 0x141176ea5
jmp 0x141176ebc
xchg r14b, r12b
test byte [rsi + 0xf0f0f33], al
mov cs, r14d
invalid
Function at 0x140001050
Capabilities:
Allocate or change rwx memory
Enumerate gui resources
Execute shellcode via windows callback function

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x113
mov byte [rsp + 0x30], 0
call sub.MSVCR100.dll_memset
mov edi, 0x3000
mov r12d, 0x114
mov r8d, edi
mov r9d, 0x40
xor ecx, ecx
mov edx, r12d
mov dword [rsp + 0x20], 5
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9d, 0x40
mov r8d, edi
mov edx, r12d
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rbx, rbx
je 0x140001122
lea rbx, [rsp + 0x30]
lea rdi, str.Face
mov esi, 0xf
mov rcx, rdi
call section..text
add rdi, 5
mov byte [rbx], al
inc rbx
dec rsi
jne 0x1400010e5
lea rbx, [rsp + 0x3f]
lea rdi, [0x1400028db]
mov esi, 0x105
mov rcx, rdi
call section..text
add rdi, 5
mov byte [rbx], al
inc rbx
dec rsi
jne 0x14000110c
lea r9, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r8d, 0x40
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140001190
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r12
ret
Function at 0x140001257
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1400011aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400011a6
repz ret
ror rcx, 0x10
jmp 0x1400011b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400048b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400049a8]
mov qword [rsp + 0x58], rax
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 0x140001235
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, [0x1400048b0]
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 0x140001257
mov rax, qword [rsp + 0x88]
mov qword [0x1400049a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140004948], rax
mov rax, qword [0x1400049a8]
mov qword [0x140004820], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140004930], rax
mov dword [0x140004810], 0xc0000409
mov dword [0x140004814], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140004008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400048a8], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140002080]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400048a8], 0
jne 0x1400012de
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
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 0x1400021c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140047080]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor r14d, r14d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.1400126d0
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x140002263
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], r14w
jne 0x140002230
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x14000225d
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x140002447
mov word [rbp + rax - 0x50], r14w
lea rdx, [rbp - 0x50]
jmp 0x14000226a
lea rdx, [0x140037794]
lea rcx, [rbp - 0x70]
call fcn.1400058c0
nop
mov rbx, qword [rbp - 0x60]
test rbx, rbx
jne 0x1400022d5
lea rdx, [0x140037794]
mov rcx, rdi
call fcn.1400058c0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140002411
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000240c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002441
jmp 0x14000240c
lea rcx, [rsp + 0x48]
call fcn.140001fa0
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rbx
cmp rcx, 1
jb 0x14000244d
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 1
lea rax, [0x140037790]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x70]
call fcn.140008090
nop
mov r9, rsi
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.140007e70
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000237f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002379
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002453
call fcn.140010060
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400023c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002459
call fcn.140010060
movdqa xmm0, xmmword [0x140040290]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140002411
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000240c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000243b
call fcn.140010060
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140010040
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400186b0
int3
call fcn.1400186b0
int3
call fcn.140010550
nop
call fcn.1400013e0
nop
call fcn.1400186b0
nop
call fcn.1400186b0
int3
Function at 0x140003e50
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r12
push r13
mov eax, 0x1070
call fcn.140010a70
sub rsp, rax
mov rax, qword [0x140047080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, qword [rsp + 0x10b0]
xor ebp, ebp
mov qword [rsp + 0x38], r9
mov r12, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
test r8, r8
jne 0x140003e9c
mov rdx, rbp
jmp 0x140003fb0
mov r9d, 0x1000
lea rdx, [rsp + 0x40]
call fcn.140002b00
test al, al
je 0x140003e94
mov qword [rsp + 0x1068], rsi
lea rdx, str.PAGE
mov qword [rsp + 0x1060], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1058], r14
mov qword [rsp + 0x1050], r15
nop
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x140003ee0
movsxd rax, dword [rsp + 0x7c]
lea rcx, [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x1098], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r15, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r15, rax
test r14d, r14d
je 0x140003f85
nop word [rax + rax]
mov eax, esi
mov r8, rdi
lea rcx, [rax + rax*4]
lea rbx, [r15 + rcx*8]
mov rcx, rbx
call fcn.140012b10
test eax, eax
jne 0x140003f4e
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x140003f40
cmp rdi, rax
je 0x140003f5e
inc esi
cmp esi, r14d
jae 0x140003f85
lea rdx, str.PAGE
jmp 0x140003f20
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140003f85
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x40]
add rdx, rax
je 0x140003f85
test ecx, ecx
je 0x140003f85
lea rax, [rsp + 0x40]
mov ebp, ecx
sub rdx, rax
add rdx, r12
jmp 0x140003f88
mov rdx, rbp
mov rbx, qword [rsp + 0x1098]
mov rdi, qword [rsp + 0x1060]
mov rsi, qword [rsp + 0x1068]
mov r14, qword [rsp + 0x1058]
mov r15, qword [rsp + 0x1050]
mov rax, qword [rsp + 0x30]
mov rcx, r13
mov r9, qword [rsp + 0x38]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.140003d40
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140010040
add rsp, 0x1070
pop r13
pop r12
pop rbp
ret
Function at 0x140004a20
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140004a42
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140004abc
mov rdi, r14
mov rcx, rbx
call fcn.140006390
test rax, rax
jle 0x140004a94
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140012010
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140004aac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140004ab4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140004a56
sub r14, rdi
jmp 0x140004b9f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140004ad3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004ad5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004b07
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140012010
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140004b9c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004b42
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140004b7d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140017ea0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140004b9c
cmp rbp, rax
ja 0x140004b50
test rbp, rbp
je 0x140004b9c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140017ea0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret