joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016d90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016e37
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140016dea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140023c60
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003bc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401d4f18]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140016e3f
mov rcx, rbx
call fcn.140003bc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140017280
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x1400172d2
lea r11, [0x1400e7fa0]
cmp r9b, 0x23
jne 0x1400172b5
cmp byte [r8], r9b
jne 0x1400172b5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400172a2
mov r11, qword [0x1401d4f20]
xor r9d, r9d
not eax
mov r10, qword [r11 + 0x3228]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x14001731e
cmp dword [r9], eax
je 0x140017327
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x1400172f5
mov rcx, rbx
pop rbx
jmp fcn.140017190
test r9, r9
je 0x14001731e
mov rax, r9
pop rbx
ret
Function at 0x14001a780
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001a9be
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400e7fa0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001a986
mov rcx, rbp
call fcn.140019dc0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001a851
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001a841
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001a839
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001a83c
mov rdx, rcx
test rdx, rdx
jne 0x14001a810
cmp r8, r10
je 0x14001a851
cmp dword [r8], r9d
jne 0x14001a851
mov rcx, qword [r8 + 8]
jmp 0x14001a853
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001a8e7
cmp qword [rcx + 0x18], 0
jne 0x14001a8dc
mov qword [rcx + 0x18], rbx
jmp 0x14001a8e7
cmp qword [rcx + 0x20], 0
jne 0x14001a8e7
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001a91c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001a910
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.140003420
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001a978
cmp r9b, 0x23
jne 0x14001a95b
cmp byte [r8], r9b
jne 0x14001a95b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001a948
not ecx
call fcn.14000ae70
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001a7d0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d2300
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140045290
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r14, qword [rcx + 8]
mov r15d, r9d
mov r12, r8
mov r13d, edx
cmp r14, 0xffffffffffffffff
jne 0x1400452c1
mov eax, 0xc00000c0
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
ret
mov rax, qword gs:[0x60]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rsi
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x40], rdi
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rbx, rbp
nop
mov r9, qword [rbx + 0x30]
xor esi, esi
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140045364
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140045364
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x606ddf05
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x14004535f
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140045340
cmp edx, 0x70d3fdd4
je 0x1400453cd
test r8d, r8d
jne 0x140045320
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rbp
je 0x140045379
cmp qword [rax + 0x30], rsi
jne 0x1400452f0
mov rax, rsi
mov qword [rsp + 0x38], rsi
mov r9d, r15d
mov qword [rsp + 0x30], rsi
mov r8, r12
mov dword [rsp + 0x28], esi
mov edx, r13d
mov rcx, r14
mov qword [rsp + 0x20], rsi
call rax
mov rdi, qword [rsp + 0x40]
test eax, eax
mov rbp, qword [rsp + 0x78]
mov ecx, 0xc0000001
mov rbx, qword [rsp + 0x70]
cmove esi, ecx
mov eax, esi
mov rsi, qword [rsp + 0x80]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
ret
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x14004537c
Function at 0x140046cd0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140046dce
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140046dce
test rax, rax
je 0x140046dce
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ebx, dword [rax + 0xb0]
add rbx, rdx
mov eax, dword [rbx]
mov rdx, qword [rsp + 0x50]
test eax, eax
je 0x140046dbc
nop dword [rax + rax]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 4]
sub rax, 8
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rdx, r8
je 0x140046d97
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rdx + 0x10], xmm1
mov rdx, qword [rsp + 0x50]
add rdx, 0x18
mov qword [rsp + 0x50], rdx
jmp 0x140046dab
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.140048030
mov rdx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
mov r8, qword [rsp + 0x58]
test eax, eax
jne 0x140046d50
mov rcx, qword [rsp + 0x48]
mov qword [rdi], rcx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], r8
jmp 0x140046dd9
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d2300
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14004d4a0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x30
lea rcx, reloc.WS2_32.dll_bind
mov rbp, rdx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14004d4ca
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14010f2ec], 0x7fffffff
jne 0x14004d4ec
mov ecx, 6
mov dword [0x14010f2ec], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rax, qword gs:[0x58]
mov edx, 4
mov qword [rsp + 0x48], rbx
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401d5580], eax
jle 0x14004d616
lea rcx, [0x1401d5580]
call fcn.1400d23c8
cmp dword [0x1401d5580], 0xffffffff
jne 0x14004d616
mov rax, qword gs:[0x60]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x14004d5c8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14004d5c8
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0xd2e29188
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x14004d5c3
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x14004d5a0
cmp edx, 0xcb09f2aa
je 0x14004d67c
test r8d, r8d
jne 0x14004d580
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x14004d5de
cmp qword [rax + 0x30], 0
jne 0x14004d550
xor eax, eax
lea rcx, [0x1400f90f0]
call rax
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1401d5580]
mov qword [0x1401d5560], rax
call fcn.1400d235c
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8d, 4
mov dword [rsp + 0x40], 0xc3c03148
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.14004adc0
mov r8d, 4
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.14004b0f0
call qword [0x1401d5560]
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rbp
mov ebx, eax
call fcn.14004b0f0
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test ebx, ebx
mov rbx, qword [rsp + 0x48]
sete al
add rsp, 0x30
pop rbp
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x14004d5e0
Function at 0x140052d90
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, 0x5a4d
xor edi, edi
mov rbx, r8
mov rsi, rcx
cmp word [rdx], ax
je 0x140052dd1
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov rdx, qword [r8 + 0x18]
cmp rdx, 0xf
jbe 0x140052e8e
mov rcx, qword [r8]
jmp 0x140052e65
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140052de9
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
jmp 0x140052dbb
movzx r14d, word [rcx + 0x14]
movzx r9d, di
movzx r11d, word [rcx + 6]
add r14, rcx
cmp di, r11w
jae 0x140052e51
mov rbp, qword [r8 + 0x18]
mov r8, rbx
cmp rbp, 0xf
jbe 0x140052e10
mov r8, qword [rbx]
movzx eax, r9w
lea rcx, [rax + rax*4]
lea r10, [rcx*8]
lea rax, [r14 + 0x18]
add rax, r10
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140052e43
inc rax
test ecx, ecx
jne 0x140052e30
test edx, edx
je 0x140052eb3
inc r9w
cmp r9w, r11w
jb 0x140052e04
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140052e8e
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140052e89
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140052ec6
mov rcx, r8
call fcn.1400d2750
mov rbp, qword [rsp + 0x58]
mov rax, rsi
mov byte [rbx], dil
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov eax, dword [r10 + r14 + 0x20]
mov qword [rsi], rax
mov eax, dword [r10 + r14 + 0x24]
mov qword [rsi + 8], rax
jmp 0x140052e58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140058320
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13f0
call fcn.1400d2ee0
sub rsp, rax
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x24], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.abcdef0123456789
lea rcx, [rsp + 0x30]
call fcn.140044fa0
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ecx, 1
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x1400583b0
mov dword [rsp + 0x50], 0x270
mov r14d, dword [rsp + 0x40]
dec r14d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x24], 1
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x30]
test ebx, ebx
jle 0x1400584e0
mov eax, 0x80000000
xor r14d, eax
mov r15, rbx
movzx ebx, byte [rsp + 0x20]
nop
lea rcx, [rsp + 0x50]
cmp r14d, 0x7fffffff
jne 0x140058437
call fcn.1400711f0
mov ecx, eax
jmp 0x140058478
lea esi, [r14 - 0x7fffffff]
call fcn.1400711f0
mov ebp, esi
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jae 0x140058474
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp ecx, edx
jae 0x140058474
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.1400711f0
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jb 0x140058460
shr rcx, 0x20
mov r8d, 0x80000000
lea eax, [rcx + r8]
xor eax, r8d
lea rcx, [rsp + 0x30]
cmp r13, 0xf
cmova rcx, r12
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400584c5
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400584ba
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400584d6
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14006b890
sub r15, 1
jne 0x140058420
cmp r13, 0xf
jbe 0x14005851b
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140058513
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058513
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400d2750
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.1400d2300
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400587f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
xor esi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14005888f
nop dword [rax]
nop word [rax + rax]
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140058873
inc rax
test ecx, ecx
jne 0x140058860
test edx, edx
je 0x14005888b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140058850
jmp 0x14005888f
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400d2300
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14005c810
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r14
push r15
mov r15, rcx
mov r14, r8
mov rbp, rdx
sub r15, qword [r8 + 0x30]
je 0x14005c99f
test byte [r8 + 0x5e], 0x40
jne 0x14005c838
xor eax, eax
pop r15
pop r14
pop rbp
ret
movzx edx, word [r14 + 0x14]
movzx eax, word [r14 + 6]
add rdx, 0x18
mov r8d, dword [r8 + 0xb0]
add rdx, r14
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x14005c99f
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14005c873
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14005c887
add rdx, 0x28
cmp rdx, r9
jb 0x14005c861
mov eax, 1
pop r15
pop r14
pop rbp
ret
mov qword [rsp + 0x30], rdi
mov edi, dword [rdx + 0x14]
sub rdi, rcx
mov qword [rsp + 0x38], r12
mov r12d, dword [r14 + 0xb4]
add rdi, r8
add rdi, rbp
add r12, rdi
test rdi, rdi
je 0x14005c995
cmp rdi, r12
jae 0x14005c995
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rsi
mov eax, dword [rdi + 4]
test eax, eax
je 0x14005c98b
add eax, 0xfffffff8
shr eax, 1
je 0x14005c97c
lea rbx, [rdi + 8]
mov esi, eax
nop
movzx r9d, word [rbx]
movzx eax, r9w
shr ax, 0xc
and r9d, 0x80000fff
jge 0x14005c902
dec r9d
or r9d, 0xfffff000
inc r9d
cmp ax, 3
je 0x14005c90e
cmp ax, 0xa
jne 0x14005c96e
movzx r11d, word [r14 + 0x14]
movzx r8d, word [r14 + 6]
add r11, 0x18
mov r10d, dword [rdi]
add r11, r14
mov rax, r11
lea rcx, [r8 + r8*4]
lea rdx, [r11 + rcx*8]
cmp r11, rdx
jae 0x14005c963
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x14005c944
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x14005c955
lea rdx, [r8 + r8*4]
add rax, 0x28
lea rcx, [r11 + rdx*8]
cmp rax, rcx
jmp 0x14005c930
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r10
add rcx, rbp
jne 0x14005c966
mov rcx, rbp
movzx eax, r9w
add qword [rax + rcx], r15
add rbx, 2
sub rsi, 1
jne 0x14005c8e0
mov eax, dword [rdi + 4]
add rdi, rax
cmp rdi, r12
jb 0x14005c8c3
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov eax, 1
pop r15
pop r14
pop rbp
ret
Function at 0x14005c9b0
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r12
push r15
sub rsp, 0x20
movzx eax, word [r8 + 0x14]
lea r10, [r8 + 0x18]
mov r11d, dword [r8 + 0x90]
add r10, rax
movzx eax, word [r8 + 6]
mov rbp, r8
mov r15, rdx
mov r12d, ecx
lea r9, [rax + rax*4]
lea r8, [r10 + r9*8]
cmp r10, r8
jae 0x14005ca11
nop dword [rax + rax]
mov ecx, dword [r10 + 0xc]
cmp r11, rcx
jb 0x14005ca08
mov eax, dword [r10 + 8]
add eax, ecx
cmp r11, rax
jb 0x14005ca8d
add r10, 0x28
cmp r10, r8
jb 0x14005c9f0
xor eax, eax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
test r11d, r11d
je 0x14005cbb5
cmp dword [rbp + 0x94], 0
je 0x14005cbb5
lea r14, [rax + 0x10]
movzx r10d, word [rbp + 0x14]
movzx r8d, word [rbp + 6]
add r10, 0x18
mov r9d, dword [r14 - 4]
add r10, rbp
mov rdx, r10
lea rax, [r8 + r8*4]
lea rcx, [r10 + rax*8]
cmp r10, rcx
jae 0x14005cbb5
mov ecx, dword [rdx + 0xc]
cmp r9, rcx
jb 0x14005ca7c
mov eax, dword [rdx + 8]
add eax, ecx
cmp r9, rax
jb 0x14005ca9f
lea rcx, [r8 + r8*4]
add rdx, 0x28
lea rax, [r10 + rcx*8]
cmp rdx, rax
jmp 0x14005ca64
mov eax, dword [r10 + 0x14]
sub rax, rcx
add rax, r11
add rax, r15
jmp 0x14005ca13
mov edi, dword [rdx + 0x14]
sub rdi, rcx
add rdi, r9
add rdi, r15
je 0x14005cbb5
mov rdx, rdi
mov ecx, r12d
call fcn.14005b0c0
mov rsi, rax
test rax, rax
je 0x14005cbb3
movzx r11d, word [rbp + 0x14]
movzx r9d, word [rbp + 6]
add r11, 0x18
mov r10d, dword [r14]
add r11, rbp
mov r8, r11
lea rcx, [r9 + r9*4]
lea rdx, [r11 + rcx*8]
cmp r11, rdx
jae 0x14005cb20
mov ecx, dword [r8 + 0xc]
cmp r10, rcx
jb 0x14005cb00
mov eax, dword [r8 + 8]
add eax, ecx
cmp r10, rax
jb 0x14005cb11
lea rcx, [r9 + r9*4]
add r8, 0x28
lea rax, [r11 + rcx*8]
cmp r8, rax
jmp 0x14005caea
mov ebx, dword [r8 + 0x14]
sub rbx, rcx
add rbx, r10
add rbx, r15
jmp 0x14005cb22
xor ebx, ebx
mov rax, qword [rbx]
test rax, rax
je 0x14005cbaa
jns 0x14005cb35
movzx edx, word [rbx]
jmp 0x14005cb90
movzx r10d, word [rbp + 0x14]
movzx r8d, word [rbp + 6]
add r10, 0x18
mov r9, qword [rbx]
add r10, rbp
mov rax, r10
lea rcx, [r8 + r8*4]
lea rdx, [r10 + rcx*8]
cmp r10, rdx
jae 0x14005cb8a
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x14005cb6b
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x14005cb7c
lea rdx, [r8 + r8*4]
add rax, 0x28
lea rcx, [r10 + rdx*8]
cmp rax, rcx
jmp 0x14005cb57
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, r15
jmp 0x14005cb8c
xor ecx, ecx
lea rdx, [rcx + 2]
mov rcx, rdi
call fcn.14005c540
add rax, rsi
mov qword [rbx], rax
add rbx, 8
mov rax, qword [rbx]
test rax, rax
jne 0x14005cb2e
add r14, 0x14
jmp 0x14005ca41
jmp 0x14005cbba
mov eax, 1
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r12
pop rbp
ret