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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
mov r14d, 1
cmp qword [0x1400b7778], r12
jne 0x1400597ad
xor ecx, ecx
call fcn.140060334
mov rcx, rax
mov rdi, rax
call fcn.14005a38c
test al, al
jne 0x14005969d
mov eax, r14d
jmp 0x140059816
mov eax, 0x5a4d
cmp word [rdi], ax
je 0x1400596b1
mov eax, 2
jmp 0x140059816
cmp dword [rdi + 0x3c], 0x400
jl 0x1400596c4
mov eax, 3
jmp 0x140059816
movsxd rbx, dword [rdi + 0x3c]
add rbx, rdi
cmp dword [rbx], 0x4550
je 0x1400596dd
mov eax, 4
jmp 0x140059816
mov qword [0x1400b7778], r12
movzx r15d, r12w
movzx esi, word [rbx + 0x14]
add rsi, rbx
cmp r12w, word [rbx + 6]
jae 0x1400597cb
movsx rax, r15w
lea rbp, [rax + rax*4]
mov eax, dword [rsi + rbp*8 + 0x3c]
test eax, 0x22000020
jne 0x140059735
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x140059735
cmp dword [rsi + rbp*8 + 0x20], 0x10
jb 0x140059735
mov eax, dword [rsi + rbp*8 + 0x24]
test eax, eax
je 0x140059735
lea rcx, [rdi + rax]
call fcn.14005a38c
test al, al
jne 0x140059764
movzx ecx, word [rbx + 6]
add r15w, r14w
movsx eax, r15w
cmp eax, ecx
jl 0x1400596fa
mov rcx, qword [0x1400b7778]
test rcx, rcx
je 0x1400597cb
call fcn.14005a38c
test al, al
jne 0x14005977f
mov eax, 6
jmp 0x140059816
mov eax, dword [rsi + rbp*8 + 0x24]
mov ecx, dword [rsi + rbp*8 + 0x20]
add rax, rdi
add rcx, 0xfffffffffffffff0
add rcx, rax
mov qword [0x1400b7778], rcx
jmp 0x14005974c
mov rdx, qword [0x1400b7778]
lea rcx, [0x1400b7768]
mov r8d, 0x10
call sub.ntdll.dll_memcpy
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [0x1400b7780], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x4000
call fcn.140059878
test eax, eax
jne 0x1400597d2
mov eax, 7
jmp 0x140059816
mov eax, 5
jmp 0x140059816
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, r14d
call fcn.1400598c8
test eax, eax
jne 0x1400597ee
mov eax, 8
jmp 0x140059816
mov rax, qword [0x1400b7778]
movabs rcx, 0xcc873400686c00bf
mov qword [rax], rcx
lea rcx, [0x1400b7700]
mov rax, qword [0x1400b7778]
mov qword [rax + 8], rcx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14005c1a4
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
lea rdx, [rsp + 0x40]
mov rbx, rcx
call fcn.14000c9f0
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call fcn.140046320
mov rdx, rax
lea rdi, [rsp + 0x40]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
cmp rdx, 0xffffffffffffffff
jne 0x14005c226
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14005c222
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x14005c222
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
jne 0x14005c241
xor al, al
jmp 0x14005c230
mov rcx, rdx
call fcn.140009f90
mov al, 1
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, [0x1400a01f8]
mov r8d, eax
call fcn.14005df60
call fcn.140061410
int3

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbx, rdx
mov rdi, rcx
mov edx, dword [rax + rcx + 0x88]
test edx, edx
je 0x140060630
cmp dword [rax + rcx + 0x8c], 0
je 0x140060630
call fcn.140061c1c
mov esi, eax
mov rcx, rdi
add rsi, rdi
mov edx, dword [rsi + 0x20]
call fcn.140061c1c
mov edx, dword [rsi + 0x24]
mov rcx, rdi
mov r13d, eax
add r13, rdi
call fcn.140061c1c
mov edx, dword [rsi + 0x1c]
mov rcx, rdi
mov r12d, eax
add r12, rdi
call fcn.140061c1c
mov r14d, eax
add r14, rdi
cmp rbx, 0x10000
jae 0x1400605ef
mov edx, dword [rsi + 0x10]
cmp rbx, rdx
jb 0x140060642
mov ecx, dword [rsi + 0x14]
add ecx, edx
cmp rbx, rcx
jae 0x140060642
sub rbx, rdx
mov eax, dword [r14 + rbx*4]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor ebp, ebp
cmp dword [rsi + 0x18], ebp
jbe 0x140060642
mov edx, dword [r13 + rbp*4]
mov rcx, rdi
call fcn.140061c1c
mov edx, eax
mov rcx, rbx
add rdx, rdi
call fcn.140046a4c
test al, al
jne 0x14006061d
inc ebp
cmp ebp, dword [rsi + 0x18]
jae 0x140060642
jmp 0x1400605f6
movzx edx, word [r12 + rbp*2]
mov rcx, rdi
mov edx, dword [r14 + rdx*4]
call fcn.140061c1c
jmp 0x1400605d2
lea rcx, [0x1400a0426]
call fcn.14005df60
call fcn.140061410
int3
mov rdx, rbx
lea rcx, [0x1400a049c]
call fcn.14005df60
call fcn.140061410
int3
Function at 0x140060658
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rdi, rdx
lea rdx, [rsp + 0x20]
call fcn.14000ca18
lea rcx, [rsp + 0x20]
call fcn.1400603c4
mov rsi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x14006073c
cmp dword [rax + rsi + 0x8c], 0
je 0x14006073c
lea rbx, [rsi + rcx]
mov r15d, dword [rbx + 0x24]
mov r14d, dword [rbx + 0x1c]
add r15, rsi
add r14, rsi
cmp rdi, 0x10000
jae 0x140060707
mov edx, dword [rbx + 0x10]
cmp rdi, rdx
jb 0x14006074e
mov ecx, dword [rbx + 0x14]
add ecx, edx
cmp rdi, rcx
jae 0x14006074e
sub rdi, rdx
mov eax, dword [r14 + rdi*4]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12d, dword [rbx + 0x20]
xor ebp, ebp
add r12, rsi
cmp dword [rbx + 0x18], ebp
jbe 0x14006074e
mov edx, dword [r12 + rbp*4]
mov rcx, rdi
add rdx, rsi
call sub.ntdll.dll_strcmp
test eax, eax
je 0x140060731
inc ebp
cmp ebp, dword [rbx + 0x18]
jae 0x14006074e
jmp 0x140060715
movzx eax, word [r15 + rbp*2]
mov eax, dword [r14 + rax*4]
jmp 0x1400606e6
lea rcx, [0x1400a0502]
call fcn.14005df60
call fcn.140061410
int3
lea rcx, [0x1400a057e]
call fcn.14005df60
call fcn.140061410
int3

Function at 0x140060874
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x150
and dword [rcx], 0
xor edx, edx
mov r15, rcx
mov dword [rsp + 0x20], 0x130
xor r14d, r14d
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006096e
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140060988
lea rdx, [rsp + 0x20]
mov rcx, rbx
inc r14d
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400608d1
mov eax, r14d
imul rcx, rax, 0x130
call fcn.14005d874
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r12, rax
xor ebp, ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400609a2
mov eax, ebp
lea rsi, [rsp + 0x20]
imul rdi, rax, 0x130
inc ebp
mov ecx, 0x130
add rdi, r12
rep movsb byte [rdi], byte [rsi]
cmp ebp, r14d
jae 0x14006093e
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14006090e
mov rcx, rbx
call fcn.140009f90
lea r11, [rsp + 0x150]
mov dword [r15], ebp
mov rbx, qword [r11 + 0x20]
mov rax, r12
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400a0326]
call fcn.14005df60
call fcn.140061410
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400a0368]
call fcn.14005df60
call fcn.140061410
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400a03aa]
call fcn.14005df60
call fcn.140061410
int3
Function at 0x14075e320
Capabilities:
Terminate process

Disassembly:
sbb esi, dword [rdx - 0x38]
invalid
cld
pop r11
jmp 0x14075e32d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14075e33d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14075e325
lea eax, [rcx + 1]
jmp 0x14075e34b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14075e35e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14075e344
sub eax, 3
jb 0x14075e37e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14075e3cd
sar eax, 1
movsxd rbp, eax
jb 0x14075e3b4
jmp 0x14075e38c
add ebx, ebx
jne 0x14075e38a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14075e3b4
inc ecx
add ebx, ebx
jne 0x14075e39a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14075e3b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14075e3ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14075e39c
add ecx, 2
jmp 0x14075e3b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14075e2e2
jmp 0x14075e32d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x75b000]
mov eax, dword [rdi]
or eax, eax
je 0x14075e439
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x75e1e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14075e3dd
jns 0x14075e412
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14075e41c
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14075e433
mov qword [rbx], rax
add rbx, 8
jmp 0x14075e3fd
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14075e47d
cmp al, 0xef
ja 0x14075e465
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14075e445
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14075e454
mov eax, dword [rdi]
add rdi, 4
jmp 0x14075e454
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x247]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14075e4d1
sub rsp, 0xffffffffffffff80
jmp 0x1406f1480
Function at 0x18000e3ec
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000e41c
xor eax, eax
jmp 0x18000e4df
mov rbp, rbx
cmp word [rax], si
je 0x18000e441
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000e428
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000e424
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000e33c
movsxd r14, eax
test eax, eax
jne 0x18000e47f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000e415
mov rcx, r14
call fcn.18000a8fc
mov rdi, rax
test rax, rax
jne 0x18000e498
xor ecx, ecx
call fcn.18000a8c0
jmp 0x18000e474
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000e33c
test eax, eax
jne 0x18000e4c9
mov rcx, rdi
call fcn.18000a8c0
jmp 0x18000e4d3
xor ecx, ecx
call fcn.18000a8c0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800156e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180015708
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180015708
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x6d9bae00
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d9dc5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d9baf88
mov rax, qword [0x6d9dc5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d9bae4c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d9baed5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d9bae30
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d9bafbd
mov rax, qword [0x6d9dc5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d9dc5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d9bafa0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d9baece
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d9baf30
add dword [0x6d9dc5e4], 1
cmp edi, 8
jae 0x6d9baf03
test dil, 4
jne 0x6d9baf74
test edi, edi
je 0x6d9baef8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d9baf8f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d9baef8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d9baf1c
jmp 0x6d9baef8
add rsi, qword [0x6d9dc5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d9baece
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d9baef8
xor esi, esi
jmp 0x6d9bae57
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d9baef8
mov rax, qword [0x6d9dc5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d9bb710
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d9dc8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d9dc8a0]
test rbx, rbx
je 0x6d9bb764
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d9bb75b
test rsi, rsi
je 0x6d9bb75b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d9bb740
lea rcx, [0x6d9dc8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d9bb9a0
Capabilities:
Parse pe header

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

Function at 0x6d9bb9c0
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 0x6d9bba01
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d9bb9f8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d9bba03
add rax, 0x28
cmp rax, r9
jne 0x6d9bb9e4
xor eax, eax
ret

Function at 0x6d9bbaa0
Capabilities:
Enumerate pe sections

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

Function at 0x6d9bbc10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d9d91f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d9bbc30
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d9bbc28
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d9bbc8d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d9bbc84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d9bbc94
add rax, 0x28
cmp rax, r9
jne 0x6d9bbc70
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d9bbcb0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d9d91f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d9bbd1e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d9bbd1e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d9bbd1e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d9bbd1e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d9bbd15
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d9bbd25
add rcx, 0x28
cmp rcx, rax
jne 0x6d9bbd00
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d9bbd38
jmp 0x6d9bbd1e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d9bbd46
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d9bbd1e
test r9d, r9d
jg 0x6d9bbd30
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d9bc080
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__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 sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
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.1400042e6
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 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 [0x140532170]
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 0x140637054
Capabilities:
Execute syscall

Disassembly:
mov r12, qword [rsp + rdx*4 + 0x123fdb4]
sub dx, r8w
add r8w, r12w
and r8, 0xfffffffffaacfd06
not r12
shr r12b, 0xa6
xchg qword [rsp + 0x30], rbx
mov r12, qword [rsp]
or rdx, r8
not edx
test r8d, 0x40962218
not r8w
lea r8, [r8 + riz + 0x6c95d83a]
mov r8, qword [rsp + rdx - 0x404bcc]
movzx rdx, byte [rsp + rdx - 0x404be4]
mov rdx, qword [rsp + rdx*8 - 0x3c0]
mov dword [rsp + 0x10], 0xce8da9bd
not dword [rsp + 0x10]
call fcn.14053ca24
sub rbx, rbx
js 0x14066949a
or bx, bx
call fcn.1406bad6d
call fcn.140662c4d
push rbx
jl 0x140556231
mov ebx, dword [rsp + r10 - 0x58000764]
xor r10w, r10w
sub qword [rsp + rbx - 0x580050], 0xffffffff8a0bce24
mov rbx, r10
push r14
mov r14, qword [rsp + r10 - 0x57fffff8]
xchg qword [rsp + r10 - 0x57ffffb0], rdi
mov r10, qword [rsp + r10 - 0x57ffffb8]
and bl, byte [rsp + rbx - 0x57fffff6]
jl 0x1405d2276
add qword [rsp + rbx - 0x57ffffe8], 0x27a99
neg r14w
lea r14, [r14*4 - 0x33eb97c9]
mov rbx, qword [rsp + 0x20]
js 0x14054065f
call fcn.14054444c
pushfq
add qword [rsp + 8], 0xffffffffbf8d37fe
call fcn.14064db9b
invalid
movabs r9, 0x8912fea3e0865619
movabs rax, 0x2f0de018c329c197
shl ax, 0xd7
neg rax
call fcn.140563220

Function at 0x140682ad4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbp
push rcx
mov rcx, r10
call fcn.1406c6d7a
ror ebx, 1
invalid
pop rbp
push 0x4fb43291
pushfq
neg word [rsp + 8]
test dword [rsp + 8], 0x92a3eab9
mov word [rsp + 8], 0x60a9
setbe byte [rsp + 8]
xchg qword [rsp + 0x10], rbp
cmp qword [rsp + 8], 0x353a3fae
push r10
jb 0x140544262
mov r10, qword [rsp + 0x10]
js 0x1406b5c01
test qword [rsp + r10 - 0x4fb45ff0], r10
jne 0x14055541a

Function at 0x1406b43f0
Capabilities:
Encode data using xor

Disassembly:
cmp qword [rsp + 0x40], 0xffffffffa707a816
call fcn.1406845ec
setb byte [rsp + 0x40]
mov r14, qword [rsp + 0x28]
jno 0x140614059

Function at 0x1406c0a58
Capabilities:
Encode data using xor

Disassembly:
call fcn.1406ddc48
cmpsb byte [rsi], byte [rdi]
rcr dword [rsi + 0x7a29d60d], 0xbd
fidiv dword [rdx]
or byte [rcx - 0xe59e6fe], bl
cmp ch, byte [rbp + 0x33]
movabs eax, dword [0xf55ec9cc320b5cab]
sbb bh, byte [rbp - 0x328570ce]
ret 0x3661
neg dword [rsp + 0x60]
jae 0x1405db2f6
mov rdx, qword [rsp + 0x30]
jl 0x1405466de