joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14033984c
Capabilities:
Clear file content

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, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140330b08
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140330b08
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14033999c
cmp rax, 0xffffffffffffffff
je 0x14033999c
xor edi, edi
test rbp, rbp
jle 0x140339947
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1403294d8
mov rbx, rax
test rax, rax
jne 0x1403398d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14033993d
mov edx, 0x8000
mov ecx, r14d
call fcn.1403226d4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14032d398
cmp eax, 0xffffffff
je 0x14033991d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1403398e4
mov edx, r15d
mov ecx, r14d
call fcn.1403226d4
jmp 0x14033993d
cmp byte [rsi + 0x38], dil
je 0x140339934
cmp dword [rsi + 0x34], 5
jne 0x140339934
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14033993d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140328d64
jmp 0x1403399b0
jns 0x1403399b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140330b08
cmp rax, 0xffffffffffffffff
jne 0x140339968
cmp byte [rsi + 0x30], dil
je 0x1403399b0
mov edi, dword [rsi + 0x2c]
jmp 0x1403399b0
mov ecx, r14d
call fcn.140332504
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1403399b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1403399b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1403399a9
mov eax, dword [rsi + 0x2c]
jmp 0x1403399ae
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140330b08
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14033ac38
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140428078]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14033ac82
call fcn.14030fe1c
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14030fe3c
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14030fcd0
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140309780
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14033ac8d
lea eax, [rbx + 1]
jmp 0x14033ac6f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14033ac6d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14033ac6f
Function at 0x14033b20c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1403188b0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14033b296
cmp byte [rbp - 0x21], r15b
je 0x14033b291
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14033b2cc
call fcn.14032bf50
test eax, eax
jne 0x14033b2b8
cmp byte [rbp - 0x21], r15b
je 0x14033b2b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14033b2cc
cmp byte [rbp - 0x21], r15b
je 0x14033b2c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140318734
test eax, eax
jne 0x14033b36c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1403188b0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14033b30b
cmp byte [rbp - 0x21], r15b
je 0x14033b340
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14033b340
call fcn.14032bf50
test eax, eax
jne 0x14033b32c
cmp byte [rbp - 0x21], r15b
je 0x14033b325
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14033b340
cmp byte [rbp - 0x21], r15b
je 0x14033b33d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140318734
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14033b36c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14033b36f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14033b37d
mov rcx, rdi
call fcn.140328d64
cmp byte [rbp + 0x3f], r15b
je 0x14033b38c
mov rcx, qword [rbp + 0x27]
call fcn.140328d64
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140011410
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001145a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001145a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001145a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001145a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001145a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001145c
xor al, al
add rsp, 0x28
ret

Function at 0x14002346c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140023268
Function at 0x14002c4c4
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14002c4f4
xor eax, eax
jmp 0x14002c5b7
mov rbp, rbx
cmp word [rax], si
je 0x14002c519
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002c500
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002c4fc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14002ac80
movsxd r14, eax
test eax, eax
jne 0x14002c557
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002c4ed
mov rcx, r14
call fcn.140027218
mov rdi, rax
test rax, rax
jne 0x14002c570
xor ecx, ecx
call fcn.140026024
jmp 0x14002c54c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14002ac80
test eax, eax
jne 0x14002c5a1
mov rcx, rdi
call fcn.140026024
jmp 0x14002c5ab
xor ecx, ecx
call fcn.140026024
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14002f280
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140028bc8
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14002f321
cmp ebx, dword [rsp + 0x30]
je 0x14002f31a
test esi, esi
je 0x14002f31a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002f2f5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002f302
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002f2df
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002f306
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002f323
mov eax, 1
jmp 0x14002f323
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003244c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140032462
mov al, 1
jmp 0x1400324c2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140032473
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400324c0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002cd2c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400324c0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400324c0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400324c0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400324c2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400334a4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001d7c4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14003352e
cmp byte [rbp - 0x21], r15b
je 0x140033529
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140033564
call fcn.140026328
test eax, eax
jne 0x140033550
cmp byte [rbp - 0x21], r15b
je 0x140033548
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140033564
cmp byte [rbp - 0x21], r15b
je 0x140033561
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400220f8
test eax, eax
jne 0x140033604
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001d7c4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400335a3
cmp byte [rbp - 0x21], r15b
je 0x1400335d8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400335d8
call fcn.140026328
test eax, eax
jne 0x1400335c4
cmp byte [rbp - 0x21], r15b
je 0x1400335bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400335d8
cmp byte [rbp - 0x21], r15b
je 0x1400335d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400220f8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140033604
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140033607
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140033615
mov rcx, rdi
call fcn.140026024
cmp byte [rbp + 0x3f], r15b
je 0x140033624
mov rcx, qword [rbp + 0x27]
call fcn.140026024
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140035700
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140035728
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140035728
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140009780
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x1400097b0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1400097d8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400097da
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140009833
test ecx, ecx
jle 0x140009813
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140009833
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140009833
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
movabs al, byte [0x29f34813a75227ce]
mov word [rbp + 0x126cd654], es
adc esi, edx
mov dword [rcx], esp
mov ah, byte [rcx]
lea esp, [rdx + 0x3e]
invalid
Function at 0x140009860
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 0x140009882
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140009891
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 0x1400098b4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400098b6
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x1400098f0
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]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140009997
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14000992b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140009971
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]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x1400099b0
cmp rbx, rax
ja 0x140009940
mov r8, rdi
test rdi, rdi
je 0x140009997
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]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14000999a
retf
Function at 0x140003080
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400df010]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400ce660
add rsp, 0x30
pop rbx
ret

Function at 0x1400050d0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 6
jb 0x1400051d2
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140005101
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.start
lea rcx, [rsp + 0x40]
call fcn.1400cdb20
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000517c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005177
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005177
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce680
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400051b2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400051ad
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400051cb
mov rcx, r8
call fcn.1400ce680
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rsp, 0x60
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400016f0
int3

Function at 0x140005df0
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub rsp, 0x308
mov rax, qword [0x1400df010]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140005ed0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0x7b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140005f01
xor r9d, r9d
xor edx, edx
mov cl, 0x7b
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140007090
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rbx, rdx
mov rdx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x1400070bd
mov r8, qword [rcx]
add r8, qword [rcx + 0x10]
mov rdx, qword [rcx]
jmp 0x1400070c4
mov r8, qword [rcx + 0x10]
add r8, rcx
lea rcx, [rsp + 0x50]
call fcn.140049f30
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400070db
mov rdi, qword [rax]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400070ee
add r8, qword [rbx]
mov rdx, qword [rbx]
jmp 0x1400070f4
add r8, rbx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140049f30
cmp qword [rax + 0x18], 8
jb 0x140007108
mov rax, qword [rax]
xor ebp, ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rdi
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov esi, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140007160
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000715b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400071ac
call fcn.1400ce680
movdqa xmm0, xmmword [0x1400d7d60]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400071b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce680
mov edi, ebp
test esi, esi
sete dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400071f6
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400071f1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000721d
mov rcx, r8
call fcn.1400ce680
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], bpl
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3