joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140055590
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1400ce430]
xorps xmm0, xmm0
add rcx, 1
js 0x1400555ab
cvtsi2ss xmm0, rcx
jmp 0x1400555c0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1400ce420]
call fcn.140082178
movss xmm1, dword [0x1400bce24]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400555f2
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400555f2
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1400ce458]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x14005562b
cmp rdx, 0x200
jae 0x140055628
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x14005562b
mov rdx, rcx
add rsp, 0x28
jmp 0x140055660
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14005580e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400ce428]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400ce438]
lea rdx, [rdi + rdi]
call fcn.1400550a0
mov rax, qword [0x1400ce428]
lea r9, [rdi - 1]
mov qword [0x1400ce450], r9
mov qword [0x1400ce458], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140055803
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400ce438]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14005574f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400557c4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14005578c
mov r10, qword [rdx]
cmp r10, rax
je 0x140055786
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400557c4
cmp r9, rdx
je 0x1400557a0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400557d8
cmp r9, rdx
jne 0x140055791
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400557fe
mov r9, qword [0x1400ce450]
jmp 0x140055700
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400557c4
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.14005673c
int3
Function at 0x140055660
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1400ce430]
xorps xmm0, xmm0
add rcx, 1
js 0x1400555ab
cvtsi2ss xmm0, rcx
jmp 0x1400555c0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1400ce420]
call fcn.140082178
movss xmm1, dword [0x1400bce24]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400555f2
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400555f2
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1400ce458]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x14005562b
cmp rdx, 0x200
jae 0x140055628
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x14005562b
mov rdx, rcx
add rsp, 0x28
jmp 0x140055660
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14005580e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400ce428]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400ce438]
lea rdx, [rdi + rdi]
call fcn.1400550a0
mov rax, qword [0x1400ce428]
lea r9, [rdi - 1]
mov qword [0x1400ce450], r9
mov qword [0x1400ce458], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140055803
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400ce438]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14005574f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400557c4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14005578c
mov r10, qword [rdx]
cmp r10, rax
je 0x140055786
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400557c4
cmp r9, rdx
je 0x1400557a0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400557d8
cmp r9, rdx
jne 0x140055791
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400557fe
mov r9, qword [0x1400ce450]
jmp 0x140055700
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400557c4
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.14005673c
int3
Function at 0x140055db0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x240
mov rax, qword [0x1400cb058]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
jne 0x140055df8
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x140055e77
mov r8d, 0x80
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rbx], rsi
lea rax, [rsp + 0x30]
mov qword [rbx + 0x10], rsi
mov rdx, 0xffffffffffffffff
mov qword [rbx + 0x18], 7
mov word [rbx], si
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], si
jne 0x140055e30
mov rcx, rbx
cmp rdx, 7
ja 0x140055e6d
mov qword [rbx + 0x10], rdx
mov qword [rsp + 0x258], rdi
lea rdi, [rdx + rdx]
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.14005aad0
mov word [rdi + rbx], si
mov rdi, qword [rsp + 0x258]
jmp 0x140055e77
lea r9, [rsp + 0x30]
call fcn.140007a00
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rsi
ret

Function at 0x140059698
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400596e2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400596e2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400596e2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400596e2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400596e2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400596e4
xor al, al
add rsp, 0x28
ret
Function at 0x1400611f4
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.140059300
sub rsp, rax
mov rax, qword [0x1400cb058]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140071918
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140061243
mov rax, rbp
jmp 0x14006134b
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xcdad0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140072990
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xcdad0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140061347
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 0x140061347
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140072990
test rax, rax
js 0x140061347
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140061347
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140061339
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140061339
cmp byte [rcx], 0xd
jne 0x14006131f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14006132e
cmp byte [rcx + 1], 0xa
jne 0x14006132e
inc rcx
jmp 0x14006132e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xcb450]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140061301
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14006134b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140058630
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 0x14006a030
Capabilities:
Parse pe header

Disassembly:
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 0x140069e8f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140069e8f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140069e8f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140069e8f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140069e8f
cmp dword [rcx + 0x84], 0xe
jbe 0x140069e8f
cmp dword [rcx + 0xf8], 0
je 0x140069e8f
mov ecx, ebx
call fcn.140069f4c
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.140069d1c
nop
cmp dword [rbp + 0x20], 0
je 0x140069edd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140069ee8
int3
xor r8d, r8d
xor edx, edx
jmp 0x140069e20
Function at 0x140073034
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, [0x1400cdad0]
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 0x140073092
cmp word [rdx], r12w
jne 0x140073092
or byte [rax + r8*8 + 0x38], cl
jmp 0x140073098
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400731f3
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400731ce
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400730d1
mov rcx, r9
jmp 0x1400730f4
cmp r9, rdx
jae 0x14007310b
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 0x1400730b5
jmp 0x1400731f3
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 0x1400731c8
cmp dword [rsp + 0x80], edi
je 0x1400731c8
mov rdx, r14
lea r11, [0x1400cdad0]
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 0x1400731a1
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140073174
mov word [rbx], r12w
jmp 0x1400731ef
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 0x14007317d
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400731ef
cmp word [rsp + 0x70], r12w
jne 0x1400731ae
cmp rbx, rsi
je 0x14007316e
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140072998
cmp word [rsp + 0x70], r12w
je 0x1400731f3
mov word [rbx], r13w
jmp 0x1400731ef
lea r11, [0x1400cdad0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400731eb
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400731f3
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 0x140073a48
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 0x140073a7a
call fcn.14006afb0
mov dword [rax], 0x16
call fcn.14005f1e8
jmp 0x140073b99
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140073b99
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140073b99
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140073aa9
lock or dword [rcx + 0x14], 0x10
jmp 0x140073b99
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140073abd
call fcn.140073bb4
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140071918
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1400734e0
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140073b87
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140073b52
mov rcx, rsi
call fcn.140071918
cmp eax, edi
je 0x140073b3d
mov rcx, rsi
call fcn.140071918
cmp eax, 0xfffffffe
je 0x140073b3d
mov rcx, rsi
call fcn.140071918
movsxd rbx, eax
lea r14, [0x1400cdad0]
mov rcx, rsi
sar rbx, 6
call fcn.140071918
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140073b44
lea rdx, [0x1400cb400]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140073b52
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140073b76
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140073b76
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140073b76
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 0x140073b9c
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 0x140079ac8
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 0x140079af8
xor eax, eax
jmp 0x140079bbb
mov rbp, rbx
cmp word [rax], si
je 0x140079b1d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140079b04
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140079b00
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.14007824c
movsxd r14, eax
test eax, eax
jne 0x140079b5b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140079af1
mov rcx, r14
call fcn.1400753a8
mov rdi, rax
test rax, rax
jne 0x140079b74
xor ecx, ecx
call fcn.1400726a4
jmp 0x140079b50
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.14007824c
test eax, eax
jne 0x140079ba5
mov rcx, rdi
call fcn.1400726a4
jmp 0x140079baf
xor ecx, ecx
call fcn.1400726a4
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 0x140080808
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.140072998
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140072998
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140080958
cmp rax, 0xffffffffffffffff
je 0x140080958
xor edi, edi
test rbp, rbp
jle 0x140080903
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14007262c
mov rbx, rax
test rax, rax
jne 0x140080890
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400808f9
mov edx, 0x8000
mov ecx, r14d
call fcn.14006ea88
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.14007231c
cmp eax, 0xffffffff
je 0x1400808d9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400808a0
mov edx, r15d
mov ecx, r14d
call fcn.14006ea88
jmp 0x1400808f9
cmp byte [rsi + 0x38], dil
je 0x1400808f0
cmp dword [rsi + 0x34], 5
jne 0x1400808f0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400808f9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400726a4
jmp 0x14008096c
jns 0x14008096c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140072998
cmp rax, 0xffffffffffffffff
jne 0x140080924
cmp byte [rsi + 0x30], dil
je 0x14008096c
mov edi, dword [rsi + 0x2c]
jmp 0x14008096c
mov ecx, r14d
call fcn.14007a3a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14008096c
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 0x14008096c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140080965
mov eax, dword [rsi + 0x2c]
jmp 0x14008096a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140072998
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 0x18000a1d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, edx
mov edi, 0x40
shl rax, 4
mov rbx, rcx
cmp rax, 0x400
cmovbe edi, edx
cmp edi, dword [rcx]
je 0x18000a346
mov rax, qword [0x180130408]
test rax, rax
je 0x18000a207
call rax
mov ecx, edi
shl rcx, 4
call fcn.180005ac0
mov rcx, qword [0x180130410]
mov rdi, rax
test rcx, rcx
je 0x18000a223
call rcx
test rdi, rdi
je 0x18000a346
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], rsi
call fcn.180005f50
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x180128f80]
movsxd rsi, eax
xor edx, edx
shr rsi, 4
mov rcx, rdi
mov r8d, esi
shl r8, 4
mov dword [rbx], esi
call fcn.1800d1640
mov rcx, qword [rbx + 8]
xor r10d, r10d
mov qword [rbx + 8], r10
test rcx, rcx
je 0x18000a331
lea r11, [0x180112820]
nop dword [rax]
mov r9, qword [rcx + 0x18]
mov eax, r10d
movzx edx, byte [r9]
test dl, dl
je 0x18000a2b1
nop
movzx edx, dl
lea r9, [r9 + 1]
movzx r8d, byte [rdx + r11]
lea edx, [rax*8]
xor r8d, edx
movzx edx, byte [r9]
xor eax, r8d
test dl, dl
jne 0x18000a290
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x18000a309
mov eax, dword [r8]
test eax, eax
je 0x18000a2d1
mov rdx, qword [r8 + 8]
jmp 0x18000a2d4
mov rdx, r10
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x18000a309
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x18000a2ff
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x18000a325
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x18000a325
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x18000a31d
mov qword [rax + 8], rcx
mov qword [rcx + 8], r10
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x18000a280
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x18000a360
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r11, qword [rcx + 0x10]
lea rsi, [0x180112820]
xor r9d, r9d
mov rdi, rdx
mov rbx, rcx
test r11, r11
je 0x18000a3cd
movzx eax, byte [rdx]
mov r10, rdx
test al, al
je 0x18000a3b2
movzx eax, al
lea r10, [r10 + 1]
movzx ecx, byte [rax + rsi]
lea eax, [r9*8]
xor ecx, eax
movzx eax, byte [r10]
xor r9d, ecx
test al, al
jne 0x18000a392
mov eax, r9d
xor edx, edx
div dword [rbx]
mov eax, edx
shl rax, 4
add rax, r11
mov r9d, edx
mov r11, qword [rax + 8]
mov ebx, dword [rax]
jmp 0x18000a3d4
mov r11, qword [rcx + 8]
mov ebx, dword [rcx + 4]
mov dword [r8], r9d
test ebx, ebx
je 0x18000a440
nop dword [rax + rax]
mov r10, qword [r11 + 0x18]
dec ebx
mov r8, rdi
movzx r9d, byte [r10]
test r9b, r9b
je 0x18000a425
movzx eax, r9b
sub r10, rdi
nop dword [rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + rsi]
cmp byte [rcx + rsi], al
jne 0x18000a425
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x18000a400
movzx eax, byte [r8]
movzx ecx, byte [rax + rsi]
movzx eax, r9b
movzx eax, byte [rax + rsi]
cmp eax, ecx
je 0x18000a452
mov r11, qword [r11]
test ebx, ebx
jne 0x18000a3e0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret