joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c0210
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x1400c0146
call fcn.1400c0350
cmp byte [rbx + 0x58], 0
je 0x1400c013d
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x1400c0151
cmp eax, 0xcb
jne 0x1400c01d5
mov rax, qword [rbx + 0x240]
cmp byte [rax + 0x20], 0
je 0x1400c01bc
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400c016e
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x240]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x1400c01b4
cmp eax, 2
je 0x1400c01bc
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400c0160
dec eax
test eax, 0xfffffffd
jne 0x1400c0160
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x1400c0160
mov ecx, dword [rbx + 0x190]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x1400c0160
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400c0210
cmp eax, 0xcc
je 0x1400c01f7
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400c0210
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x1400c023e
mov rax, qword [rcx + 0x220]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x1400c02e5
mov ecx, dword [rbx + 0x98]
nop
cmp ecx, dword [rbx + 0x78]
jae 0x1400c02b4
mov rax, qword [rbx + 0x10]
mov edi, ecx
test rax, rax
je 0x1400c028c
mov dword [rax + 8], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov edi, dword [rbx + 0x98]
mov rax, qword [rbx + 0x228]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + 8]
mov ecx, dword [rbx + 0x98]
cmp ecx, edi
je 0x1400c030d
cmp ecx, dword [rbx + 0x78]
jb 0x1400c0265
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov ecx, ebp
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x10], cl
jne 0x1400c0260
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1400c02f8
Function at 0x1400c4a10
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rcx
mov qword [rcx + 8], rsi
call fcn.140004a80
mov edx, 0x98
mov dword [rsp + 0x38], eax
mov rcx, rdi
call fcn.1400cf320
mov rbx, rax
test rax, rax
jne 0x1400c4a66
mov rcx, rdi
call fcn.140005100
mov rcx, qword [rdi]
mov dword [rcx + 0x28], 0x38
mov rcx, qword [rdi]
mov dword [rcx + 0x2c], esi
mov rcx, rdi
mov rdx, qword [rdi]
call qword [rdx]
mov dword [rbx + 0x5c], 0x3b9aca00
lea rax, [fcn.1400c4730]
mov qword [rbx], rax
lea rcx, str.JPEGMEM
lea rax, [fcn.1400c4550]
mov qword [rbx + 8], rax
lea rax, [fcn.1400c4640]
mov qword [rbx + 0x10], rax
lea rax, [fcn.1400c4460]
mov qword [rbx + 0x18], rax
lea rax, [0x1400c4e10]
mov qword [rbx + 0x20], rax
lea rax, [0x1400c4d60]
mov qword [rbx + 0x28], rax
lea rax, [0x1400c4b80]
mov qword [rbx + 0x30], rax
lea rax, [0x1400c41f0]
mov qword [rbx + 0x38], rax
lea rax, [0x1400c3f80]
mov qword [rbx + 0x40], rax
lea rax, [0x1400c48c0]
mov qword [rbx + 0x48], rax
lea rax, [0x1400c4ec0]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x58], eax
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x60], rsi
mov qword [rbx + 0x70], rsi
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rsi
mov dword [rbx + 0x90], 0x98
mov qword [rdi + 8], rbx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400c4b6e
lea r9, [rsp + 0x30]
mov byte [rsp + 0x30], 0x78
lea r8, [rsp + 0x38]
mov rcx, rax
lea rdx, str._ld_c
call fcn.140019510
test eax, eax
jle 0x1400c4b6e
movzx eax, byte [rsp + 0x30]
sub al, 0x4d
test al, 0xdf
jne 0x1400c4b61
imul eax, dword [rsp + 0x38], 0x3e8
jmp 0x1400c4b65
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
mov dword [rbx + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400cc200
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0x30
mov r13d, dword [rcx + 0x64]
mov rdi, rcx
mov rbx, qword [rcx + 0x270]
cmp r13d, 1
mov r8d, 0x2fe
mov qword [rsp + 0x68], rbx
sete al
mov edx, 1
mov byte [rbx + 0x38], al
mov rax, qword [rcx + 8]
mov ecx, 0x100
mov r9d, dword [rdi + 0x7c]
cmovne r8d, ecx
mov rcx, rdi
call qword [rax + select]
mov ebp, dword [rbx + 0x28]
xor r15d, r15d
mov qword [rbx + 0x30], rax
cmp dword [rdi + 0x7c], r15d
jle 0x1400cc381
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x28], r12
lea r12, [rbx + 0x3c]
mov qword [rsp + 0x20], r14
xor r14d, r14d
nop dword [rax]
mov esi, dword [r12]
mov eax, ebp
cdq
idiv esi
mov ebp, eax
cmp r13d, 1
jne 0x1400cc29d
mov rax, qword [rbx + 0x30]
add qword [r14 + rax], 0xff
mov rax, qword [rbx + 0x30]
lea r11d, [rsi*2 - 2]
xor r8d, r8d
xor r10d, r10d
mov rdi, qword [r14 + rax]
lea eax, [rsi + 0xfe]
cdq
idiv r11d
xor ebx, ebx
mov r9d, eax
cmp r10d, r9d
jle 0x1400cc2f7
imul eax, r8d, 0x1fe
lea ecx, [rsi + 0xfe]
add ecx, eax
nop word [rax + rax]
add ecx, 0x1fe
inc r8d
mov eax, ecx
cdq
idiv r11d
mov r9d, eax
cmp r10d, eax
jg 0x1400cc2e0
movzx eax, r8b
inc r10d
movzx ecx, bpl
imul ecx, eax
mov byte [rbx + rdi], cl
inc rbx
cmp rbx, 0xff
jle 0x1400cc2c2
cmp r13d, 1
jne 0x1400cc353
mov ecx, r13d
lea rdx, [rdi - 1]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rdx], al
lea rdx, [rdx - 1]
movzx eax, byte [rdi + 0xff]
mov byte [rdi + rcx + 0xff], al
inc rcx
cmp rcx, 0xff
jle 0x1400cc330
mov rax, qword [rsp + 0x60]
inc r15d
mov rbx, qword [rsp + 0x68]
add r12, 4
add r14, 8
cmp r15d, dword [rax + 0x7c]
jl 0x1400cc280
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400f3d00
Capabilities:
Read file on windows

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
mov r12d, dword [rcx + 0x90]
mov rdi, rcx
xor r14d, r14d
mov r13d, 0x40000000
nop
cmp dword [rdi + 0x80], 0
jne 0x1400f3dab
mov eax, dword [rdi + 0x6c]
test eax, eax
je 0x1400f3d49
cmp eax, 0xfffffffb
jne 0x1400f3e83
cmp dword [rdi + 0x50], 0
jne 0x1400f3e04
mov ebp, dword [rdi + 0x28]
xor ebx, ebx
mov r15, qword [rdi + 0x30]
nop dword [rax]
mov ecx, dword [rdi + 0x1c]
mov r8d, ebp
sub r8d, ebx
mov edx, ebx
cmp r8d, r13d
cmova r8d, r13d
add rdx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
test eax, eax
jle 0x1400f3d87
add ebx, eax
cmp ebx, ebp
jb 0x1400f3d60
test eax, eax
js 0x1400f3dec
test eax, eax
jne 0x1400f3d94
mov dword [rdi + 0x50], 1
add dword [rdi + 0x80], ebx
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x78], rax
cmp dword [rdi + 0x80], 0
je 0x1400f3e04
xor edx, edx
lea rcx, [rdi + 0x78]
call fcn.1400f6df0
mov r14d, eax
lea ecx, [rax + 2]
test ecx, 0xfffffffb
je 0x1400f3e6f
cmp eax, 0xfffffffc
je 0x1400f3e61
cmp eax, 0xfffffffd
je 0x1400f3e45
mov eax, dword [rdi + 0x90]
test eax, eax
je 0x1400f3e1e
cmp r14d, 1
jne 0x1400f3d30
jmp 0x1400f3e1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov r8, rax
mov edx, 0xffffffff
jmp 0x1400f3e7b
lea r8, str.unexpected_end_of_file
mov edx, 0xfffffffb
mov rcx, rdi
call fcn.1400f3720
mov eax, dword [rdi + 0x90]
sub r12d, eax
mov ecx, r12d
mov dword [rdi], ecx
mov rax, qword [rdi + 0x88]
sub rax, rcx
mov qword [rdi + 8], rax
cmp r14d, 1
jne 0x1400f3e41
mov dword [rdi + 0x44], 0
xor eax, eax
jmp 0x1400f3e88
mov rax, qword [rdi + 0x98]
lea r8, str.compressed_data_error
test rax, rax
mov edx, 0xfffffffd
cmovne r8, rax
jmp 0x1400f3e7b
lea r8, str.out_of_memory
mov edx, 0xfffffffc
jmp 0x1400f3e7b
lea r8, str.internal_error:_inflate_stream_corrupt
mov edx, 0xfffffffe
mov rcx, rdi
call fcn.1400f3720
mov eax, 0xffffffff
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
Function at 0x1400f3f60
Capabilities:
Read file on windows

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
xor eax, eax
mov rbx, r9
mov dword [r9], eax
mov edi, r8d
mov rbp, rdx
mov rsi, rcx
mov r14d, 0x40000000
mov ecx, dword [rsi + 0x1c]
mov r8d, edi
sub r8d, eax
mov edx, eax
cmp r8d, r14d
cmova r8d, r14d
add rdx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov edx, eax
test eax, eax
jle 0x1400f3fbc
mov eax, dword [rbx]
add eax, edx
mov dword [rbx], eax
cmp eax, edi
jb 0x1400f3f91
test edx, edx
jns 0x1400f3fe5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov edx, 0xffffffff
mov rcx, rsi
mov r8, rax
call fcn.1400f3720
mov eax, 0xffffffff
jmp 0x1400f3ff0
jne 0x1400f3fee
mov dword [rsi + 0x50], 1
xor eax, eax
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 0x1400f41f0
Capabilities:
Read file on windows

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
mov r14, r8
mov rbp, rdx
mov rbx, rcx
test r8, r8
je 0x1400f435b
xor r12d, r12d
cmp dword [rcx + 0x68], r12d
je 0x1400f423d
mov rdx, qword [rcx + 0x60]
mov dword [rcx + 0x68], r12d
call fcn.1400f4380
cmp eax, 0xffffffff
je 0x1400f435b
mov r15, r12
mov r13d, 0x40000000
mov eax, 0xffffffff
cmp r14, rax
mov esi, eax
mov eax, dword [rbx]
cmovb esi, r14d
test eax, eax
je 0x1400f427b
mov rdx, qword [rbx + 8]
cmp eax, esi
mov rcx, rbp
cmovae eax, esi
mov r8d, eax
mov edi, eax
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 8], rdi
sub dword [rbx], edi
jmp 0x1400f4305
cmp dword [rbx + 0x50], r12d
je 0x1400f428e
cmp dword [rbx + 0x80], r12d
je 0x1400f4331
mov ecx, dword [rbx + 0x44]
test ecx, ecx
je 0x1400f4316
mov eax, dword [rbx + 0x28]
add eax, eax
cmp esi, eax
jb 0x1400f4316
cmp ecx, 1
jne 0x1400f42e6
mov edi, r12d
nop word [rax + rax]
mov ecx, dword [rbx + 0x1c]
mov r8d, esi
sub r8d, edi
mov edx, edi
cmp r8d, r13d
cmova r8d, r13d
add rdx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
test eax, eax
jle 0x1400f42d7
add edi, eax
cmp edi, esi
jb 0x1400f42b0
test eax, eax
js 0x1400f433d
test eax, eax
jne 0x1400f4305
mov dword [rbx + 0x50], 1
jmp 0x1400f4305
mov rcx, rbx
mov dword [rbx + 0x90], esi
mov qword [rbx + 0x88], rbp
call fcn.1400f3d00
cmp eax, 0xffffffff
je 0x1400f435b
mov edi, dword [rbx]
mov dword [rbx], r12d
mov eax, edi
sub r14, rax
add rbp, rax
add r15, rax
add qword [rbx + 0x10], rax
jmp 0x1400f4323
mov rcx, rbx
call fcn.1400f3eb0
cmp eax, 0xffffffff
je 0x1400f435b
test r14, r14
jne 0x1400f4246
mov rax, r15
jmp 0x1400f435d
mov dword [rbx + 0x54], 1
mov rax, r15
jmp 0x1400f435d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov edx, 0xffffffff
mov rcx, rbx
mov r8, rax
call fcn.1400f3720
xor eax, eax
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
Function at 0x1400391a4
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x14006e740
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x508
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xda
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x528]
mov rax, qword [0x1400d4040]
xor rax, rbp
mov qword [rbp + 0x4d0], rax
mov dword [rbp + 0x4b4], 0
lea rcx, [0x1400e411f]
call fcn.14003b463
mov qword [rbp + 0x278], 0xffffffffffffffff
mov rcx, qword [rbp + 0x500]
call fcn.14003abb2
mov qword [rbp + 0x4c8], rax
mov eax, dword [rbp + 0x4b4]
or eax, 1
mov dword [rbp + 0x4b4], eax
lea r8, [0x1400bffe8]
mov rdx, qword [rbp + 0x508]
lea rcx, [rbp + 0x2d8]
call fcn.14003af4a
nop
lea rcx, [rbp + 0x2d8]
call fcn.140039c30
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0xffffffffffffffff
je 0x14006e886
mov rax, qword [rbp + 0x24]
mov qword [rbp + 0x318], rax
lea rdx, [rbp + 0x3c]
mov rcx, qword [rbp + 0x500]
call fcn.1400398c5
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14006e878
mov eax, dword [rbp + 0x31c]
cmp dword [rbp + 0x28], eax
ja 0x14006e85b
mov eax, dword [rbp + 0x31c]
cmp dword [rbp + 0x28], eax
jne 0x14006e876
mov eax, dword [rbp + 0x318]
cmp dword [rbp + 0x24], eax
jbe 0x14006e876
mov rax, qword [rbp + 0x24]
mov qword [rbp + 0x318], rax
lea rdx, [rbp + 0x3c]
mov rcx, qword [rbp + 0x500]
call fcn.1400398c5
jmp 0x14006e825
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp + 0x2d8]
call fcn.14003aea0
mov rax, qword [rbp + 0x500]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400b8900]
call fcn.14003ad97
mov rax, rdi
mov rcx, qword [rbp + 0x4d0]
xor rcx, rbp
call fcn.14003a144
lea rsp, [rbp + 0x4e8]
pop rdi
pop rbp
ret

Function at 0x1400395be
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14007a500
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400e401e]
call fcn.14003b463
mov qword [rbp + 8], 0
jmp 0x14007a53e
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x14007a594
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x14007a533
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14003a112
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14006ec20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x438
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x458]
mov rax, qword [0x1400d4040]
xor rax, rbp
mov qword [rbp + 0x400], rax
lea rcx, [0x1400e411f]
call fcn.14003b463
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 2
call fcn.14003a0f4
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0xffffffffffffffff
jne 0x14006ecc2
lea rdx, str.Failed_to_create_snapshot.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400393ac
mov qword [rbp + 0x3f8], rax
lea rdx, [0x140039168]
mov rcx, qword [rbp + 0x3f8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x14006ed5e
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14003a617
test eax, eax
jne 0x14006ed15
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Failed_to_retrieve_process_information.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400393ac
mov qword [rbp + 0x3f8], rax
lea rdx, [0x140039168]
mov rcx, qword [rbp + 0x3f8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x14006ed5e
lea rdx, [rbp + 0x3c]
mov rcx, qword [rbp + 0x430]
call fcn.140039384
test eax, eax
jne 0x14006ed3b
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x18]
jmp 0x14006ed5e
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14003aeb9
test eax, eax
jne 0x14006ed15
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400b8110]
call fcn.14003ad97
mov rax, rdi
mov rcx, qword [rbp + 0x400]
xor rcx, rbp
call fcn.14003a144
lea rsp, [rbp + 0x418]
pop rdi
pop rbp
ret

Function at 0x14003a45f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400a78f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14003a905
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400a9690
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400a96b0
xor al, al
jmp 0x1400a9731
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400a96c3
xor al, al
jmp 0x1400a9731
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400a96ed
xor al, al
jmp 0x1400a9731
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400a9701
xor al, al
jmp 0x1400a9731
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400a9713
xor al, al
jmp 0x1400a9731
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400a972f
xor al, al
jmp 0x1400a9731
mov al, 1
add rsp, 0x38
ret
Function at 0x14003b198
Capabilities:
Write file on windows

Disassembly:
jmp 0x140079b20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x1400d4040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400e411a]
call fcn.14003b463
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140079b86
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x140079b8d
mov al, 1
jmp 0x140079d03
mov rax, qword [rbp + 0x190]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140039d2f
mov word [rbp + 0x160], ax
movzx edx, word [rbp + 0x160]
mov rcx, qword [rbp + 0x190]
call qword [rbp + 0x158]
mov word [rbp + 0x162], ax
call fcn.140039d2f
mov word [rbp + 0x164], ax
movzx edx, word [rbp + 0x162]
movzx ecx, word [rbp + 0x164]
call fcn.140039ed8
movzx eax, al
test eax, eax
je 0x140079bf6
xor al, al
jmp 0x140079d03
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x190]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140079c69
cmp dword [rbp + 0x160], 1
je 0x140079c74
cmp dword [rbp + 0x160], 3
je 0x140079cf2
jmp 0x140079d01
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140079cc4
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140079cc4
xor al, al
jmp 0x140079d03
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x140079cdf
mov dword [rbp + 0x154], 1
jmp 0x140079ce9
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140079d03
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
mov al, 1
jmp 0x140079d03
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400b9d40]
call fcn.14003ad97
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14003a144
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14003b571
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x14006e930
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x708
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x728]
mov rax, qword [0x1400d4040]
xor rax, rbp
mov qword [rbp + 0x6d8], rax
lea rcx, [0x1400e411f]
call fcn.14003b463
mov qword [rbp + 8], 0
mov edx, dword [rbp + 0x700]
mov ecx, 0x18
call fcn.14003a0f4
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x14006e9ea
mov dword [rbp + 0x50], 0x438
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.14003a699
test eax, eax
je 0x14006e9ea
mov rdx, qword [rbp + 0x708]
lea rcx, [rbp + 0x80]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x14006e9d9
mov rax, qword [rbp + 0x68]
mov qword [rbp + 8], rax
jmp 0x14006e9ea
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400394f6
test eax, eax
jne 0x14006e9b7
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400b89b0]
call fcn.14003ad97
mov rax, rdi
mov rcx, qword [rbp + 0x6d8]
xor rcx, rbp
call fcn.14003a144
lea rsp, [rbp + 0x6e8]
pop rdi
pop rbp
ret