joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000147f
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14001a360]
mov dword [rax], 1
mov rax, qword [0x14001a370]
mov dword [rax], 1
mov rax, qword [0x14001a380]
mov dword [rax], 1
mov rax, qword [0x14001a320]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d0
mov eax, 0
jmp 0x14000157d
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 0x1400014fc
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001522
cmp eax, 0x20b
je 0x140001549
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001535
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001564
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001cbb
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140001cda
mov rcx, rdx
call sub.ucrtbase.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.ucrtbase.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp 0x1400109a0
jmp qword [sym.imp.ucrtbase.dll_fflush]

Function at 0x140001cf8
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
lea rdx, str.out_of_memory_n
mov rcx, rax
call fcn.140001cbb
mov ecx, 1
call sub.ucrtbase.dll_exit
nop

Function at 0x140001d21
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140030720]
cmp rax, 0xdab
jle 0x140001d58
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
lea rdx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rcx, rax
call fcn.140001cbb
mov ecx, 1
call sub.ucrtbase.dll_exit
lea rdx, [0x1400299c0]
mov qword [rdx + rax*8], rcx
inc rax
mov qword [0x140030720], rax
add rsp, 0x28
ret

Function at 0x1400027cc
Capabilities:
Terminate process

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov rsi, rcx
mov ecx, 2
call rbx
lea rdx, str.could_not_load:
mov rcx, rax
call fcn.140001cbb
mov rcx, rsi
call fcn.1400017d0
mov ecx, 2
mov rsi, rax
call rbx
mov rdx, rsi
mov rcx, rax
call fcn.140001cbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xc1
jne 0x140002832
mov ecx, 2
call rbx
lea rdx, str._n_bad_format__library_may_be_wrong_architecture_
mov rcx, rax
call fcn.140001cbb
mov ecx, 2
call rbx
lea rdx, [0x1400170fe]
mov rcx, rax
call fcn.140001cbb
mov ecx, 1
call sub.ucrtbase.dll_exit
nop
Function at 0x140002853
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x120
mov r12, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rcx
mov rdi, rdx
call r12
test rax, rax
jne 0x14000297a
lea r13, [rsp + 0x26]
mov edx, 0xfa
mov ebx, 1
mov rcx, r13
call fcn.140001d9c
mov byte [rsp + 0x26], 0x5f
mov al, byte [rdi + rbx - 1]
test al, al
je 0x1400028b2
mov byte [r13 + rbx], al
inc rbx
cmp rbx, 0xf5
jne 0x140002899
mov byte [rsp + rbx + 0x26], 0x40
mov esi, 0x63
mov r14d, 0xa
lea rcx, [rsi - 0x63]
cmp rsi, 0xc6
jbe 0x1400028d5
add rbx, 3
jmp 0x1400028e8
lea rax, [rsi - 0x5a]
cmp rax, 0x12
jbe 0x1400028e5
add rbx, 2
jmp 0x1400028e8
inc rbx
mov byte [rsp + rbx + 0x27], 0
mov rax, rcx
xor edx, edx
div r14
mov rax, rcx
add edx, 0x30
mov byte [r13 + rbx], dl
cqo
dec rbx
idiv r14
mov rcx, rax
test rax, rax
jne 0x1400028ed
mov rdx, r13
mov rcx, rbp
call r12
test rax, rax
jne 0x14000297a
add rsi, 4
cmp rsi, 0x12f
jne 0x1400028c2
mov rbx, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str.could_not_import:
mov rcx, rax
call fcn.140001cbb
mov ecx, 2
call rbx
mov rdx, rdi
mov rcx, rax
call fcn.140001cbb
mov ecx, 2
call rbx
lea rdx, [0x1400170fe]
mov rcx, rax
call fcn.140001cbb
mov ecx, 1
call sub.ucrtbase.dll_exit
add rsp, 0x120
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400029fb
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rax, qword [rdx]
mov rbp, qword [rdx + 8]
add qword [rcx + 0x2090], rbp
and rax, 0xfffffffffffffffe
mov qword [rdx], rax
mov rsi, rcx
mov rbx, rdx
je 0x1400026f2
mov rdi, rdx
sub rdi, rax
mov rcx, rdi
sar rcx, 0xc
call fcn.140001c02
test al, al
je 0x1400026f2
test byte [rdi], 1
jne 0x1400026f2
mov r12, qword [rdi + 8]
lea rax, [r12 - 0xfc1]
cmp rax, 0x3efff03e
ja 0x1400026f2
mov rdx, rdi
mov rcx, rsi
add rbp, r12
sar rbx, 0xc
call fcn.1400025b2
mov qword [rdi + 8], rbp
mov rcx, rbx
mov rbx, rdi
call fcn.140001c3c
cmp rbp, 0x3f000000
jle 0x1400026f2
mov rdx, rdi
mov rcx, rsi
mov r8d, 0x3f000000
call fcn.140002141
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call fcn.1400021f8
mov rdi, qword [rbx + 8]
lea r9, [rbx + rdi]
mov rbp, r9
sar rbp, 0xc
mov rcx, rbp
call fcn.140001c02
test al, al
je 0x140002768
test byte [r9], 1
jne 0x140002768
mov r12, qword [r9 + 8]
cmp r12, 0xfc0
jle 0x140002768
cmp rdi, 0x3effffff
jg 0x140002768
mov rcx, rsi
add rdi, r12
mov rdx, r9
call fcn.1400025b2
mov qword [rbx + 8], rdi
mov rcx, rbp
call fcn.140001c3c
cmp rdi, 0x3f000000
jle 0x140002768
mov rdx, rbx
mov rcx, rsi
mov r8d, 0x3f000000
call fcn.140002141
mov rcx, rsi
mov rdx, rax
call fcn.1400021f8
mov rdx, rbx
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1400021f8
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x2098]
mov rbx, rdx
mov r10, rcx
and rbx, 0xfffffffffffff000
mov r11, qword [rbx + 8]
sub rax, r11
mov qword [rcx + 0x2098], rax
cmp r11, 0xfc0
jle 0x140002a79
cmp qword [rcx + 0x28d8], 0
lea rax, [rcx + 0x28d8]
jne 0x140002a4a
mov qword [rcx + 0x28d8], rax
mov qword [rcx + 0x28e0], rax
mov qword [r10 + 0x28b0], rax
lea rdx, [r10 + 0x28a8]
lea r8, [rbx + 0x20]
mov rcx, r10
call fcn.1400018c8
cmp r11, 0x3f000000
jg 0x140002b06
mov rdx, rbx
jmp 0x140002af9
xor eax, eax
mov qword [rdx + 8], rax
mov rax, qword [rbx + 0x20]
mov qword [rdx], rax
mov rax, qword [rbx + 0x28]
mov qword [rbx + 0x20], rdx
lea rcx, [rax + r11]
cmp rax, r11
jl 0x140002acc
mov qword [rbx + 0x28], rcx
cmp rcx, 0xfc0
jne 0x140002b64
mov rax, r11
mov ecx, 0x10
cqo
idiv rcx
mov rdx, rbx
lea rcx, [r10 + rax*8 + 0x10]
call fcn.140001844
mov qword [rbx + 8], 0x1000
jmp 0x140002af9
mov rax, r11
mov r8d, 0x10
cqo
idiv r8
add rax, 2
mov rdx, qword [r10 + rax*8]
mov qword [rbx + 0x10], rdx
test rdx, rdx
je 0x140002aef
mov qword [rdx + 0x18], rbx
mov qword [r10 + rax*8], rbx
mov qword [rbx + 0x28], rcx
jmp 0x140002b64
mov rcx, r10
add rsp, 0x20
pop rbx
jmp 0x140002653
mov rcx, rbx
sar rcx, 0xc
call fcn.140001c3c
mov rax, qword [r10 + 0x2080]
mov rdx, qword [r10 + 0x2088]
mov rcx, rbx
mov r8d, 0x8000
cmp rdx, rax
cmovl rdx, rax
sub rax, r11
mov qword [r10 + 0x2080], rax
mov qword [r10 + 0x2088], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x140002b64
lea rcx, str.virtualFree_failing_
call fcn.1400029b5
mov ecx, 1
call sub.ucrtbase.dll_exit
nop
add rsp, 0x20
pop rbx
ret

Function at 0x140002b6a
Capabilities:
Terminate process

Disassembly:
lea rdx, [rcx - 0x10]
lea rcx, [0x140030a88]
jmp fcn.1400029fb
Function at 0x1400040d1
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
cmp qword [rcx + 0x10], 0
mov r11, qword [rsp + 0x70]
mov rbx, rcx
mov r10, r8
jne 0x1400040ec
mov qword [rcx + 0x10], rdx
lea rcx, [rsp + 0x28]
mov edx, 0x18
call fcn.140001d9c
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x28], r10
lea rdx, [0x1400307c0]
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], r11
call fcn.140004045
lea rcx, [rbx + 0x20]
mov rdx, rax
call fcn.140002d66
mov rax, qword [rbx + 0x20]
movups xmm0, xmmword [rsp + 0x28]
mov rdx, qword [rax]
lea rcx, [rdx + 1]
imul rdx, rdx, 0x18
mov qword [rax], rcx
mov rcx, rbx
add rax, rdx
mov rdx, qword [rsp + 0x38]
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rdx
add rsp, 0x40
pop rbx
jmp 0x1400051bc
push rbx
sub rsp, 0x20
cmp qword [0x140030888], 0
mov rbx, rcx
jne 0x1400051dd
call fcn.1400051b7
mov ecx, 1
call sub.ucrtbase.dll_exit
mov rdx, qword [0x140030880]
lea rcx, [rcx + 0x28]
call fcn.140002d66
mov rdx, rbx
lea rcx, [0x140030880]
call fcn.140002d66
mov rax, qword [0x140030888]
mov edx, 1
lea rcx, [rax + 0x10]
call qword [sym.imp.ucrtbase.dll_longjmp]
nop

Function at 0x140004da6
Capabilities:
Terminate process
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rcx, qword [0x140030880]
test rcx, rcx
je 0x140004dc5
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp 0x1400051bc
mov edx, 0x30
lea rcx, [0x140030840]
lea rdi, str.ReraiseDefect
call fcn.140003545
lea rcx, [0x1400198a0]
mov rbx, rax
lea rax, [0x140030800]
mov qword [rbx], rax
mov rsi, qword [rbx + 0x18]
mov qword [rbx + 0x10], rdi
call fcn.1400038f0
mov qword [rbx + 0x18], rax
test rsi, rsi
je 0x140004e10
lea rcx, [rsi - 0x10]
call fcn.140002d50
mov qword [rsp + 0x20], 0x35
lea r9, str.fatal.
mov rdx, rdi
mov rcx, rbx
lea r8, str.sysFatal
call fcn.1400040d1
nop

Function at 0x140004e33
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov byte [rsp + 0x3f], 1
mov al, byte [rsp + 0x3f]
mov rsi, rcx
mov qword [rsp + 0x28], rdx
test al, al
je 0x140004e7f
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.ucrtbase.dll_fwrite
mov rcx, rbx
add rsp, 0x48
pop rbx
pop rsi
jmp 0x1400109a0
add rsp, 0x48
pop rbx
pop rsi
ret
Function at 0x1400051bc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
cmp qword [rcx + 0x10], 0
mov r11, qword [rsp + 0x70]
mov rbx, rcx
mov r10, r8
jne 0x1400040ec
mov qword [rcx + 0x10], rdx
lea rcx, [rsp + 0x28]
mov edx, 0x18
call fcn.140001d9c
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x28], r10
lea rdx, [0x1400307c0]
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], r11
call fcn.140004045
lea rcx, [rbx + 0x20]
mov rdx, rax
call fcn.140002d66
mov rax, qword [rbx + 0x20]
movups xmm0, xmmword [rsp + 0x28]
mov rdx, qword [rax]
lea rcx, [rdx + 1]
imul rdx, rdx, 0x18
mov qword [rax], rcx
mov rcx, rbx
add rax, rdx
mov rdx, qword [rsp + 0x38]
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rdx
add rsp, 0x40
pop rbx
jmp 0x1400051bc
push rbx
sub rsp, 0x20
cmp qword [0x140030888], 0
mov rbx, rcx
jne 0x1400051dd
call fcn.1400051b7
mov ecx, 1
call sub.ucrtbase.dll_exit
mov rdx, qword [0x140030880]
lea rcx, [rcx + 0x28]
call fcn.140002d66
mov rdx, rbx
lea rcx, [0x140030880]
call fcn.140002d66
mov rax, qword [0x140030888]
mov edx, 1
lea rcx, [rax + 0x10]
call qword [sym.imp.ucrtbase.dll_longjmp]
nop

Function at 0x140005213
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140030888]
test rcx, rcx
jne 0x140005239
mov rcx, qword [0x140030880]
call fcn.1400051b7
mov ecx, 1
call sub.ucrtbase.dll_exit
add rcx, 0x10
mov edx, 1
call qword [sym.imp.ucrtbase.dll_longjmp]
nop
push rbx
sub rsp, 0x20
lea rbx, str.SIGINT:_Interrupted_by_Ctrl_C._n
cmp ecx, 2
je 0x140005293
lea rbx, str.SIGSEGV:_Illegal_storage_access.__Attempt_to_read_from_nil___n
cmp ecx, 0xb
je 0x140005293
lea rbx, str.SIGABRT:_Abnormal_termination._n
cmp ecx, 0x16
je 0x140005293
lea rbx, str.SIGFPE:_Arithmetic_error._n
cmp ecx, 8
je 0x140005293
cmp ecx, 4
lea rbx, str.SIGILL:_Illegal_operation._n
lea rax, str.unknown_signal_n
cmovne rbx, rax
mov rcx, rbx
call sub.ucrtbase.dll_strlen
mov rcx, rbx
mov rdx, rax
call fcn.140004e33
mov ecx, 1
call sub.ucrtbase.dll_exit
nop

Function at 0x140005249
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140030888]
test rcx, rcx
jne 0x140005239
mov rcx, qword [0x140030880]
call fcn.1400051b7
mov ecx, 1
call sub.ucrtbase.dll_exit
add rcx, 0x10
mov edx, 1
call qword [sym.imp.ucrtbase.dll_longjmp]
nop
push rbx
sub rsp, 0x20
lea rbx, str.SIGINT:_Interrupted_by_Ctrl_C._n
cmp ecx, 2
je 0x140005293
lea rbx, str.SIGSEGV:_Illegal_storage_access.__Attempt_to_read_from_nil___n
cmp ecx, 0xb
je 0x140005293
lea rbx, str.SIGABRT:_Abnormal_termination._n
cmp ecx, 0x16
je 0x140005293
lea rbx, str.SIGFPE:_Arithmetic_error._n
cmp ecx, 8
je 0x140005293
cmp ecx, 4
lea rbx, str.SIGILL:_Illegal_operation._n
lea rax, str.unknown_signal_n
cmovne rbx, rax
mov rcx, rbx
call sub.ucrtbase.dll_strlen
mov rcx, rbx
mov rdx, rax
call fcn.140004e33
mov ecx, 1
call sub.ucrtbase.dll_exit
nop
Function at 0x140008755
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r13, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
xor edi, edi
lea r14, [0x140017113]
mov rbp, rcx
mov r12, rdx
mov rbx, qword [rbp + rdi*8]
mov ecx, 1
call r13
mov rdx, r14
mov rcx, rbx
mov qword [rsp + 0x28], rax
call fcn.1400017d0
mov rcx, qword [rsp + 0x28]
mov r8, rax
call fcn.14000298c
movsxd rcx, eax
mov rsi, rcx
test rbx, rbx
jne 0x1400087fa
test rcx, rcx
jns 0x140008832
or rdx, 0xffffffffffffffff
jmp 0x140008807
test esi, esi
js 0x140008801
movsxd r15, esi
cmp byte [rbx + r15 + 0x10], 0
je 0x14000880c
mov rcx, qword [rsp + 0x28]
lea r8, [rbx + r15 + 0x10]
mov rdx, r14
call fcn.14000298c
test eax, eax
jle 0x140008832
movsxd rcx, eax
mov eax, 0x80000000
mov edx, 0xffffffff
add rcx, r15
add rax, rcx
cmp rdx, rax
jb 0x140008824
mov esi, ecx
cmp qword [rbx], rcx
jg 0x1400087bb
jmp 0x140008832
mov rdx, qword [rbx]
dec rdx
call fcn.1400041cf
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call sub.ucrtbase.dll_fputc
test eax, eax
jne 0x140008832
cmp esi, 0x7fffffff
jne 0x140008829
call fcn.14000394e
inc esi
mov eax, esi
cmp rax, qword [rbx]
jl 0x1400087bf
inc rdi
cmp rdi, r12
jne 0x14000877b
mov ecx, 1
call r13
mov r8d, 1
mov edx, 1
lea rcx, [0x1400170fe]
mov r9, rax
call sub.ucrtbase.dll_fwrite
mov ecx, 1
call r13
mov rcx, rax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x1400109a0

Function at 0x140009820
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 sub.ucrtbase.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, [0x140019d80]
mov rcx, rax
call sub.ucrtbase.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.ucrtbase.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.140010580
call sub.ucrtbase.dll_abort
nop

Function at 0x14000a4f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400336c8]
test eax, eax
je 0x14000a58a
lea rax, [0x1400336a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400336d0]
mov qword [rbp - 8], rax
jmp 0x14000a56e
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 0x14000a562
cmp qword [rbp - 0x10], 0
je 0x14000a562
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 0x14000a528
lea rax, [0x1400336a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000a58b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14000a690
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 0x14000a6b8
mov eax, 0
jmp 0x14000a706
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 0x14000a6e1
mov eax, 0
jmp 0x14000a706
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 0x14000a701
mov eax, 0
jmp 0x14000a706
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14000a70c
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 0x14000a78a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14000a781
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 0x14000a781
mov rax, qword [rbp - 8]
jmp 0x14000a79f
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 0x14000a754
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001aaa
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x88]
jmp 0x140004507
jmp 0x14000397b
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x24], eax
jge 0x140004d8b
jmp 0x140005520
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x24], 0
jmp 0x14000292b
Function at 0x140005019
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
jmp 0x140005d3e
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140005bb9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
jne 0x1400044e2
jmp 0x140007648
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x38], rax
jmp 0x140005d3e
mov rcx, qword [rsp + 0x70]
call fcn.140006afe
jmp 0x140006325
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400023ec
jmp 0x140002aec
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
sub rax, 0x10
jmp 0x140008020
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x14000378d
jmp 0x140007547
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x140007547
jmp 0x14000378d
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.140007b2f
jmp 0x140006691
test eax, eax
je 0x140007291
jmp 0x140002aec
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x140007648
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
je 0x140002f52
jmp 0x1400014a5
mov rax, qword [rsp + 0x48]
add rsp, 0x68
ret
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
jmp 0x1400044e2
Function at 0x14000544c
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [rsp + 0x28], 1
jmp 0x140007522
mov dword [rsp + 0x24], 0
jmp 0x140003568
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x20000000
test eax, eax
je 0x1400015c2
jmp 0x14000633f
mov dword [rsp + 0x2c], 0
jmp 0x14000272f
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x40]
cmp dword [rax + 0x38], ecx
je 0x140003647
mov eax, 1
jmp 0x140004fe7
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 8
mov dword [rsp + 0x58], 2
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0x10
jmp 0x140007696
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x40000000
test eax, eax
je 0x140003ef9
jmp 0x140001511
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x20]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x10]
mov dword [rsp + 0x30], eax
jmp 0x1400061f7
mov eax, dword [rsp + 0x20]
bts eax, 9
mov dword [rsp + 0x20], eax
cmp qword [rsp + 0x38], 0
jne 0x1400039c7
jmp 0x140004991
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x4000000
test eax, eax
je 0x140008251
jmp 0x140003cc5
mov dword [rsp + 0x28], 0
jmp 0x140007522
mov eax, 1
jmp 0x140004fe7
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x1c], 0
jne 0x140003647
jmp 0x140001b99
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x20]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call qword [0x140080b82]
mov dword [rsp + 0x30], eax
jmp 0x1400061f7
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x10], 0
jne 0x14000792b
jmp 0x140002658
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + 8]
cmp qword [rax], rcx
jne 0x14000783b
jmp 0x14000421b
cmp dword [rsp + 0x30], 0
jne 0x140003fd8
jmp 0x1400067e4
mov dword [rsp + 0x24], 1
jmp 0x140003568
lea rcx, [0x1400a8283]
call fcn.14000815e
jmp 0x1400082bf
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x80000000
test eax, eax
jne 0x1400080b0
jmp 0x1400017c9
mov dword [rsp + 0x64], 0x80
mov dword [rsp + 0x68], 0x20
mov dword [rsp + 0x6c], 0x40
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x10
lea rax, [rsp + rax + 0x50]
movsxd rcx, dword [rsp + 0x44]
lea rax, [rax + rcx*8]
movsxd rcx, dword [rsp + 0x48]
jmp 0x140003e86
mov eax, 1
jmp 0x140004fe7
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x2000000
test eax, eax
jne 0x140005d9a
jmp 0x14000165a
mov dword [rsp + 0x2c], 1
invalid
jb 0x140008061
invalid