joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140098a20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400d21c0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140098a77
cmp word [rdx], r13w
jne 0x140098a77
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140098a7c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140098ba1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140098bc2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140098ab5
mov rdx, r9
mov word [rbx], cx
jmp 0x140098adc
cmp r9, r8
jae 0x140098aec
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140098a96
jmp 0x140098ba1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140098b96
cmp dword [rsp + 0x80], esi
je 0x140098b96
lea r8, [0x1400d21c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140098b6e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140098b3e
mov word [rbx], r13w
jmp 0x140098b9e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140098b4b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140098b9e
cmp word [rsp + 0x70], r13w
jne 0x140098b7b
cmp rbx, r14
je 0x140098b38
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14009897c
cmp word [rsp + 0x70], r13w
je 0x140098ba1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400d21c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140098b9b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140098ba1
Function at 0x14009b240
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14009b256
mov al, 1
jmp 0x14009b2b6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14009b267
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14009b2b4
mov ecx, dword [rcx + 0x18]
nop
call fcn.14009c808
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14009b2b4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14009b2b4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14009b2b4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14009b2b6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14009ec94
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 0x14009ecc4
xor eax, eax
jmp 0x14009ed87
mov rbp, rbx
cmp word [rax], si
je 0x14009ece9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14009ecd0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14009eccc
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.14009d6b0
movsxd r14, eax
test eax, eax
jne 0x14009ed27
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14009ecbd
mov rcx, r14
call fcn.140097064
mov rdi, rax
test rax, rax
jne 0x14009ed40
xor ecx, ecx
call fcn.140097028
jmp 0x14009ed1c
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.14009d6b0
test eax, eax
jne 0x14009ed71
mov rcx, rdi
call fcn.140097028
jmp 0x14009ed7b
xor ecx, ecx
call fcn.140097028
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 0x14009eda4
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 0x14009ee2b
mov rsi, rbx
cmp word [rax], bp
je 0x14009edea
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14009edd4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14009edd0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140097064
mov rdi, rax
test rax, rax
je 0x14009ee18
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400abed0
mov rbp, rdi
xor ecx, ecx
call fcn.140097028
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 0x1400a2340
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.140096794
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 0x1400a23e1
cmp ebx, dword [rsp + 0x30]
je 0x1400a23da
test esi, esi
je 0x1400a23da
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400a23b5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400a23c2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400a239f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400a23c6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400a23e3
mov eax, 1
jmp 0x1400a23e3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a67ec
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400d0040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400a6836
call fcn.140095e40
mov dword [rax], 0xf
call fcn.140095e60
mov dword [rax], 0xd
call fcn.140092160
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a89f0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400a6841
lea eax, [rbx + 1]
jmp 0x1400a6823
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 0x1400a6821
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400a6823
Function at 0x1400a706c
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.1400843d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400a70f6
cmp byte [rbp - 0x21], r15b
je 0x1400a70f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400a712c
call fcn.1400996e0
test eax, eax
jne 0x1400a7118
cmp byte [rbp - 0x21], r15b
je 0x1400a7110
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400a712c
cmp byte [rbp - 0x21], r15b
je 0x1400a7129
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.14008f658
test eax, eax
jne 0x1400a71cc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400843d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400a716b
cmp byte [rbp - 0x21], r15b
je 0x1400a71a0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400a71a0
call fcn.1400996e0
test eax, eax
jne 0x1400a718c
cmp byte [rbp - 0x21], r15b
je 0x1400a7185
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400a71a0
cmp byte [rbp - 0x21], r15b
je 0x1400a719d
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.14008f658
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400a71cc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400a71cf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400a71dd
mov rcx, rdi
call fcn.140097028
cmp byte [rbp + 0x3f], r15b
je 0x1400a71ec
mov rcx, qword [rbp + 0x27]
call fcn.140097028
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 0x1400a7f4c
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.14009897c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14009897c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400a809c
cmp rax, 0xffffffffffffffff
je 0x1400a809c
xor edi, edi
test rbp, rbp
jle 0x1400a8047
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140098694
mov rbx, rax
test rax, rax
jne 0x1400a7fd4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400a803d
mov edx, 0x8000
mov ecx, r14d
call fcn.140093798
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.14009aa3c
cmp eax, 0xffffffff
je 0x1400a801d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400a7fe4
mov edx, r15d
mov ecx, r14d
call fcn.140093798
jmp 0x1400a803d
cmp byte [rsi + 0x38], dil
je 0x1400a8034
cmp dword [rsi + 0x34], 5
jne 0x1400a8034
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400a803d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140097028
jmp 0x1400a80b0
jns 0x1400a80b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14009897c
cmp rax, 0xffffffffffffffff
jne 0x1400a8068
cmp byte [rsi + 0x30], dil
je 0x1400a80b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400a80b0
mov ecx, r14d
call fcn.14009c808
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400a80b0
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 0x1400a80b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400a80a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400a80ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14009897c
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 0x1400a8b10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a8b38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400a8b38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x4019d8
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, 0x1c
mov ecx, 0x11385def
call fcn.004018ef
add rsp, 0x1c
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 0x401c98
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, 0x1c
mov ecx, 0x42cdb7dd
call fcn.004018ef
add rsp, 0x1c
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 0x401d18
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, 0x1c
mov ecx, 0xf798ed1a
call fcn.004018ef
add rsp, 0x1c
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 0x401d58
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, 0x1c
mov ecx, 0xf768efe9
call fcn.004018ef
add rsp, 0x1c
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 0x401d98
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, 0x1c
mov ecx, 0x3910913
call fcn.004018ef
add rsp, 0x1c
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 0x100411cb0
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword [rsi], dword [rdi]
add eax, dword [rbp - 0x3c806fcb]
movabs al, byte [0x79f7d97e2c3ffb1]
mov ebp, 0xa8b68192
invalid
Function at 0x1400b5190
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
xor ebp, ebp
mov dword [rax - 0x58], ebp
mov dword [rax + 0x10], ebp
mov rbx, qword [0x14010dc18]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW_1]
mov rcx, rax
lea rdx, [rsp + 0x88]
call rbx
mov r13, rax
mov qword [rsp + 0x90], rax
mov dword [rdi + 8], ebp
lea rax, [0x1400fd6f8]
mov qword [rdi], rax
mov qword [rdi + 0x10], rbp
mov dword [rdi + 0x18], ebp
xor edx, edx
mov rcx, rdi
call fcn.1400ada40
nop
mov dword [rsp + 0x20], 1
test r13, r13
je 0x1400b531a
mov r15d, ebp
cmp dword [rsp + 0x88], ebp
jle 0x1400b5311
mov r12, r13
lea r13, [0x1400fdb18]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov rcx, qword [r12]
call fcn.1400b5340
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400b525b
mov ebx, dword [rsp + 0x38]
lea ebp, [rbx - 1]
jmp 0x1400b5261
mov ebx, ebp
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], ebp
mov eax, dword [rdi + 8]
mov r14d, dword [rdi + 0x18]
cmp eax, r14d
jne 0x1400b529e
shr r14d, 1
cmp r14d, 0xa
mov eax, 0xa
cmovb r14d, eax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rcx, qword [rdi]
mov r8, qword [rcx + 8]
lea edx, [rax + r14]
mov rcx, rdi
call r8
mov eax, dword [rdi + 8]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x10]
lea r14, [rax + rcx*8]
mov qword [r14], r13
mov qword [r14 + 8], 0
mov dword [r14 + 0x10], ebx
mov dword [r14 + 0x14], ebp
test ebx, ebx
je 0x1400b52df
movsxd rcx, ebx
call fcn.1400dee90
mov ebx, dword [r14 + 0x10]
mov qword [r14 + 8], rax
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
call fcn.1400dc350
inc dword [rdi + 8]
test rsi, rsi
je 0x1400b52ef
mov rcx, rsi
call fcn.1400dee7c
inc r15d
add r12, 8
cmp r15d, dword [rsp + 0x88]
mov ebp, 0
jl 0x1400b5224
mov r13, qword [rsp + 0x90]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bef80
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x14010d010]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 8]
test al, al
je 0x1400bf073
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], 0x40
mov rcx, rbx
call qword [rax + 0x60]
cmp qword [rsp + 0x20], 0x40
jne 0x1400bf073
movzx ecx, word [rsp + 0x30]
mov edx, 0x454c
movzx eax, cx
sub ax, dx
mov edx, 0xfffd
test dx, ax
je 0x1400bf06c
mov eax, 0x5a4d
cmp cx, ax
jne 0x1400bf065
mov rax, qword [rbx]
xor r8d, r8d
movsxd rdx, dword [rsp + 0x6c]
mov rcx, rbx
call qword [rax + 0x38]
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], 0xf8
mov rcx, rbx
call qword [rax + 0x60]
cmp qword [rsp + 0x20], 0xf8
jne 0x1400bf073
cmp dword [rsp + 0x70], 0x4550
jne 0x1400bf065
movzx ecx, word [rsp + 0x88]
mov edx, 0x107
movzx eax, cx
sub ax, dx
mov edx, 0xfefb
test dx, ax
jne 0x1400bf065
mov eax, 0x207
cmp cx, ax
je 0x1400bf065
xor eax, eax
jmp 0x1400bf078
mov eax, 0xfffffffc
jmp 0x1400bf078
mov eax, 0xfffffff7
jmp 0x1400bf078
mov eax, 0xfffffff5
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400d8390
add rsp, 0x180
pop rbx
ret
Function at 0x1400c7830
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x14010d010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov dword [rcx + 0x12c], 0x6a09e667
xorps xmm0, xmm0
mov dword [rcx + 0x130], 0xbb67ae85
xor ebp, ebp
mov qword [rcx + 0x10], rbp
mov rbx, r8
mov qword [rcx + 0x20], rbp
mov rsi, rdx
mov dword [rcx + 0x128], ebp
mov rdi, rcx
mov dword [rcx + 0x134], 0x3c6ef372
xor edx, edx
mov dword [rcx + 0x138], 0xa54ff53a
mov dword [rcx + 0x13c], 0x510e527f
mov dword [rcx + 0x140], 0x9b05688c
mov dword [rcx + 0x144], 0x1f83d9ab
mov dword [rcx + 0x148], 0x5be0cd19
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
movups xmmword [rcx + 0x48], xmm0
movups xmmword [rcx + 0x58], xmm0
mov rax, qword [r8]
mov rcx, rbx
xor r8d, r8d
call qword [rax + 0x38]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], ebp
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.1400c71a0
test al, al
jne 0x1400c78fc
xor eax, eax
jmp 0x1400c795d
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400c7720
test rsi, rsi
je 0x1400c795a
mov eax, dword [rdi + 0x12c]
mov dword [rsi], eax
mov eax, dword [rdi + 0x130]
mov dword [rsi + 4], eax
mov eax, dword [rdi + 0x134]
mov dword [rsi + 8], eax
mov ecx, dword [rdi + 0x138]
mov dword [rsi + 0xc], ecx
mov ecx, dword [rdi + 0x13c]
mov dword [rsi + 0x10], ecx
mov ecx, dword [rdi + 0x140]
mov dword [rsi + 0x14], ecx
mov ecx, dword [rdi + 0x144]
mov dword [rsi + 0x18], ecx
mov ecx, dword [rdi + 0x148]
mov dword [rsi + 0x1c], ecx
mov rax, rsi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400d8390
mov rbx, qword [rsp + 0x188]
add rsp, 0x150
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400cf750
Capabilities:
Clear file content

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x14010d010]
xor rax, rbp
mov qword [rbp + 8], rax
mov r9d, dword [rcx + 0x14]
lea r12, [0x1400fd690]
mov r8, qword [rcx + 8]
inc r9d
mov r15, rdx
mov r14, rcx
test r8, r8
jne 0x1400cf79d
mov r8, r12
xor esi, esi
xor edx, edx
mov dword [rsp + 0x28], esi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar_1]
movsxd rdx, eax
mov rcx, rdx
add rcx, rcx
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400cf7d1
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400eec80
mov r9d, dword [r14 + 0x14]
sub rsp, rax
mov rax, qword [r14 + 8]
inc r9d
test rax, rax
mov ecx, 0xfde9
cmovne r12, rax
mov dword [rsp + 0x28], edx
lea rbx, [rsp + 0x40]
mov r8, r12
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar_1]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rbx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW_1]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError_1]
cmp rdi, 0xffffffffffffffff
jne 0x1400cf84f
mov ecx, eax
call fcn.1400cb510
jmp 0x1400cf8a6
xor r9d, r9d
lea r8, [rbp]
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx_1]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError_1]
cmp r15, qword [rbp]
mov r14d, eax
sete sil
and ebx, esi
je 0x1400cf88d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError_1]
mov r14d, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle_1]
test ebx, ebx
jne 0x1400cf8a4
mov ecx, r14d
call fcn.1400cb510
jmp 0x1400cf8a6
xor eax, eax
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.1400d8390
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret

Function at 0x1400d0570
Capabilities:
Encode data using xor

Disassembly:
mov r8, rdx
mov r10, rcx
mov r9d, 0xf
mov qword [rdx + 0x18], r9
mov byte [rdx], 0
mov qword [rdx + 0x10], r9
xor eax, eax
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov rax, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1400d059d
mov rax, qword [rdx]
movsx ecx, byte [rax]
add ecx, 0x6b9df8
cmp qword [rdx + 0x18], 0x10
jb 0x1400d05b0
mov rdx, qword [rdx]
sub r10, rdx
mov eax, ecx
shr eax, 9
xor al, byte [r10 + rdx]
mov byte [rdx], al
imul ecx, ecx, 0xc7f5
add ecx, 0x5775931
lea rdx, [rdx + 1]
sub r9, 1
jne 0x1400d05b3
mov rax, r8
ret
Function at 0x1400d0730
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rsi, rcx
xor eax, eax
mov qword [rdx], rax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov edi, 0x12
mov edx, edi
mov rcx, rbx
call fcn.1400acf30
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400d0774
mov rax, qword [rbx]
movsx ecx, byte [rax]
add ecx, 0x670a15
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400d078a
mov rdx, qword [rbx]
sub rsi, rdx
nop dword [rax]
mov eax, ecx
shr eax, 0xc
xor al, byte [rsi + rdx]
mov byte [rdx], al
imul ecx, ecx, 0xcaf5
add ecx, 0x53bd6aa
lea rdx, [rdx + 1]
sub rdi, 1
jne 0x1400d0790
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d0920
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rsi, rcx
xor eax, eax
mov qword [rdx], rax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov edi, 0x13
mov edx, edi
mov rcx, rbx
call fcn.1400acf30
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400d0964
mov rax, qword [rbx]
movsx ecx, byte [rax]
add ecx, 0x594e6c
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400d097a
mov rdx, qword [rbx]
sub rsi, rdx
nop dword [rax]
mov eax, ecx
shr eax, 0xc
xor al, byte [rsi + rdx]
mov byte [rdx], al
imul ecx, ecx, 0xcbf5
add ecx, 0x4894f15
lea rdx, [rdx + 1]
sub rdi, 1
jne 0x1400d0980
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e19c0
Capabilities:
Parse pe header

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