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

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

Function at 0x1800aa040
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1800aa08d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1800aa084
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1800aa08f
add rax, 0x28
cmp rax, r9
jne 0x1800aa070
xor eax, eax
ret

Function at 0x1800aa090
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sub.msvcrt.dll_strlen
cmp rax, 8
ja 0x1800aa120
mov rdx, qword [0x18014afc0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1800aa10e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1800aa10e
cmp word [rax + 0x18], 0x20b
jne 0x1800aa10e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1800aa120
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1800aa0f9
add rbx, 0x28
cmp rbx, rdi
je 0x1800aa120
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1800aa0f0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1800aa130
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x18014afc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1800aa150
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1800aa158
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1800aa150
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1800aa1ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1800aa1a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1800aa150
add rax, 0x28
cmp rax, r9
jne 0x1800aa190
xor eax, eax
ret

Function at 0x1800aa1b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x18014afc0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1800aa1cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1800aa1d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1800aa1cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1800aa1f0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x18014afc0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1800aa210
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1800aa218
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1800aa210
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1800aa260
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1800aa257
test rcx, rcx
je 0x1800aa210
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1800aa248
xor eax, eax
ret

Function at 0x1800aa270
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x18014afc0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1800aa28f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1800aa298
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1800aa2b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x18014afc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1800aa2d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1800aa2d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1800aa2d0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1800aa2d0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1800aa324
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1800aa330
add rdx, 0x28
cmp r9, rdx
jne 0x1800aa310
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1800aa340
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x18014afc0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1800aa362
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1800aa370
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1800aa362
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1800aa362
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1800aa362
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1800aa3c5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1800aa3d8
add rdx, 0x28
cmp r10, rdx
jne 0x1800aa3b0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1800aa3e7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1800aa3f7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1800aa3ce
test ecx, ecx
jg 0x1800aa3e0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1800b7d10
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9d, dword [rcx + 0x60]
mov ebx, dword [rcx + 0x5c]
mov r8, rcx
test r9d, r9d
jle 0x1800b7dd8
mov r10, qword [0x18014af80]
mov edx, dword [rcx + 0x288]
movzx r11d, bl
xor ecx, ecx
nop word [rax + rax]
mov eax, edx
add ecx, 1
shl edx, 8
shr eax, 0x18
xor eax, r11d
xor edx, dword [r10 + rax*4]
cmp ecx, r9d
jne 0x1800b7d40
mov eax, ebx
mov dword [r8 + 0x288], edx
mov byte [r8 + rax + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
add rax, qword [r8 + 0x40]
cmp ecx, 2
je 0x1800b7dd0
cmp ecx, 3
je 0x1800b7d90
cmp ecx, 1
jne 0x1800b7de2
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
jmp 0x1800b7da6
mov eax, ebx
mov byte [rcx + rax + 0x80], 1
sub r9d, 4
movsxd r9, r9d
mov byte [r8 + r9 + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
movzx ebx, byte [r8 + 0x60]
mov rcx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
lea edx, [rbx - 4]
cdqe
mov byte [rcx + rax], dl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret

Function at 0x1800bb8d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
mov eax, ecx
mov r9, rdx
not eax
cmp r8, 3
jbe 0x1800bb951
lea rbx, [r8 - 4]
mov rcx, r9
lea r10, [0x18014b140]
mov rdx, rbx
shr rdx, 2
lea r11, [r9 + rdx*4 + 4]
nop dword [rax + rax]
mov edx, eax
xor al, byte [rcx]
add rcx, 4
movzx eax, al
shr edx, 8
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [rcx - 3]
movzx edx, dl
shr eax, 8
xor eax, dword [r10 + rdx*4]
mov edx, eax
xor al, byte [rcx - 2]
movzx eax, al
shr edx, 8
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [rcx - 1]
movzx edx, dl
shr eax, 8
xor eax, dword [r10 + rdx*4]
cmp rcx, r11
jne 0x1800bb900
and rbx, 0xfffffffffffffffc
and r8d, 3
lea r9, [r9 + rbx + 4]
test r8, r8
je 0x1800bb997
mov ecx, eax
xor al, byte [r9]
lea rdx, [0x18014b140]
movzx eax, al
shr ecx, 8
xor ecx, dword [rdx + rax*4]
mov eax, ecx
cmp r8, 1
je 0x1800bb997
xor al, byte [r9 + 1]
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, ecx
cmp r8, 2
je 0x1800bb997
xor al, byte [r9 + 2]
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, ecx
not eax
pop rbx
ret
Function at 0x1800bdc80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
mov r8d, 0x773
lea rdx, str.miniz.c
lea rcx, str.d__m_pPut_buf_func
call qword [sym.imp.msvcrt.dll__assert]
nop
nop
Function at 0x1400012a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.14008e000
sub rsp, rax
movaps xmmword [rsp + 0x13d0], xmm6
movaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x140100010]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
movss xmm6, dword [0x14010004c]
movss xmm7, dword [0x140100048]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x140001300
movsd xmm3, qword [0x1400f0638]
xorps xmm1, xmm1
mov edx, 0x270
xorps xmm4, xmm4
cvtss2sd xmm1, xmm6
mov dword [rsp + 0x20], edx
mov r10d, 2
movsd xmm6, qword [0x1400f06b0]
xorps xmm5, xmm5
cvtss2sd xmm4, xmm7
xorps xmm2, xmm2
cmp edx, 0x270
jne 0x1400013b2
lea r8, [rsp + 0x28]
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140001370
mov edx, dword [rsp + 0x20]
jmp 0x140001490
cmp edx, 0x4e0
jb 0x140001490
xor r8d, r8d
mov eax, dword [rsp + r8*4 + 0x9e4]
mov edx, eax
xor edx, dword [rsp + r8*4 + 0x9e8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rsp + r8*4 + 0x1018]
xor ecx, edx
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0xe3
jb 0x1400013c1
mov r8d, 0xe3
nop word [rax + rax]
mov eax, dword [rsp + r8*4 + 0x9e4]
mov edx, eax
xor edx, dword [rsp + r8*4 + 0x9e8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rsp + r8*4 - 0x368]
xor ecx, edx
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0x26f
jb 0x140001410
mov edx, dword [rsp + 0x13a0]
mov eax, dword [rsp + 0x24]
and edx, 0x80000000
btr eax, 0x1f
or edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [rsp + 0x654]
xor edx, edx
mov dword [rsp + 0x9e0], ecx
mov dword [rsp + 0x20], edx
mov eax, edx
xorps xmm0, xmm0
inc edx
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov dword [rsp + 0x20], edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
subsd xmm0, xmm5
mulsd xmm0, xmm3
mulsd xmm3, xmm6
addsd xmm2, xmm0
sub r10, 1
jne 0x140001352
divsd xmm2, xmm3
subsd xmm1, xmm4
xorps xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm4
cvtsd2ss xmm0, xmm1
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.14008cf30
movaps xmm6, xmmword [rsp + 0x13d0]
movaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret
Function at 0x1400176c0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400176e8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14001770e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140017710
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140017769
test ecx, ecx
jle 0x140017749
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140017769
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140017769
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140017790
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400177b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400177c8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400177e4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400177e6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140017822
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400178be
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001785d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14001789e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400178be
cmp rbx, rax
ja 0x140017870
test rbx, rbx
je 0x1400178be
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140017cf0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140100010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140017d1d
xor eax, eax
jmp 0x140017e89
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140017d57
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140017d57
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140017e89
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140017e7c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140017d9a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140017dc5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140017e81
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140017e34
sub eax, 1
je 0x140017e34
cmp eax, 2
jne 0x140017e7c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140017e81
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140017e62
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140017e7c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140017e81
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14008cf30
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400193c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140100010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140019493
cmp byte [rcx + 0x71], 0
je 0x140019493
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001948f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140019454
sub eax, 1
je 0x140019458
cmp eax, 2
jne 0x14001948f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008cf30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140019486
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14001948f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001943c
xor al, al
jmp 0x14001943c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008cf30
add rsp, 0x60
pop rbx
ret

Function at 0x1400247c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140100010]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor r14d, r14d
lea rdx, str.Minecraft.Windows.exe
mov rsi, r8
mov qword [rsp + 0x40], r14
mov rbx, rcx
mov qword [rsp + 0x48], r14
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
lea r8d, [r14 + 0x15]
movups xmmword [rsp + 0x30], xmm0
call fcn.14001f990
mov ecx, dword [rbx]
lea rdx, [rsp + 0x30]
call fcn.140028560
mov rbp, rax
mov ebx, 0x10000
nop word [rax + rax]
movsxd rcx, ebx
lea r8, [rsp + 0x50]
mov rdi, rbp
mov qword [rsp + 0x20], r14
sub rdi, rcx
mov r9d, 4
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140024867
add ebx, 0x10000
cmp ebx, 0x150000
jl 0x140024830
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008cf30
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400283c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140100010]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [rsp + 0x20], 0x238
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400284e3
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400284e3
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140028430
mov r9, qword [rbx + 0x18]
mov r8, rbx
mov rdx, qword [rbx + 0x10]
cmp r9, 8
jb 0x14002844e
mov r8, qword [rbx]
cmp rdx, rax
jne 0x1400284cd
lea rcx, [rsp + 0x4c]
test rdx, rdx
je 0x140028479
lea rax, [rsp + 0x4c]
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1400284cd
add rcx, 2
sub rdx, 1
jne 0x140028465
mov edi, dword [rsp + 0x28]
cmp r9, 8
jb 0x1400284b8
mov rcx, qword [rbx]
lea rdx, [r9*2 + 2]
cmp rdx, 0x1000
jb 0x1400284b3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140028550
mov rcx, r8
call fcn.14008d05c
xor eax, eax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rax
mov word [rbx], ax
mov eax, edi
jmp 0x14002852f
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140028420
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14002851e
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140028519
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140028550
mov rcx, r8
call fcn.14008d05c
xor eax, eax
mov word [rbx], ax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14008cf30
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140028560
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x140100010]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbx, rdx
mov edx, ecx
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [rsp + 0x20], 0x438
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140028685
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140028685
nop word [rax + rax]
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400285d0
mov r9, qword [rbx + 0x18]
mov r8, rbx
mov rdx, qword [rbx + 0x10]
cmp r9, 8
jb 0x1400285ee
mov r8, qword [rbx]
cmp rdx, rax
jne 0x14002866f
lea rcx, [rsp + 0x50]
test rdx, rdx
je 0x140028619
lea rax, [rsp + 0x50]
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14002866f
add rcx, 2
sub rdx, 1
jne 0x140028605
mov rdi, qword [rsp + 0x38]
cmp r9, 8
jb 0x140028659
mov rcx, qword [rbx]
lea rdx, [r9*2 + 2]
cmp rdx, 0x1000
jb 0x140028654
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400286f2
mov rcx, r8
call fcn.14008d05c
xor eax, eax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rax
mov word [rbx], ax
mov rax, rdi
jmp 0x1400286d1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400285c0
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1400286c0
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400286bb
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400286f2
mov rcx, r8
call fcn.14008d05c
xor eax, eax
mov word [rbx], ax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14008cf30
mov rbx, qword [rsp + 0x490]
add rsp, 0x470
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3