joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016930
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 + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400169d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001698a
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.140018a90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003780
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1403b0a78]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400169df
mov rcx, rbx
call fcn.140003780
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140045a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1403a7040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140045a60
cmp al, 0x25
jne 0x140045a54
cmp byte [r8 + 1], al
jne 0x140045a60
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x140045a47
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140045bbe
cmp byte [r8 + 1], dl
je 0x140045bbe
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140045a9d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140045ac5
sub dl, 0x61
cmp dl, 0x19
ja 0x140045ab7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140045ac5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140045a80
jmp 0x140045ac8
inc r9
cmp r8, r9
jae 0x140045aff
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140045af4
bt rdx, rax
jb 0x140045afa
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140045ae0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
movq r9, xmm3
call fcn.140002d90
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x140045b38
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140045b30
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140045bac
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x140045b58
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140045b9a
movss xmm2, dword [0x14039cb94]
cmp al, 0x39
ja 0x140045b9a
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140045b74
cmp r8b, 0x2d
jne 0x140045bb9
xorps xmm1, xmmword [0x14039d3e0]
movaps xmm0, xmm1
jmp 0x140045bc1
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140045bc1
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140075b40
add rsp, 0xa0
pop rbx
ret
Function at 0x140046200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1403a7040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140046240
cmp al, 0x25
jne 0x140046234
cmp byte [r8 + 1], al
jne 0x140046240
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x140046227
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140046398
cmp byte [r8 + 1], dl
je 0x140046398
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14004627d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400462a5
sub dl, 0x61
cmp dl, 0x19
ja 0x140046297
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400462a5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140046260
jmp 0x1400462a8
inc r9
cmp r8, r9
jae 0x1400462df
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400462d4
bt rdx, rax
jb 0x1400462da
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400462c0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.140002d90
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x140046318
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x140046310
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14004638a
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x140046338
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140046378
movsd xmm2, qword [0x14039cb10]
cmp al, 0x39
ja 0x140046378
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x140046354
cmp r8b, 0x2d
jne 0x140046393
xorps xmm1, xmmword [0x14039d3d0]
movaps xmm0, xmm1
jmp 0x14004639b
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004639b
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140075b40
add rsp, 0xa0
pop rbx
ret
Function at 0x140072540
Capabilities:
Set console window title
Terminate process

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1403a7040]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.140071ff0
lea rdx, str.loader_ow2
lea rcx, [rsp + 0x20]
call fcn.140072900
nop
lea rcx, [rsp + 0x20]
call fcn.140072800
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, str._n_nConnecting_to_server..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400736b0
lea rdx, str.Loading_functions.._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400736b0
call fcn.140071ff0
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140076804
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007684e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007684e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007684e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007684e
cmp dword [rcx + 0x84], 0xe
jbe 0x14007684e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140076850
xor al, al
add rsp, 0x28
ret
Function at 0x140004dec
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140004e1a
xor eax, eax
jmp 0x140004f00
cmp qword [rcx + 0x68], 0
je 0x140004e2b
call fcn.1400056b0
jmp 0x140004f00
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140004e42
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004e44
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004e76
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400982e0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140004efa
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140004ead
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140004ed6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14007d28c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140004efa
cmp rsi, rbx
ja 0x140004eb4
test rsi, rsi
je 0x140004efa
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14007d28c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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 0x14001303c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x20
xor esi, esi
lea rbx, [rcx + 0x20]
mov qword [rcx + 8], rsi
lea rax, vtable.Window.0
mov qword [rcx], rax
mov rdi, rcx
mov dword [rcx + 0x10], esi
mov qword [rcx + 0x18], rsi
lea ecx, [rsi + 0x38]
mov qword [rsp + 0x38], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
call fcn.14006c698
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], esi
lea edx, [rsi + 0x1f]
lea r8d, [rsi + 0x40]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rbx, [rdi + 0x30]
lea rcx, [rbx + 0x10]
mov qword [rbx + 8], rdi
lea rax, [0x140013304]
mov qword [rcx + 2], rsi
mov qword [rbx], rax
mov eax, 0xb848
mov word [rcx], ax
mov dword [rcx + 0xa], 0x4894865
mov word [rcx + 0xe], 0x2825
mov byte [rcx + 0x10], sil
mov dword [rcx + 0x11], 0xb8480000
mov qword [rcx + 0x15], rsi
mov word [rcx + 0x1d], 0xe0ff
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rsi, qword [rsp + 0x40]
lea rax, [0x140016b5c]
mov qword [rbx + 0x25], rax
mov rax, rdi
mov qword [rbx + 0x12], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140013170
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x440
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rdi, rdx
mov qword [rsp + 0x28], rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x400
xor esi, esi
call fcn.140098980
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x30]
mov r8d, 0x200
call qword [sym.imp.USER32.dll_GetWindowTextW]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
or r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
inc r8
cmp word [rax + r8*2], si
jne 0x1400131df
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140008f40
mov rax, rdi
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14006c670
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400134c4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
xor esi, esi
mov qword [rbp - 0x28], rcx
lea rax, [0x1400136e0]
mov qword [rbp - 0x1e], rsi
mov qword [rbp - 0x30], rax
lea r9, [rbp + 0x10]
mov eax, 0xb848
mov dword [rbp - 0x16], 0x4894865
mov word [rbp - 0x20], ax
lea r8d, [rsi + 0x40]
mov eax, 0xe0ff
mov word [rbp - 0x12], 0x2825
mov rdi, rdx
mov word [rbp - 3], ax
mov rbx, rcx
mov byte [rbp - 0x10], sil
lea edx, [rsi + 0x1f]
mov dword [rbp - 0xf], 0xb8480000
lea rcx, [rbp - 0x20]
mov qword [rbp - 0xb], rsi
mov dword [rbp + 0x10], esi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx edx, word [rbx + 0x80]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x1e], rax
lea r9, [rbp - 0x20]
lea rax, [0x140016b5c]
mov qword [rsp + 0x20], rsi
mov r8, rdi
mov qword [rbp - 0xb], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140013580
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
movzx edx, r8w
xor ecx, ecx
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
xor r14d, r14d
mov byte [rdi + 0x84], 1
mov rsi, rax
mov qword [rbp - 0x11], rdi
lea rax, [0x1400136e0]
mov qword [rbp - 7], r14
mov qword [rbp - 0x19], rax
lea r9, [rbp + 0x77]
mov eax, 0xb848
mov dword [rbp + 1], 0x4894865
mov word [rbp - 9], ax
lea edx, [r14 + 0x1f]
mov eax, 0xe0ff
mov word [rbp + 5], 0x2825
lea r8d, [r14 + 0x40]
mov word [rbp + 0x14], ax
lea rcx, [rbp - 9]
mov byte [rbp + 7], r14b
mov dword [rbp + 8], 0xb8480000
mov qword [rbp + 0xc], r14
mov dword [rbp + 0x77], r14d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx edx, word [rdi + 0x80]
lea rax, [rbp - 0x19]
mov qword [rbp - 7], rax
lea r9, [rbp - 9]
lea rax, [0x140016b5c]
mov qword [rsp + 0x20], r14
mov r8, rbx
mov qword [rbp + 0xc], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rcx, rax
mov qword [rdi + 8], rax
lea edx, [r14 + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400136b5
xor r9d, r9d
lea rcx, [rbp + 0x17]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x1400136c3
mov rcx, qword [rdi + 8]
lea r8, [rbp + 0x17]
mov rdx, rsi
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400136b5
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400136b5
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140013664
lea r11, [rsp + 0x90]
mov eax, 1
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140014390
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
lea rbx, str.BlackBoneDrv7.sys
mov eax, dword [0x1400cb15c]
test eax, eax
je 0x140014403
cmp eax, 9
ja 0x1400143fc
cmp eax, 6
ja 0x1400143f3
jb 0x140014403
mov rcx, qword [0x1400cb160]
cmp ecx, 3
jae 0x1400143f3
lea rax, str.BlackBoneDrv8.sys
cmp ecx, 2
cmovb rax, rbx
mov rbx, rax
jmp 0x140014403
lea rbx, str.BlackBoneDrv81.sys
jmp 0x140014403
lea rbx, str.BlackBoneDrv10.sys
lea rcx, [rbp + 0x2f]
call fcn.140027f80
nop
mov r8d, 1
lea rdx, [0x1400b4510]
mov rcx, rax
call fcn.140009be4
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], di
jne 0x140014453
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.140009be4
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 0x1000
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x1400144eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rbx
jb 0x1400144e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014575
call fcn.14006c690
movdqa xmm0, xmmword [0x1400b61d0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140014534
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, rbx
jb 0x14001452f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001456f
call fcn.14006c690
movdqa xmm0, xmmword [0x1400b61d0]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
lea rcx, [rbp + 0x2f]
call fcn.140007620
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14006c670
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14007da9c
nop
call fcn.14007da9c
int3
Function at 0x140017f04
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
and qword [0x1400cb3b0], 0
lea rdx, [0x1400ab5c0]
and dword [0x1400cb3bc], 0
lea rcx, [0x1400cb3e0]
and dword [0x1400cb3c0], 0
lea rdi, [0x1400cb3b0]
and qword [0x1400cb3c8], 0
xorps xmm0, xmm0
and qword [0x1400cb3f0], 0
xorps xmm1, xmm1
and qword [0x1400cb3f8], 0
mov r8d, 1
movdqa xmmword [0x1400cb3d0], xmm0
movups xmmword [0x1400cb3e0], xmm1
mov byte [0x1400cb3b8], 1
call fcn.140008f40
and qword [0x1400cb400], 0
lea r8, [0x1400180ac]
xor ecx, ecx
mov r9, rdi
and qword [rsp + 0x28], rcx
xor edx, edx
and dword [rsp + 0x20], ecx
mov qword [0x1400cb3d0], rcx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400cb3c8], rax
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x1400180e4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.140007684
nop
lea rcx, [rsp + 0x40]
call fcn.140007684
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140018250
test byte [rbx + 0xc], 2
je 0x140018141
mov r8d, 0x47
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001818c
test byte [rbx + 0xc], 1
je 0x140018157
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001818c
mov rdi, qword [rbx + 0x50]
test rdi, rdi
je 0x14001817a
lea rcx, [rsp + 0x20]
call fcn.140005810
mov r9b, 1
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call rdi
and qword [rbx + 0x18], 0
mov ecx, 0x1337
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14001818c
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
cmp qword [rdx + 0x18], 7
mov esi, r8d
mov rax, rdx
mov rbx, rcx
jbe 0x1400181ae
mov rax, qword [rdx]
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x28], 0
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [rbx + 0x10]
mov rdi, rax
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x44], rcx
mov dword [rsp + 0x4c], 1
cmp rax, 0xffffffffffffffff
je 0x14001823d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
and qword [rsp + 0x28], 0
mov r9d, esi
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, rax
mov edx, ebx
call qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14001b380
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
xor eax, eax
mov rbx, rdx
mov edx, dword [rdx + 0xa4]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
mov rdi, rcx
movups xmmword [rsp + 0x50], xmm0
test edx, edx
jne 0x14001b3c5
cmp dword [rbx + 0xc0], eax
jne 0x14001b3c5
mov eax, dword [rbx + 0x98]
mov dword [rbx + 0xc0], eax
lea r10, [rbx + 0x78]
cmp qword [r10 + 0x18], 7
jbe 0x14001b3d3
mov r10, qword [r10]
lea r9, [rbx + 0x58]
cmp qword [r9 + 0x18], 7
jbe 0x14001b3e1
mov r9, qword [r9]
movzx eax, byte [rbx + 0xb4]
movzx ecx, byte [rbx + 0xb5]
movzx r8d, byte [rbx + 0xb6]
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x40], r9
mov r9d, dword [rbx + 0xc0]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x9c]
mov dword [rsp + 0x30], ecx
lea rcx, str.Injection_initiated._Mode:__d__process_type:__d__pid:__d__mmap_flags:_0x_X__erasePE:__d__unlink:__d__thread_hijack:__d__init_routine:__s__init_arg:__ls
mov dword [rsp + 0x28], r8d
mov r8d, dword [rbx + 0xa0]
mov dword [rsp + 0x20], eax
call fcn.14001905c
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.1400196c8
mov esi, eax
test eax, eax
jne 0x14001b52c
mov ecx, dword [rbx + 0xa8]
test ecx, ecx
je 0x14001b45c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbp, qword [rbx + 0xd0]
mov r14, qword [rbx + 0xc8]
jmp 0x14001b490
mov r8, qword [r14]
mov rdx, rbx
mov rcx, rdi
call fcn.14001b544
mov ecx, dword [rbx + 0xac]
or esi, eax
test ecx, ecx
je 0x14001b48c
call qword [sym.imp.KERNEL32.dll_Sleep]
add r14, 0x10
cmp r14, rbp
jne 0x14001b46c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001b4b4
test esi, esi
jne 0x14001b4ae
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001b4c4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x14001b51b
test byte [rbx + 0x9c], 0x10
je 0x14001b51b
mov eax, dword [rbx + 0xa4]
cmp eax, 1
je 0x14001b4e1
cmp eax, 4
jne 0x14001b51b
mov rdx, qword [rdi + 0x3a8]
lea rcx, [rdi + 0x3a0]
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x98], eax
cmp rdx, qword [rdi + 0x3b0]
je 0x14001b50e
mov dword [rdx], eax
add qword [rdi + 0x3a8], 4
jmp 0x14001b51b
lea r8, [rsp + 0x98]
call fcn.14001db1c
lea rcx, [rdi + 8]
cmp qword [rcx], 0
je 0x14001b52a
call fcn.140033d40
mov eax, esi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret