joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x130
mov rax, qword gs:[0x60]
mov esi, ecx
mov rbx, qword [rax + 0x18]
mov rbx, qword [rbx + 0x20]
test ecx, ecx
jne 0x140001039
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x150]
add rsp, 0x130
pop rsi
ret
mov qword [rsp + 0x140], rbp
mov qword [rsp + 0x148], rdi
test rbx, rbx
je 0x1400010fd
mov ebp, 0x104
nop word [rax + rax]
mov rdi, qword [rbx + 0x50]
test rdi, rdi
je 0x1400010f1
cmp word [rbx + 0x48], bp
jae 0x1400010f1
mov r8, rbp
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.1400016b0
xor r9d, r9d
cmp word [rdi], r9w
je 0x1400010d1
xor r10d, r10d
mov r11, rdi
xor eax, eax
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rax + r11]
lea eax, [r8 + 0x20]
movzx ecx, al
lea edx, [r8 - 0x41]
cmp dl, 0x19
cmova ecx, r8d
inc r9d
mov byte [rsp + r10 + 0x20], cl
mov rdi, qword [rbx + 0x50]
mov r10d, r9d
lea rax, [r9 + r9]
cmp word [rax + rdi], 0
jne 0x1400010a0
mov rcx, rdi
mov byte [rsp + r9 + 0x20], 0
call fcn.1400012b0
cmp eax, esi
je 0x140001120
lea rcx, [rsp + 0x20]
call fcn.1400012b0
cmp eax, esi
je 0x140001120
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140001060
xor eax, eax
mov rbp, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x150]
add rsp, 0x130
pop rsi
ret
mov rax, qword [rbx + 0x20]
jmp 0x1400010ff

Function at 0x1400012b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rcx
mov eax, 0xffffefff
movzx ecx, byte [rcx]
test cl, cl
je 0x14000135c
movsx edx, cl
lea r8, [r8 + 1]
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
movzx ecx, byte [r8]
test cl, cl
jne 0x1400012c3
not eax
ret

Function at 0x140001430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r9, rcx
test rcx, rcx
je 0x1400014b5
test rdx, rdx
je 0x1400014b5
test r8d, r8d
je 0x1400014b5
mov qword [rcx], rdx
mov dword [rcx + 8], r8d
movsxd rax, dword [rdx + 0x3c]
add rdx, rax
mov qword [rcx + 0x10], rdx
cmp dword [rdx], 0x4550
jne 0x1400014b5
movzx eax, word [rdx + 0x16]
shr eax, 0xd
and eax, 1
mov dword [rcx + 0x48], eax
lea rax, [rdx + 0x90]
movzx ecx, word [rdx + 0x14]
mov qword [r9 + 0x20], rax
add rcx, 0x18
lea rax, [rdx + 0xb0]
add rcx, rdx
mov qword [r9 + 0x28], rax
lea rax, [rdx + 0xd0]
mov qword [r9 + 0x30], rax
lea rax, [rdx + 0xa0]
mov qword [r9 + 0x38], rax
lea rax, [rdx + 0x88]
mov qword [r9 + 0x40], rax
mov eax, 1
mov qword [r9 + 0x18], rcx
ret
xor eax, eax
ret
Function at 0x1400039e4
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003b24
cmp word [rcx], 0x5a4d
jne 0x140003b24
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003b24
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003b24
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003a30
test eax, eax
jne 0x140003b40
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003aa0
test rax, rax
je 0x140003b35
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.1400042e3
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x1400041f0
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.140004190
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 0x140004644
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x140552e58]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x140552e54]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004692
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000468a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140004779
inc ebx
add rax, 0x28
jmp 0x14000466a
mov rcx, r12
call fcn.140004e71
mov rbp, rax
test rax, rax
jne 0x1400046b1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400045e0
movsxd rbx, ebx
mov rax, qword [0x140552e58]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140004f1f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140552e58]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004713
mov rax, qword [0x140552e58]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400045e0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140004773
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140004773
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 [0x140552e58]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140004773
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400045e0
inc dword [0x140552e54]
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 0x140004ba0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140552ec0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140552ea0]
test rbx, rbx
je 0x140004bec
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 0x140004be6
test eax, eax
jne 0x140004be6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004bbe
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004da0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004dc3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004dc3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004dc4
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 0x140004dfe
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004df5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004e00
inc r8d
add rax, 0x28
jmp 0x140004ddc
xor eax, eax
ret

Function at 0x140004e71
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14054efb0]
mov r8, rcx
mov rcx, r9
call fcn.140004da0
test eax, eax
je 0x140004e9d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004dc4
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000c870]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000c880]
mov dword [rax], 1
mov rax, qword [0x14000c890]
mov dword [rax], 1
mov rax, qword [0x14000c810]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14000c860]
mov dword [0x14000f020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14000c930]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14000c910]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14000c7c0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x1400082e0
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140008350
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000f0b4]
mov rbx, rcx
test esi, esi
jle 0x140008480
mov rax, qword [0x14000f0b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000839b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140008425
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140008380
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400084a2
mov rax, qword [0x14000f0b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000f0b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140008487
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000841e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140008430
add dword [0x14000f0b4], 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 [0x14000f0b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000841e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400083a8
mov rax, qword [0x14000f0b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140008a10
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000f120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000f100]
test rbx, rbx
je 0x140008a6c
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 eax, eax
jne 0x140008a63
test rsi, rsi
je 0x140008a63
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140008a48
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 0x140008c80
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140008c98
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140008ca0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140008cb0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x140008cfd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140008cf4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140008cff
add rax, 0x28
cmp rax, r9
jne 0x140008ce0
xor eax, eax
ret

Function at 0x140008d00
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140008d90
mov rdx, qword [0x14000c810]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140008d7e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140008d7e
cmp word [rax + 0x18], 0x20b
jne 0x140008d7e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140008d90
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140008d69
add rbx, 0x28
cmp rbx, rdi
je 0x140008d90
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140008d60
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140008da0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140008e20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c810]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140008e3f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140008e48
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140008e3f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140008e60
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000c810]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140008e80
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140008e88
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140008e80
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140008ed0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140008ec7
test rcx, rcx
je 0x140008e80
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140008eb8
xor eax, eax
ret

Function at 0x140008ee0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c810]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140008eff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140008f08
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140008f20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000c810]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140008f40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140008f48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140008f40
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140008f40
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140008f94
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140008fa0
add rdx, 0x28
cmp r9, rdx
jne 0x140008f80
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140008fb0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000c810]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140008fd2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140008fe0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140008fd2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140008fd2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140008fd2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140009035
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140009048
add rdx, 0x28
cmp rdx, r10
jne 0x140009020
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140009057
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140009067
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000903e
test ecx, ecx
jg 0x140009050
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push rdi
cmp ebp, dword [rdi + rdi*8]
push rsi
cmp ebp, dword [rbx]
call qword [rbp + 0x3a]
sub bh, bh
push rbp
cmp dword [rdx], ebp
call qword [rsi + 0x39]
sub bh, bh
push rdi
cmp ch, byte [rbx]
call qword [rbp + 0x38]
push rbp
cmp byte [rcx], ch
call qword [rsi + 0x39]
sub bh, bh
push rsp
invalid
sub bh, bh
pop rdi
xor r15b, dil
push rdi
cmp ch, byte [rdx]
call qword [rbp + 0x38]
sub bh, bh
push rbx
invalid
push rbp
cmp byte [rcx], ch
call qword [rsi + 0x39]
sub bh, bh
push rsp
invalid
push rbx
cmp dword [rcx], ebp
call qword [rdx + rdi + 0x2a]
call qword [rcx + 0x37]
invalid
invalid
push rcx
invalid
xor r12, qword [rdi + r15*8]
xor r12, qword [rdi + r15*8]
xor r12, qword [rdi + r15*8]
xor r12, qword [0x16537459a]
dec dword [rbp + 0x32]
and al, 0xff
xor r12, qword [0x1633543a6]
and edi, edi
xor r12b, byte [r15 + rdi*8]
and edi, edi
xor r12b, byte [r15 + rdi*8]
xor r12, qword [r14]
dec dword [rcx + rsi + 0x23]
xor qword [rbx], r12
and edi, edi
xor byte [r10], spl
dec dword [rbx + 0x30]
and bh, bh
xor byte [rdx], spl
dec dword [rdx + 0x2f]
and edi, edi
xor byte [rdx], spl
dec dword [rcx + 0x2f]
and edi, edi
and bh, bh
sub eax, 0x2336ff1f
invalid
dec dword [rbx + 0x30]
and bh, bh
xor byte [r10], spl
dec dword [rdx + 0x30]
and bh, bh
invalid
Function at 0x416c00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416dab
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004315c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x416c6e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416c81
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416ca5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416cb9
cmp rbx, 0x1000
jae 0x416c78
nop
jmp 0x416d29
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x416ccd
xor edx, edx
jmp 0x416d20
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004315c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x416caf
jmp 0x416c95
call fcn.00462e80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436720
lea rax, [0x004f0d94]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00437020
mov rax, qword [rsp + 0x38]
call fcn.00436d20
lea rax, [0x004f0e24]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00437020
mov rax, qword [rsp + 0x30]
call fcn.00436d20
call fcn.00436980
call fcn.004367a0
lea rax, [0x004f3178]
mov ebx, 0x21
call fcn.00434fa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f2e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416c00
Function at 0x416de0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41700a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00431640
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416e5b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416e6e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416e90
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416ea4
cmp rbx, 0x1000
jae 0x416e65
jmp 0x416f2e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416eb6
xor esi, esi
jmp 0x416f20
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00431640
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x416e9a
jmp 0x416e82
call fcn.00462e80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416fa9
call fcn.00436720
lea rax, [0x004f1225]
mov ebx, 0x19
call fcn.00437020
mov rax, qword [rsp + 0x68]
call fcn.00436d20
lea rax, [0x004f0e24]
mov ebx, 0x19
nop
call fcn.00437020
mov eax, dword [rsp + 0x34]
call fcn.00436d20
call fcn.00436980
call fcn.004367a0
lea rax, [0x004eda85]
mov ebx, 0xd
call fcn.00434fa0
cmp eax, 0x5af
je 0x416f53
call fcn.00436720
lea rax, [0x004f1225]
mov ebx, 0x19
call fcn.00437020
mov rax, qword [rsp + 0x38]
call fcn.00436d20
lea rax, [0x004f0e24]
mov ebx, 0x19
nop dword [rax]
call fcn.00437020
mov eax, dword [rsp + 0x34]
call fcn.00436d20
call fcn.00436980
call fcn.004367a0
lea rax, [0x004f2a69]
mov ebx, 0x1f
call fcn.00434fa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f2e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416de0