joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d820
Capabilities:
Enumerate process modules

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rsp + 0x70], rax
test rcx, rcx
jne 0x14004d852
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14009c8a0
add rsp, 0x88
ret
mov eax, dword [0x1400d72f0]
movups xmm0, xmmword [str.Could_not_enumerate_modules.]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1400d72f4]
movsd xmm1, qword [0x1400d72e8]
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x6c], ax
movsd qword [rsp + 0x60], xmm1
call sub.KERNEL32.dll_K32EnumProcessModulesEx
test eax, eax
je 0x14004d8b2
mov eax, dword [rsp + 0x30]
shr rax, 3
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14009c8a0
add rsp, 0x88
ret
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14002cca0
lea rdx, [0x1400fc268]
lea rcx, [rsp + 0x38]
call fcn.14009d9c0
int3

Function at 0x1400518f0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0x258
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [r11 + 0x10], rbp
xor edx, edx
mov qword [r11 - 0x18], r14
mov r8d, 0x104
mov r14, rcx
lea rcx, [rsp + 0x20]
call fcn.14009f630
mov r8d, 0x104
lea rdx, [rsp + 0x20]
lea rcx, str._SystemRoot_SysWoW64
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov rdi, 0xffffffffffffffff
lea rbx, [r14 + 0x38]
mov r8, rdi
lea rax, [rsp + 0x20]
inc r8
cmp byte [rax + r8], 0
jne 0x140051956
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x280], rsi
mov rcx, rbx
call fcn.140012bb0
cmp qword [rbx + 0x18], 0x10
mov rbp, qword [rbx + 0x10]
jb 0x14005198b
mov rsi, qword [rbx]
add rbp, rsi
mov rbx, rsi
jmp 0x140051991
add rbp, rbx
mov rsi, rbx
cmp rbx, rbp
je 0x1400519b3
sub rsi, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call fcn.1400b1a00
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rbp
jne 0x1400519a0
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call fcn.14009f630
mov r8d, 0x104
lea rdx, [rsp + 0x130]
lea rcx, str._SystemRoot__system32
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov rbp, qword [rsp + 0x278]
lea rbx, [r14 + 0x58]
mov r14, qword [rsp + 0x250]
lea rax, [rsp + 0x130]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x140051a00
mov r8, rdi
lea rdx, [rsp + 0x130]
mov rcx, rbx
call fcn.140012bb0
cmp qword [rbx + 0x18], 0x10
mov rdi, qword [rbx + 0x10]
jb 0x140051a32
mov rsi, qword [rbx]
add rdi, rsi
mov rbx, rsi
jmp 0x140051a38
add rdi, rbx
mov rsi, rbx
cmp rbx, rdi
je 0x140051a53
sub rsi, rbx
movsx ecx, byte [rbx]
call fcn.1400b1a00
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rdi
jne 0x140051a40
mov rsi, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14009c8a0
add rsp, 0x258
pop rdi
pop rbx
ret
Function at 0x140058db0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rdx
mov esi, ecx
xor edx, edx
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140058df6
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x140058eff
xorps xmm0, xmm0
mov qword [rsp + 0x90], rbp
xor ebp, ebp
mov dword [rsp + 0x58], 0x1c
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x6c], rbp
mov rcx, rbx
movdqu xmmword [rsp + 0x5c], xmm0
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x140058e40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140058ef7
cmp dword [rsp + 0x64], esi
jne 0x140058ed7
mov r8, qword [rdi]
mov edx, dword [rsp + 0x60]
mov rcx, r8
mov dword [rsp + 0x20], edx
mov rax, qword [r8 + 8]
cmp byte [rax + 0x19], bpl
jne 0x140058e79
cmp dword [rax + 0x20], edx
jae 0x140058e6d
mov rax, qword [rax + 0x10]
jmp 0x140058e73
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], bpl
je 0x140058e62
cmp byte [rcx + 0x19], bpl
jne 0x140058e84
cmp edx, dword [rcx + 0x20]
jae 0x140058e87
mov rcx, r8
cmp rcx, r8
jne 0x140058ed7
mov dword [rsp + 0x28], edx
mov rcx, rdi
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x38], 0xffffffff
mov byte [rsp + 0x3c], bpl
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
call fcn.140058c90
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x20], xmm0
lea rdx, [rsp + 0x58]
mov rcx, rbx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140058e40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rbp, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14009c8a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140058f30
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, rdx
mov r14d, ecx
xor r12d, r12d
mov esi, r12d
mov qword [rbp - 0x50], r12
mov ebx, r12d
mov qword [rbp - 0x48], rbx
mov edi, r12d
mov qword [rbp - 0x40], r12
nop word [rax + rax]
mov dword [rbp + 0x40], r12d
lea r9, [rbp + 0x40]
mov r8d, edi
mov rdx, rsi
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140058ff5
mov edi, dword [rbp + 0x40]
cmp rdi, rbx
jbe 0x140058fb4
mov edx, edi
mov rcx, rsi
call fcn.1400b2eac
test rax, rax
je 0x140058fca
mov rsi, rax
mov qword [rbp - 0x50], rax
mov ebx, edi
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rdi
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.14009f630
test rsi, rsi
jne 0x140058f70
xor bl, bl
test rsi, rsi
je 0x140058fd9
mov rcx, rsi
call fcn.1400a3830
movzx eax, bl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
test eax, eax
jne 0x140058fca
mov rbx, rsi
test rsi, rsi
je 0x140058fca
cmp qword [rbx + 0x50], r14
je 0x140059032
mov eax, dword [rbx]
cmp eax, 0x150
jb 0x140058fca
add rbx, rax
mov r9d, 0x150
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14006b540
test al, al
je 0x140058fca
test rbx, rbx
jne 0x140059001
jmp 0x140058fca
mov edi, dword [rbx + 4]
test rdi, rdi
je 0x14005910f
add rbx, 0x120
mov r14d, 0xffffffff
nop dword [rax + rax]
mov rax, qword [rbx + 0x10]
mov edx, r14d
cmp rax, r14
cmovb edx, eax
mov dword [rbp + 0x40], edx
mov rcx, qword [r15]
mov rax, qword [rcx + 8]
mov r8, rcx
cmp byte [rax + 0x19], 0
jne 0x140059087
cmp dword [rax + 0x20], edx
jae 0x14005907b
mov rax, qword [rax + 0x10]
jmp 0x140059081
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140059070
cmp byte [rcx + 0x19], 0
jne 0x140059092
cmp edx, dword [rcx + 0x20]
jae 0x140059095
mov rcx, r8
cmp rcx, r8
jne 0x1400590d8
mov dword [rbp - 0x38], edx
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], r14d
mov byte [rbp - 0x24], 0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x10], r12d
lea rdx, [rbp + 0x40]
mov rcx, r15
call fcn.140058c90
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rax + 0x20], xmm0
lea rdx, [rbp + 0x40]
mov rcx, r15
call fcn.140058c90
mov byte [rax + 0x14], 1
mov rcx, qword [rbx]
mov qword [rax + 0x18], rcx
mov ecx, dword [rbx + 0x24]
mov dword [rax + 0x20], ecx
mov ecx, dword [rbx + 0x28]
mov dword [rax + 0x24], ecx
mov ecx, dword [rbx - 8]
mov dword [rax + 0x28], ecx
add rbx, 0x50
sub rdi, 1
jne 0x140059050
mov bl, 1
jmp 0x140058fcc
Function at 0x14005d280
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x80]
mov rdi, rcx
mov rsi, qword [rax + 0x10]
mov rbp, qword [rax + 0x18]
test rsi, rsi
je 0x14005d44f
mov rax, qword [rcx + 0x58]
cmp rax, 0xffffffffffffffff
je 0x14005d44f
mov rcx, qword [rcx + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14005d2d7
cmp rax, rcx
jb 0x14005d2d7
sub rax, rcx
jmp 0x14005d2de
mov rax, 0xffffffffffffffff
lea r14, [rax + rsi]
mov r9d, 4
lea rbx, [r14 - 4]
mov rdx, rbp
mov r8, rbx
mov rcx, rsi
call fcn.14006b540
test al, al
je 0x14005d44f
cmp word [rbx + 0x14], 0
mov edx, 0x8664
mov dword [rbx], 0x4550
mov r9d, 0xf0
movzx ecx, word [r14]
jne 0x14005d32f
cmp cx, dx
mov eax, 0xe0
cmove ax, r9w
mov word [rbx + 0x14], ax
mov eax, 0x5a4d
mov word [rsi], ax
mov eax, ebx
sub eax, esi
add rbx, 0x18
mov dword [rsi + 0x3c], eax
cmp cx, dx
jne 0x14005d3c2
test rbx, rbx
je 0x14005d44f
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14006b540
test al, al
je 0x14005d44f
cmp byte [rdi + 0x7a], 0
mov eax, 0x20b
mov ecx, 0x10b
cmove ax, cx
mov word [rbx], ax
cmp dword [rbx + 0x20], 0
jne 0x14005d388
mov dword [rbx + 0x20], 0x1000
cmp dword [rbx + 0x24], 0
jne 0x14005d395
mov dword [rbx + 0x24], 0x200
cmp dword [rbx + 0x3c], 0
jne 0x14005d3a2
mov dword [rbx + 0x3c], 0x400
mov rcx, qword [rdi + 0x70]
mov eax, dword [rbx + 0x38]
cmp rax, rcx
jae 0x14005d43b
mov eax, 0xffffffff
cmp rcx, rax
cmovae ecx, eax
mov dword [rbx + 0x38], ecx
jmp 0x14005d43b
test rbx, rbx
je 0x14005d44f
mov r9d, 0xe0
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14006b540
test al, al
je 0x14005d44f
cmp byte [rdi + 0x7a], 0
mov eax, 0x20b
mov ecx, 0x10b
cmove ax, cx
mov word [rbx], ax
cmp dword [rbx + 0x20], 0
jne 0x14005d405
mov dword [rbx + 0x20], 0x1000
cmp dword [rbx + 0x24], 0
jne 0x14005d412
mov dword [rbx + 0x24], 0x200
cmp dword [rbx + 0x3c], 0
jne 0x14005d41f
mov dword [rbx + 0x3c], 0x400
mov r8, qword [rdi + 0x70]
mov eax, dword [rbx + 0x38]
cmp rax, r8
jae 0x14005d43b
mov eax, 0xffffffff
cmp r8, rax
cmovae r8d, eax
mov dword [rbx + 0x38], r8d
mov rdx, rbp
mov rcx, rsi
call fcn.14006db80
test rax, rax
je 0x14005d44f
mov al, 1
jmp 0x14005d451
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14005d470
Capabilities:
Parse pe header

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, 0x60
mov rax, qword [rcx + 0x80]
mov rbx, rcx
mov r14, qword [rax + 0x10]
mov r12, qword [rax + 0x18]
test r14, r14
je 0x14005d609
mov rsi, qword [rcx + 0x58]
cmp rsi, 0xffffffffffffffff
je 0x14005d609
mov rax, qword [rcx + 0x50]
cmp rax, 0xffffffffffffffff
je 0x14005d609
cmp rsi, rax
jb 0x14005d609
sub rsi, rax
cmp rsi, 0x43
ja 0x14005d609
mov rcx, qword [rcx + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x14005d609
mov rax, qword [rbx + 0x68]
mov ebp, 0x44
inc rax
sub rbp, rsi
xor r8d, r8d
mov rdx, rbp
lea rax, [rax + rax*4]
lea rdi, [rcx + rax*8]
lea rcx, [rdi + r14]
call fcn.14006e980
test al, al
je 0x14005d609
mov rax, qword [rbx + 0x50]
cmp rax, 0xffffffffffffffff
je 0x14005d52f
cmp rdi, 0xffffffffffffffff
je 0x14005d52f
cmp rdi, rax
jb 0x14005d52f
sub rdi, rax
jmp 0x14005d536
mov rdi, 0xffffffffffffffff
lea r15, [rax + rbp]
mov r9, rdi
add r15, r14
mov rdx, r12
mov r8, r15
mov rcx, r14
call fcn.14006b540
test al, al
je 0x14005d609
cmp rsi, 4
jb 0x14005d609
xorps xmm0, xmm0
lea r13d, [rsi + rbp]
mov rsi, qword [rbx + 0x50]
mov eax, 0x5a4d
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x20], ax
add rsi, r14
lea eax, [r13 - 4]
mov r8, rsi
movups xmmword [rsp + 0x50], xmm0
mov r9d, 0x40
mov dword [rsp + 0x5c], eax
mov rdx, r12
mov rcx, r14
call fcn.14006b540
test al, al
je 0x14005d609
movsxd r13, r13d
lea r8, [r14 - 4]
add r13, qword [rbx + 0x50]
mov r9d, 4
add r8, r13
mov rdx, r12
mov rcx, r14
call fcn.14006b540
test al, al
je 0x14005d609
mov rdx, qword [rbx + 0x50]
mov r8, rdi
add rdx, r14
mov rcx, r15
call fcn.14009ef80
movaps xmm0, xmmword [rsp + 0x20]
xorps xmm1, xmm1
movups xmmword [rsi], xmm0
mov rax, rbp
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x30], xmm0
mov dword [r13 + r14 - 4], 0x4550
add qword [rbx + 0x58], rbp
add qword [rbx + 0x60], rbp
jmp 0x14005d60b
xor eax, eax
lea r11, [rsp + 0x60]
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
Function at 0x1400601b0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor eax, eax
mov rdi, rdx
mov qword [rbp - 0x59], rax
xor bl, bl
mov qword [rbp - 0x61], rax
mov dword [rbp - 0x69], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rbp - 0x69]
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSizeEx]
test eax, eax
je 0x1400603d8
test byte [rbp - 0x69], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rsp + 0xf0], rsi
mov esi, 1
mov dword [rbp - 0x49], 0x40
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
je 0x140060259
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140060259
lea rax, [rdi + rdi]
cmp qword [rbp - 0x19], rax
jbe 0x140060259
cmp dword [rbp - 0x45], 0x32
movzx ebx, bl
cmovb ebx, esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 9], xmm0
mov dword [rbp - 9], 0x48
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x37], rax
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rbp - 9]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
mov r9, qword [rbp - 0x61]
movabs r10, 0x8000000000000000
mov r8, qword [rbp - 1]
movsd xmm3, qword [0x1400d7e18]
movsd xmm2, qword [0x1400d4ea8]
mov rdx, qword [rbp + 7]
cmp r9, r8
jbe 0x140060348
mov rcx, r9
lea rax, [rdi + rdi]
sub rcx, rdx
cmp rcx, rax
jbe 0x140060348
xorps xmm0, xmm0
test rdx, rdx
js 0x1400602de
cvtsi2sd xmm0, rdx
jmp 0x1400602f5
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, esi
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
xorps xmm1, xmm1
test r9, r9
js 0x140060304
cvtsi2sd xmm1, r9
jmp 0x140060319
mov rax, r9
and r9d, esi
shr rax, 1
or rax, r9
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
divsd xmm0, xmm1
xor ecx, ecx
mulsd xmm0, xmm3
comisd xmm0, xmm2
jb 0x140060336
subsd xmm0, xmm2
comisd xmm0, xmm2
jae 0x140060336
mov rcx, r10
cvttsd2si rax, xmm0
movzx ebx, bl
add rax, rcx
cmp rax, 0x3c
cmovb ebx, esi
mov rcx, r8
lea rax, [rdi + rdi]
sub rcx, rdx
cmp rcx, rax
jbe 0x1400603cd
xorps xmm0, xmm0
test rdx, rdx
js 0x140060366
cvtsi2sd xmm0, rdx
jmp 0x14006037a
mov rax, rdx
and edx, esi
shr rax, 1
or rax, rdx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
xorps xmm1, xmm1
test r8, r8
js 0x140060389
cvtsi2sd xmm1, r8
jmp 0x14006039e
mov rax, r8
and r8d, esi
shr rax, 1
or rax, r8
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
divsd xmm0, xmm1
xor ecx, ecx
mulsd xmm0, xmm3
comisd xmm0, xmm2
jb 0x1400603bb
subsd xmm0, xmm2
comisd xmm0, xmm2
jae 0x1400603bb
mov rcx, r10
cvttsd2si rax, xmm0
movzx ebx, bl
add rax, rcx
cmp rax, 0x46
cmovb ebx, esi
mov rsi, qword [rsp + 0xf0]
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14009c8a0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400648f0
Capabilities:
Check for software breakpoints

Disassembly:
mov r10d, dword [rdx + 8]
mov r11, rdx
sub r10d, dword [rcx + 0x10]
mov r8d, dword [rdx + 0xc]
add r10, qword [rcx + 0x18]
sub r8d, dword [rdx + 8]
cmp r8, 1
jbe 0x14006494b
movzx r9d, byte [r10]
mov al, 1
mov edx, 1
nop dword [rax + rax]
xor ecx, ecx
movzx eax, al
cmp r9b, byte [rdx + r10]
cmove ecx, eax
inc rdx
movzx eax, cl
cmp rdx, r8
jb 0x140064920
test cl, cl
je 0x14006494b
mov dword [r11 + 0x18], 3
movzx ecx, byte [r10]
mov byte [r11 + 0x28], cl
cmp byte [r10], 0xcc
jne 0x140064966
cmp r8, 1
je 0x14006495e
cmp dword [r11 + 0x18], 3
jne 0x140064966
mov dword [r11 + 0x18], 4
mov rax, r8
ret
Function at 0x14006ae60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
test rcx, rcx
je 0x14006af20
test rdx, rdx
je 0x14006af20
test rbx, rbx
je 0x14006af20
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14006af20
mov qword [rsp + 0x58], rbp
lea r9, [rsp + 0x50]
mov r8d, ebx
mov dword [rsp + 0x50], 0
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov rcx, rax
xor bpl, bpl
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 1
movzx ebx, bpl
test eax, eax
cmovne ebx, ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x58]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x60]
xor al, al
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14006b280
Capabilities:
Get file size

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, 0x50
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov qword [rax - 0x38], r12
mov dword [rax - 0x40], 0x80
mov dword [rax - 0x48], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r12 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14006b40f
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor edx, edx
lea r8d, [r12 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rsi, rax
test rax, rax
je 0x14006b406
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
je 0x14006b3fd
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov rax, qword [r15]
test rax, rax
je 0x14006b342
cmp rax, rbx
cmovbe rbx, rax
mov rdx, rbx
mov rcx, rbp
call fcn.14006e960
test al, al
je 0x14006b413
lea rdx, str.____Mapping_of
lea rcx, [0x140382470]
call fcn.140001910
mov rcx, rax
mov rdx, r14
call fcn.140001910
mov rcx, rax
lea rdx, str._is_invalid_
call fcn.140001910
mov r14, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rcx + rax + 0x40]
mov rbx, qword [rcx + 8]
mov qword [rsp + 0x48], rbx
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
nop
lea rcx, [rsp + 0x40]
call fcn.1400053a0
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x40]
movzx r15d, al
test rbx, rbx
je 0x14006b3e0
mov r8, qword [rbx]
mov rcx, rbx
call qword [r8 + 0x10]
test rax, rax
je 0x14006b3e0
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
movzx edx, r15b
mov rcx, r14
call fcn.14001b590
mov rcx, r14
call fcn.1400185f0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14006b457
mov rcx, rbx
call fcn.14006b4b0
mov r14, rax
test rax, rax
je 0x14006b433
mov r8, rbx
mov rdx, rbp
mov rcx, rax
call fcn.14009ef80
jmp 0x14006b436
mov rbx, r12
mov qword [r15], rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
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
Function at 0x14006d2d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx esi, dl
mov rbx, rcx
test rcx, rcx
je 0x14006d357
mov edx, 0x40
call fcn.14006e960
test al, al
jne 0x14006d357
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14006d357
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x14006d357
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14006e960
test al, al
jne 0x14006d357
cmp dword [rdi], 0x4550
jne 0x14006d357
test sil, sil
je 0x14006d343
lea rax, [rdi + 0x3c]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rax, [rdi + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14006d370
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
movzx ebp, r8b
mov rdi, rcx
cmp edx, 0x10
jae 0x14006d3ff
test rcx, rcx
je 0x14006d3ff
mov edx, 0x40
call fcn.14006e960
test al, al
jne 0x14006d3ff
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14006d3ff
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x14006d3ff
lea rsi, [rdi + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.14006e960
test al, al
jne 0x14006d3ff
cmp dword [rsi], 0x4550
jne 0x14006d3ff
mov rcx, rdi
call fcn.14006e150
test al, al
mov ecx, 0x78
mov edx, 0x88
cmovne ecx, edx
lea rax, [rcx + rbx*8]
add rax, rsi
test bpl, bpl
jne 0x14006d401
cmp dword [rax], 0
jne 0x14006d401
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14006d420
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14006d489
call fcn.14006e150
mov edx, 0x40
mov rcx, rbx
call fcn.14006e960
test al, al
jne 0x14006d489
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14006d489
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x14006d489
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14006e960
test al, al
jne 0x14006d489
cmp dword [rdi], 0x4550
jne 0x14006d489
movzx eax, word [rdi + 0x5e]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x14006d520
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14006d588
mov edx, 0x40
call fcn.14006e960
test al, al
jne 0x14006d588
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14006d588
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x14006d588
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14006e960
test al, al
jne 0x14006d588
cmp dword [rdi], 0x4550
jne 0x14006d588
mov rcx, rbx
call fcn.14006e150
mov eax, dword [rdi + 0x28]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret