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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rsi, rdx
test rcx, rcx
je 0x140005745
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x14000566b
mov edi, 0
mov ebp, 0
test rsi, rsi
je 0x14000562f
mov dword [rsi], edi
test ebp, ebp
je 0x1400057a6
mov r9d, ebp
and r9d, 0x3fffffff
test rbx, rbx
je 0x14000579a
mov r8, rbx
lea rdx, str.fs_file_delete
lea rcx, str._E____s_____Failed_path_s_err_08x__n
call fcn.140002ef2
mov eax, ebp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov r9d, eax
mov r8, rbx
lea rdx, str.fs_file_delete
lea rcx, str._E____s_____DeleteFileA_failed_path_s_gle_lu__n
call fcn.140002ef2
cmp edi, 0x20
ja 0x1400056b0
ja case.0x1400056a7.1
mov eax, edi
lea rdx, [0x1400120b4]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov ebp, edi
jmp 0x140005628
cmp edi, 0x94
je 0x14000575e
jbe 0x1400056e8
cmp edi, 0xb7
je 0x140005786
cmp edi, 0x80070005
je 0x140005790
cmp edi, 0xaa
je 0x140005713
mov ebp, 0x40000001
jmp 0x140005628
cmp edi, 0x7f
ja 0x140005701
cmp edi, 0x7e
jae 0x140005768
cmp edi, 0x50
jne 0x140005772
mov ebp, 0x40000007
jmp 0x140005628
cmp edi, 0x91
jne 0x14000577c
mov ebp, 0x4000000d
jmp 0x140005628
mov ebp, 0x4000000d
jmp 0x140005628
mov ebp, 0x40000003
jmp 0x140005628
mov ebp, 0x40000009
jmp 0x140005628
mov ebp, 0x4000000d
jmp 0x140005628
mov ebp, 0x40000001
jmp 0x140005628
mov edi, 0xa0
mov ebp, 0x40000001
jmp 0x140005628
mov ebp, 0x40000008
jmp 0x140005628
mov ebp, 0x4000000d
jmp 0x140005628
mov ebp, 0x40000003
jmp 0x140005628
mov ebp, 0x40000001
jmp 0x140005628
mov ebp, 0x40000001
jmp 0x140005628
mov ebp, 0x40000007
jmp 0x140005628
mov ebp, 0x40000009
jmp 0x140005628
lea rbx, [0x14001139b]
jmp 0x14000564a
mov r8, rbx
lea rdx, str.fs_file_delete
lea rcx, str._I____s_____Done_path_s__n
call fcn.140002ef2
jmp 0x140005660
Function at 0x140005bc9
Capabilities:
Copy file

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov rsi, rdx
mov ebp, r8d
mov rdi, r9
test rcx, rcx
sete al
test rdx, rdx
sete dl
or al, dl
je 0x140005c59
mov r13d, 0xa0
mov r12d, 0x40000001
test rdi, rdi
je 0x140005c05
mov dword [rdi], r13d
test r12d, r12d
je 0x140005ddd
mov eax, r12d
and eax, 0x3fffffff
test rsi, rsi
je 0x140005dc5
test rbx, rbx
je 0x140005dd1
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
mov r9, rsi
mov r8, rbx
lea rdx, str.fs_file_copy
lea rcx, str._E____s_____Failed_src_s_dst_s_overwrite_d_err_08x__n
call fcn.140002ef2
mov eax, r12d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test r8d, r8d
sete r8b
movzx r8d, r8b
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140005c82
mov r13d, 0
mov r12d, 0
jmp 0x140005bfd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
mov r9, rsi
mov r8, rbx
lea rdx, str.fs_file_copy
lea rcx, str._E____s_____CopyFileA_failed_src_s_dst_s_overwrite_d_gle_lu__n
call fcn.140002ef2
cmp r13d, 0x20
ja 0x140005cd3
ja case.0x140005cc9.1
mov eax, r13d
lea rdx, [0x140012308]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov r12d, r13d
jmp 0x140005bfd
cmp r13d, 0x94
je 0x140005d83
jbe 0x140005d10
cmp r13d, 0xb7
je 0x140005daf
cmp r13d, 0x80070005
je 0x140005dba
cmp r13d, 0xaa
je 0x140005d41
mov r12d, 0x40000001
jmp 0x140005bfd
cmp r13d, 0x7f
ja 0x140005d2d
cmp r13d, 0x7e
jae 0x140005d8e
cmp r13d, 0x50
jne 0x140005d99
mov r12d, 0x40000007
jmp 0x140005bfd
cmp r13d, 0x91
jne 0x140005da4
mov r12d, 0x4000000d
jmp 0x140005bfd
mov r12d, 0x4000000d
jmp 0x140005bfd
mov r12d, 0x40000003
jmp 0x140005bfd
mov r12d, 0x40000009
jmp 0x140005bfd
mov r12d, 0x4000000d
jmp 0x140005bfd
mov r12d, 0x40000001
jmp 0x140005bfd
mov r12d, 0x40000008
jmp 0x140005bfd
mov r12d, 0x4000000d
jmp 0x140005bfd
mov r12d, 0x40000003
jmp 0x140005bfd
mov r12d, 0x40000001
jmp 0x140005bfd
mov r12d, 0x40000001
jmp 0x140005bfd
mov r12d, 0x40000007
jmp 0x140005bfd
mov r12d, 0x40000009
jmp 0x140005bfd
lea rsi, [0x14001139b]
jmp 0x140005c1f
lea rbx, [0x14001139b]
jmp 0x140005c28
mov dword [rsp + 0x20], ebp
mov r9, rsi
mov r8, rbx
lea rdx, str.fs_file_copy
lea rcx, str._I____s_____Done_src_s_dst_s_overwrite_d__n
call fcn.140002ef2
jmp 0x140005c49
Function at 0x140006ed7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x140006ef5
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140006f25
mov eax, 0
add rsp, 0x38
ret
mov dword [rsp + 0x20], 0x4d0
lea r9, str.C:_Projects_rdp_bot_codebase_fs.c
lea r8, str._path___NULL_
lea rdx, str.fs_path_exists
lea rcx, [0x1400113e0]
call fcn.140002ef2
mov eax, 0x40000004
jmp case.0x140006f46.0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
ja 0x140006f48
ja case.0x140006f46.1
mov edx, eax
lea rcx, [0x1400129cc]
movsxd rdx, dword [rcx + rdx*4]
add rdx, rcx
jmp rdx
cmp eax, 0x94
je 0x140006fe7
cmp eax, 0x94
jbe 0x140006f81
cmp eax, 0xb7
je 0x14000700f
cmp eax, 0x80070005
je 0x140007019
cmp eax, 0xaa
je 0x140006fab
mov eax, 0x40000001
jmp case.0x140006f46.0
cmp eax, 0x7f
ja 0x140006f9a
cmp eax, 0x7e
jae 0x140006ff1
cmp eax, 0x50
jne 0x140006ffb
mov eax, 0x40000007
jmp case.0x140006f46.0
cmp eax, 0x91
jne 0x140007005
mov eax, 0x4000000d
jmp case.0x140006f46.0
mov eax, 0x4000000d
jmp case.0x140006f46.0
mov eax, 0x40000003
jmp case.0x140006f46.0
mov eax, 0x40000009
jmp case.0x140006f46.0
mov eax, 0x4000000d
jmp case.0x140006f46.0
mov eax, 0x40000001
jmp case.0x140006f46.0
mov eax, 0x40000008
jmp case.0x140006f46.0
mov eax, 0x4000000d
jmp case.0x140006f46.0
mov eax, 0x40000003
jmp case.0x140006f46.0
mov eax, 0x40000001
jmp case.0x140006f46.0
mov eax, 0x40000001
jmp case.0x140006f46.0
mov eax, 0x40000007
jmp case.0x140006f46.0
mov eax, 0x40000009
jmp case.0x140006f46.0
Function at 0x140008362
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x14000837d
test r8, r8
je 0x1400083ad
movsxd rdx, edx
add rcx, rdx
mov eax, 0xffffffff
jmp 0x1400083fa
mov dword [rsp + 0x20], 0xfb
lea r9, str.C:_Projects_rdp_bot_codebase_utils.c
lea r8, str._data___NULL_
lea rdx, str.crc32
lea rcx, [0x1400130e0]
call fcn.140002ef2
mov eax, 0
jmp 0x140008405
mov dword [rsp + 0x20], 0xfc
lea r9, str.C:_Projects_rdp_bot_codebase_utils.c
lea r8, str._len___0_
lea rdx, str.crc32
lea rcx, [0x1400130e0]
call fcn.140002ef2
mov eax, 0
jmp 0x140008405
movzx edx, byte [rcx]
xor edx, eax
movzx edx, dl
shr eax, 8
lea r8, [0x140013440]
xor eax, dword [r8 + rdx*4]
add rcx, 1
mov r8, r9
lea r9, [r8 - 1]
test r8, r8
jne 0x1400083dd
not eax
add rsp, 0x38
ret
Function at 0x14000a0c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x140018568]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x140018564]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x14000a112
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000a10a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14000a1f9
inc ebx
add rax, 0x28
jmp 0x14000a0ea
mov rcx, r12
call fcn.14000a8f1
mov rbp, rax
test rax, rax
jne 0x14000a131
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.14000a060
movsxd rbx, ebx
mov rax, qword [0x140018568]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.14000a99f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140018568]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x14000a193
mov rax, qword [0x140018568]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000a060
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000a1f3
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000a1f3
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 [0x140018568]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000a1f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000a060
inc dword [0x140018564]
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 0x14000a620
Capabilities:
Get thread local storage value

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

Function at 0x14000a820
Capabilities:
Parse pe header

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

Function at 0x14000a844
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 0x14000a87e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x14000a875
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000a880
inc r8d
add rax, 0x28
jmp 0x14000a85c
xor eax, eax
ret
Function at 0x14000a8f1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140014970]
mov r8, rcx
mov rcx, r9
call fcn.14000a820
test eax, eax
je 0x14000a91d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.14000a844
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004520]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004530]
mov dword [rax], 1
mov rax, qword [0x140004540]
mov dword [rax], 1
mov rax, qword [0x140004510]
mov dword [rax], 1
mov rax, qword [0x1400043e0]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x140004500]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010c0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400044c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400044a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004390]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x140001820
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x140001890
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1400070a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140001a40
mov rax, qword [0x1400070a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400018dc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001967
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x1400018c0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x140001a9d
mov rax, qword [0x1400070a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400070a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001a82
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001960
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400019f0
add dword [0x1400070a4], 1
cmp ebx, 8
jae 0x140001998
test bl, 4
jne 0x140001a50
test ebx, ebx
je 0x140001989
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140001a70
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140001989
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x1400019ca
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1400070a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001960
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x1400018e7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140001989
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140001989
mov rax, qword [0x1400070a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x140001fb0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140007100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140002004
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140001ffb
test r12, r12
je 0x140001ffb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001fe0
lea rcx, [0x140007100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002230
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x140002240
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x140002250
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002295
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x14000228c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140002297
add rax, 0x28
cmp rax, r9
jne 0x140002278
xor eax, eax
ret

Function at 0x140002340
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1400043e0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x1400023b9
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400023b9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x1400023b6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1400023ad
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x1400023b9
add r8, 0x28
cmp r8, r9
jne 0x140002398
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x1400024a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1400043e0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000250f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x14000250f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x14000250d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002504
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002518
add rax, 0x28
cmp rax, r9
jne 0x1400024f0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x140002530
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x1400043e0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x1400025a8
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400025a8
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x1400025a8
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400025a8
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x14000259c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x1400025b0
add rdx, 0x28
cmp rdx, r10
jne 0x140002588
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x1400025c0
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x1400025ce
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400025a5
test r8d, r8d
jg 0x1400025b8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x1400034b8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14001b010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000787c
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000787c
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
xor edx, edx
mov qword [rsp + 0x50], rdx
mov ecx, dword [rax + rsi + 0xb0]
test ecx, ecx
jne 0x1400077d8
mov qword [rdi], rdx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rdx
jmp 0x140007889
lea rbx, [rsi + rcx]
mov ebp, dword [rax + rsi + 0xb4]
add rbp, rbx
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14000786a
mov r8d, eax
cmp r8, rbp
jae 0x14000786a
mov r9d, dword [rbx + 4]
test r9d, r9d
je 0x14000786a
lea rax, [r8 + rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r9 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, rdx
je 0x140007842
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x48], rcx
jmp 0x14000785e
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140007db0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x1400077f1
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
jmp 0x140007889
xor edx, edx
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000af90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400091f0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x14001b010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140009279
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140009230
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
test eax, eax
js 0x140009354
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x140009354
nop word [rax + rax]
mov ebp, edi
lea rdx, [rbx + 0x30]
imul rax, rbp, 0x128
mov qword [rsp + 0x28], r14
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
add rdx, rcx
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400092d2
lea rcx, [rsp + 0x28]
call fcn.140002930
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x1400092f2
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000938a
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000934a
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009345
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400093db
call fcn.14000b334
inc edi
cmp edi, dword [rbx]
jb 0x1400092a0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000af90
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
imul rax, rbp, 0x128
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
mov rdi, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400093e7
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400093e2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400093e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b334
mov rax, rdi
jmp 0x140009367