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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, str.echoBinSafe
mov qword [rbp - 0x58], rax
lea rax, [0x140031768]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov word [rbp - 0x40], 0
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.nimFrame_7
call sym.nimErrorFlag_5
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], 0xad7
lea rax, [0x14003b080]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x50], 0x12
lea rax, [0x140031fe0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x50], 0x13
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jge 0x140014d41
mov qword [rbp - 0x50], 0xad8
lea rax, [0x140031768]
mov qword [rbp - 0x48], rax
cmp qword [rbp - 8], 0
js 0x140014ca5
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jl 0x140014cbe
mov rax, qword [rbp + 0x18]
lea rdx, [rax - 1]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x140014dd2
mov rax, qword [rbp - 8]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], 0xaef
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
lea rax, [rbp - 0x70]
mov r8d, 0
mov rdx, rax
call sym.writeWindows__system_u9086
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x140014dd1
mov qword [rbp - 0x50], 0xd
lea rax, [0x140031fe0]
mov qword [rbp - 0x48], rax
add qword [rbp - 8], 1
jmp 0x140014c73
nop
mov qword [rbp - 0x50], 0xaf3
lea rax, [0x140031768]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x20], 0
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov r9, rax
mov r8d, 1
mov edx, 1
lea rax, [0x140031f79]
mov rcx, rax
call sym.fwrite
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], 0xaf4
mov dword [rbp - 0x24], 0
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
mov dword [rbp - 0x24], eax
mov qword [rbp - 0x50], 0xaf8
lea rax, [0x14003b080]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140014dd2
nop
call sym.popFrame_7
nop
add rsp, 0x90
pop rbp
ret
Function at 0x140027650
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400276c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14003b4c4]
mov rbx, rcx
test esi, esi
jle 0x1400277f0
mov rax, qword [0x14003b4c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14002770b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140027795
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400276f0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140027812
mov rax, qword [0x14003b4c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14003b4c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400277f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14002778e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400277a0
add dword [0x14003b4c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14003b4c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14002778e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140027718
mov rax, qword [0x14003b4c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140027da0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14003b520]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14003b500]
test rbx, rbx
je 0x140027dfc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140027df3
test eax, eax
jne 0x140027df3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140027dd8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140028010
Capabilities:
Parse pe header

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

Function at 0x140028040
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 0x14002808d
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 0x140028084
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14002808f
add rax, 0x28
cmp rax, r9
jne 0x140028070
xor eax, eax
ret

Function at 0x140028090
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140028120
mov rdx, qword [0x1400351f0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14002810e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14002810e
cmp word [rax + 0x18], 0x20b
jne 0x14002810e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140028120
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400280f9
add rbx, 0x28
cmp rbx, rdi
je 0x140028120
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400280f0
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 0x140028130
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400351f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140028150
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140028158
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140028150
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400281ad
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 0x1400281a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140028150
add rax, 0x28
cmp rax, r9
jne 0x140028190
xor eax, eax
ret

Function at 0x1400281b0
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x1400351f0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140028210
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140028218
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140028210
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140028260
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140028257
test rcx, rcx
je 0x140028210
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140028248
xor eax, eax
ret

Function at 0x140028270
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x1400351f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400282d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400282d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400282d0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400282d0
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 0x140028324
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140028330
add rdx, 0x28
cmp rdx, r9
jne 0x140028310
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1400351f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140028362
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140028370
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140028362
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140028362
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140028362
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 0x1400283c5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400283d8
add rdx, 0x28
cmp r10, rdx
jne 0x1400283b0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400283e7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400283f7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400283ce
test ecx, ecx
jg 0x1400283e0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140028540
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x1400351c0]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x140028578
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400285e0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x1400285f0
mov esi, dword [0x14003b5a8]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x140028648
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x140028690
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x140028567
mov rcx, rbx
call fcn.1400284a0
mov qword [rsi + r12*8 + 8], rax
jmp 0x140028567
call fcn.1400284a0
mov qword [rbx + 0x10], rax
jmp 0x140028567
mov r10d, dword [rsi]
test r10d, r10d
je 0x140028721
mov r9d, dword [0x14002f550]
test r9d, r9d
je 0x140028749
lea rcx, [0x14003b5c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14002872e
mov eax, dword [rsi]
test eax, eax
je 0x140028581
lea rcx, [0x14003b5c0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140028581
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sym.calloc
mov rsi, rax
test rax, rax
je 0x140028784
mov qword [rax], rdi
mov ecx, dword [0x14003b5a8]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400285bb
call r13
jmp 0x1400285bb
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sym.realloc
mov rsi, rax
test rax, rax
je 0x140028784
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sym.memset
jmp 0x14002866b
lea rcx, [0x14003b5c0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14002877c
lea rdx, [0x140028450]
mov ecx, eax
mov dword [0x14003b5a8], eax
call dbg.__mingwthr_key_dtor
test eax, eax
jne 0x140028784
mov dword [0x14002f550], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14002860c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x140028581
mov rax, qword [0x14003b5a0]
lea r12, [rax + 1]
mov qword [0x14003b5a0], r12
mov qword [rbx + 0x10], r12
jmp 0x140028626
lock add dword [0x14002f554], 1
je 0x1400286d9
mov r8d, dword [0x14002f550]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x14002f550]
test r8d, r8d
jne 0x140028717
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x140028770
jmp 0x140028717
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140028709
call sym.abort
nop
nop word [rax + rax]
Function at 0x14006040c
Capabilities:
Parse pe header

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

Function at 0x1400616b0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400617f8

Function at 0x1400617f8
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400617f8
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140061867
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140061867
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140061867
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140061867
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140061867
cmp dword [rcx + 0x84], 0xe
jbe 0x140061867
cmp dword [rcx + 0xf8], 0
je 0x140061867
mov ecx, ebx
call fcn.140061730
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14006198c
nop
cmp dword [rbp + 0x20], 0
je 0x1400618b5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400617c4
int3

Function at 0x140062df0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140062e18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140062e18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14006891c
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 0x14006894c
xor eax, eax
jmp 0x140068a0f
mov rbp, rbx
cmp word [rax], si
je 0x140068971
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140068958
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140068954
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.14006883c
movsxd r14, eax
test eax, eax
jne 0x1400689af
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140068945
mov rcx, r14
call fcn.1400673dc
mov rdi, rax
test rax, rax
jne 0x1400689c8
xor ecx, ecx
call fcn.1400663b0
jmp 0x1400689a4
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.14006883c
test eax, eax
jne 0x1400689f9
mov rcx, rdi
call fcn.1400663b0
jmp 0x140068a03
xor ecx, ecx
call fcn.1400663b0
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 0x1744ff0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1744ffa
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1745023
pop rbp
sub rbp, 0x33
sub rbp, 0x1344ff0
sub rsp, 0x20
jmp 0x1745042
mov rax, 0x1344ff0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6a5b33e5
xor byte [rax], dl
inc rax
dec rcx
jne 0x1745061
jmp 0x1745078
lodsd eax, dword [rsi]
insb byte [rdi], dx
or al, 0x6e
insb byte [rdi], dx
fxam
in eax, 0xe5
lodsd eax, dword [rsi]
and al, 0xed
in al, 0xe5
in eax, 0xad
in al, 0xc
lodsd eax, dword [rsi]
and ah, byte [0xffffffffe75a3672]
lodsd eax, dword [rsi]
and ah, byte [rdi]
int 0xe5
in eax, 0xe5
lodsd eax, dword [rsi]
adc al, byte [rdi]
lodsd eax, dword [rsi]
in al, 0x24
outsb dx, byte [rsi]
jmp 0xffffffffaf5a368b
Function at 0x140973058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409731df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140973089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14097306f
add dl, dl
jne 0x140973096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409730f6
xor eax, eax
add dl, dl
jne 0x1409730a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409731ad
add dl, dl
jne 0x1409730b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409730c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409730d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409730dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409730ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14097307e
mov eax, 1
add dl, dl
jne 0x140973106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140973113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409730fb
sub eax, ebx
mov ebx, 1
jne 0x14097314c
mov ecx, 1
add dl, dl
jne 0x14097312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14097313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140973123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140973168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140973175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14097315d
cmp eax, 0x7d00
jae 0x14097319b
cmp eax, 0x500
jb 0x140973196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097307e
cmp eax, 0x7f
ja 0x14097319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409731d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14097307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400011c0
Capabilities:
Execute command

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, qword [rcx + 0x10]
mov rsi, rcx
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rbp
cmp rax, 0x10
jb 0x140001356
cmp qword [rsi + 0x18], 0xf
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x50], r14
jbe 0x140001213
mov rsi, qword [rsi]
lea r14, [rbp + 0x10]
mov ebx, 0xf
lea rdi, [rsp + 0x28]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x28], xmm0
movdqu xmmword [rsp + 0x38], xmm1
cmp r14, rbx
jbe 0x1400012b1
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001273
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.1400042a0
test rax, rax
je 0x140001324
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400012ac
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14000128c
xor edi, edi
jmp 0x1400012ac
cmp rcx, 0x1000
jb 0x1400012a4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000135c
jmp 0x140001254
call fcn.1400042a0
mov rdi, rax
mov qword [rsp + 0x28], rdi
movups xmm0, xmmword [str.taskkill__f__im]
mov qword [rsp + 0x38], r14
lea rcx, [rdi + 0x10]
mov qword [rsp + 0x40], rbx
mov r8, rbp
mov rdx, rsi
movups xmmword [rdi], xmm0
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140001330
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000132b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000132b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400042dc
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004280
add rsp, 0x58
pop rsi
pop rbp
ret
call fcn.1400011a0
int3
call fcn.140001100
int3