joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002b730
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, [0x1800c5c10]
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 0x18002b787
cmp word [rdx], r13w
jne 0x18002b787
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18002b78c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18002b8b1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18002b8d2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18002b7c5
mov rdx, r9
mov word [rbx], cx
jmp 0x18002b7ec
cmp r9, r8
jae 0x18002b7fc
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 0x18002b7a6
jmp 0x18002b8b1
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 0x18002b8a6
cmp dword [rsp + 0x80], esi
je 0x18002b8a6
lea r8, [0x1800c5c10]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18002b87e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18002b84e
mov word [rbx], r13w
jmp 0x18002b8ae
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 0x18002b85b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18002b8ae
cmp word [rsp + 0x70], r13w
jne 0x18002b88b
cmp rbx, r14
je 0x18002b848
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18002c500
cmp word [rsp + 0x70], r13w
je 0x18002b8b1
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, [0x1800c5c10]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18002b8ab
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18002b8b1
Function at 0x18002c69c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18002c6b2
mov al, 1
jmp 0x18002c712
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18002c6c3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18002c710
mov ecx, dword [rcx + 0x18]
nop
call fcn.180032b30
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18002c710
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18002c710
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18002c710
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18002c712
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180031d98
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 0x180031dc8
xor eax, eax
jmp 0x180031e8b
mov rbp, rbx
cmp word [rax], si
je 0x180031ded
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180031dd4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180031dd0
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.180030534
movsxd r14, eax
test eax, eax
jne 0x180031e2b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180031dc1
mov rcx, r14
call fcn.180026f9c
mov rdi, rax
test rax, rax
jne 0x180031e44
xor ecx, ecx
call fcn.1800260c4
jmp 0x180031e20
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.180030534
test eax, eax
jne 0x180031e75
mov rcx, rdi
call fcn.1800260c4
jmp 0x180031e7f
xor ecx, ecx
call fcn.1800260c4
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 0x1800368c0
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.180028748
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 0x180036961
cmp ebx, dword [rsp + 0x30]
je 0x18003695a
test esi, esi
je 0x18003695a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180036935
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180036942
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18003691f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180036946
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180036963
mov eax, 1
jmp 0x180036963
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003904c
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.18001b5d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1800390d6
cmp byte [rbp - 0x21], r15b
je 0x1800390d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18003910c
call fcn.180026420
test eax, eax
jne 0x1800390f8
cmp byte [rbp - 0x21], r15b
je 0x1800390f0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18003910c
cmp byte [rbp - 0x21], r15b
je 0x180039109
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.180024240
test eax, eax
jne 0x1800391ac
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.18001b5d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18003914b
cmp byte [rbp - 0x21], r15b
je 0x180039180
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x180039180
call fcn.180026420
test eax, eax
jne 0x18003916c
cmp byte [rbp - 0x21], r15b
je 0x180039165
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x180039180
cmp byte [rbp - 0x21], r15b
je 0x18003917d
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.180024240
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1800391ac
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1800391af
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1800391bd
mov rcx, rdi
call fcn.1800260c4
cmp byte [rbp + 0x3f], r15b
je 0x1800391cc
mov rcx, qword [rbp + 0x27]
call fcn.1800260c4
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 0x180039f18
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.18002c500
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18002c500
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18003a068
cmp rax, 0xffffffffffffffff
je 0x18003a068
xor edi, edi
test rbp, rbp
jle 0x18003a013
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18002604c
mov rbx, rax
test rax, rax
jne 0x180039fa0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18003a009
mov edx, 0x8000
mov ecx, r14d
call fcn.180039d9c
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.18002b428
cmp eax, 0xffffffff
je 0x180039fe9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180039fb0
mov edx, r15d
mov ecx, r14d
call fcn.180039d9c
jmp 0x18003a009
cmp byte [rsi + 0x38], dil
je 0x18003a000
cmp dword [rsi + 0x34], 5
jne 0x18003a000
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18003a009
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800260c4
jmp 0x18003a07c
jns 0x18003a07c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18002c500
cmp rax, 0xffffffffffffffff
jne 0x18003a034
cmp byte [rsi + 0x30], dil
je 0x18003a07c
mov edi, dword [rsi + 0x2c]
jmp 0x18003a07c
mov ecx, r14d
call fcn.180032b30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18003a07c
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 0x18003a07c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18003a075
mov eax, dword [rsi + 0x2c]
jmp 0x18003a07a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18002c500
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 0x18003aaf0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18003ab18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18003ab18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140017430
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x10090
call fcn.140042d50
sub rsp, rax
mov rax, qword [0x14005a040]
xor rax, rsp
mov qword [rsp + 0x10080], rax
xor eax, eax
lea rsi, str.PYTHON_FROZEN_MODULES
mov word [rsp + 0x80], ax
lea rbx, [rsp + 0x30]
mov word [rsp + 0x30], ax
mov edi, 0x28
mov dl, 0x50
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14001749d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x140017490
cmp rcx, 1
jb 0x14001754a
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400174c0
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.140036328
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x140017480
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x140017546
lea rcx, [rsp + 0x80]
call fcn.140037afc
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.1400272a0
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
xor eax, eax
jmp 0x140017521
call fcn.14002b890
int3
Function at 0x140027c74
Capabilities:
Parse pe header

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

Function at 0x14002bbf0
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 0x14002ba5b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002ba5b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002ba5b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002ba5b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002ba5b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002ba5b
cmp dword [rcx + 0xf8], 0
je 0x14002ba5b
mov ecx, ebx
call fcn.14002bb0c
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.14002b8e8
nop
cmp dword [rbp + 0x20], 0
je 0x14002baa9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002bab4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002b9ec
Function at 0x14003c824
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 0x14003c8ab
mov rsi, rbx
cmp word [rax], bp
je 0x14003c86a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14003c854
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003c850
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003a0ac
mov rdi, rax
test rax, rax
je 0x14003c898
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400433b0
mov rbp, rdi
xor ecx, ecx
call fcn.14003847c
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 0x140040420
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140040436
mov al, 1
jmp 0x140040496
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140040447
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140040494
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003cfc8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140040494
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140040494
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140040494
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140040496
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140042c60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140042c88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140042c88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14069b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14069b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14069b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14069b06f
add dl, dl
jne 0x14069b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14069b0f6
xor eax, eax
add dl, dl
jne 0x14069b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14069b1ad
add dl, dl
jne 0x14069b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14069b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14069b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14069b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14069b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14069b07e
mov eax, 1
add dl, dl
jne 0x14069b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14069b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14069b0fb
sub eax, ebx
mov ebx, 1
jne 0x14069b14c
mov ecx, 1
add dl, dl
jne 0x14069b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14069b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14069b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14069b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14069b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14069b15d
cmp eax, 0x7d00
jae 0x14069b19b
cmp eax, 0x500
jb 0x14069b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069b07e
cmp eax, 0x7f
ja 0x14069b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14069b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14069b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400f5d20
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400f5b4c
Function at 0x140109c10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rsp + 0xb0]
mov rsi, r8
mov r15, qword [rsp + 0xa8]
mov r14, rdx
mov rbp, rcx
mov edi, dword [rbx]
test edi, edi
je 0x140109c69
test rsi, rsi
je 0x140109c69
mov eax, edi
dec rsi
mov cl, byte [rax + r15]
xor cl, byte [rbp]
inc rbp
mov byte [r14], cl
inc r14
inc edi
and edi, 0xf
jne 0x140109c48
cmp rsi, 0x10
jb 0x140109d7b
xor edi, edi
mov rax, rbp
sub rax, r15
mov dword [rsp + 0x90], edi
mov rdi, qword [rsp + 0x98]
mov r12, rsi
shr r12, 4
mov r13, r14
mov qword [rsp + 0x20], rax
sub r13, r15
imul rax, r12, 0xfffffffffffffff0
mov qword [rsp + 0x28], r12
add rsi, rax
mov rax, r12
shl rax, 4
add r14, rax
add rbp, rax
mov rcx, qword [rsp + 0xa0]
mov r8, rdi
mov rdx, r15
call qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa0]
call fcn.14010c6b4
mov r12, r15
mov edi, 2
mov r15, qword [rsp + 0x20]
lea rdx, [r15 + r12]
mov r8d, 8
lea rcx, [rsp + 0x30]
call fcn.1400df6a0
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r8d, 8
mov rdx, r12
call fcn.1400df6a0
mov rax, qword [rsp + 0x38]
lea rcx, [r12 + r13]
xor rax, rbx
lea rdx, [rsp + 0x20]
mov r8d, 8
mov qword [rsp + 0x20], rax
call fcn.1400df6a0
add r12, 8
sub rdi, 1
jne 0x140109ce4
mov rdi, qword [rsp + 0x98]
add r15, 0x10
add r13, 0x10
mov qword [rsp + 0x20], r15
sub qword [rsp + 0x28], 1
mov r15, qword [rsp + 0xa8]
jne 0x140109cb5
mov edi, dword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
mov r9, qword [rsp + 0x98]
test rsi, rsi
je 0x140109db7
mov rcx, qword [rsp + 0xa0]
mov r8, r9
mov rdx, r15
call qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa0]
call fcn.14010c6b4
mov ecx, edi
inc edi
mov al, byte [rcx + rbp]
xor al, byte [rcx + r15]
mov byte [rcx + r14], al
sub rsi, 1
jne 0x140109da2
mov dword [rbx], edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140109dd4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, qword [rsp + 0xb0]
mov rbx, r8
mov r12, qword [rsp + 0xa8]
mov r14, rdx
mov rbp, rcx
mov edi, dword [rsi]
mov dword [rsp + 0x90], edi
test edi, edi
je 0x140109e3b
test rbx, rbx
je 0x140109e34
mov eax, edi
dec rbx
mov cl, byte [rax + r12]
xor cl, byte [rbp]
inc rbp
mov byte [r14], cl
inc r14
inc edi
and edi, 0xf
jne 0x140109e13
mov dword [rsp + 0x90], edi
mov r13, qword [rsp + 0xa0]
lea rcx, [rsp + 0xa0]
mov r8d, 4
lea rdx, [r13 + 0xc]
call fcn.1400df6a0
mov r15d, dword [rsp + 0xa0]
bswap r15d
cmp rbx, 0x10
jb 0x140109f04
mov rdi, qword [rsp + 0x98]
mov eax, 0x10000000
mov rsi, rbx
shr rsi, 4
cmp rsi, rax
cmova rsi, rax
add r15d, esi
mov eax, r15d
cmp rax, rsi
jae 0x140109e9b
sub rsi, rax
xor r15d, r15d
mov r9, rdi
mov qword [rsp + 0x20], r13
mov r8, rsi
mov rdx, r14
mov rcx, rbp
call qword [rsp + 0xb8]
mov eax, r15d
lea rdx, [rsp + 0x30]
bswap eax
mov r8d, 4
mov dword [rsp + 0x30], eax
lea rcx, [r13 + 0xc]
call fcn.1400df6a0
test r15d, r15d
jne 0x140109edd
mov rcx, r13
call fcn.14010c6d4
shl rsi, 4
mov eax, 0x10000000
sub rbx, rsi
add r14, rsi
add rbp, rsi
cmp rbx, 0x10
jae 0x140109e7c
mov edi, dword [rsp + 0x90]
mov rsi, qword [rsp + 0xb0]
test rbx, rbx
je 0x140109f7f
xor edx, edx
mov rcx, r12
lea r8d, [rdx + 0x10]
call fcn.1400dfb10
mov r9, qword [rsp + 0x98]
mov r8d, 1
mov rdx, r12
mov qword [rsp + 0x20], r13
mov rcx, r12
call qword [rsp + 0xb8]
inc r15d
lea rdx, [rsp + 0xb0]
mov eax, r15d
lea rcx, [r13 + 0xc]
bswap eax
mov r8d, 4
mov dword [rsp + 0xb0], eax
call fcn.1400df6a0
test r15d, r15d
jne 0x140109f6a
mov rcx, r13
call fcn.14010c6d4
mov ecx, edi
inc edi
mov al, byte [rcx + rbp]
xor al, byte [rcx + r12]
mov byte [rcx + r14], al
sub rbx, 1
jne 0x140109f6a
mov dword [rsi], edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14010b458
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x70]
call fcn.1400dfb10
mov eax, 1
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
mov dword [rbx + 0x6c], 0x20
add rsp, 0x20
pop rbx
ret
Function at 0x14010c6f4
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rcx + 8]
mov rbp, r9
mov rdi, qword [rcx]
mov r14, r8
mov r15, rdx
mov rsi, rcx
bswap rbx
bswap rdi
cmp r9, 0x10
jb 0x14010c783
shr rbp, 4
mov r8d, 0x10
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.1400df6a0
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
bswap rax
xor rbx, rax
mov rdx, r15
mov rax, qword [rsp + 0x30]
bswap rax
xor rdi, rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
call fcn.14010ca08
mov rdi, qword [rsp + 0x28]
add r14, 0x10
mov rbx, qword [rsp + 0x20]
sub rbp, 1
jne 0x14010c72f
mov rbp, qword [rsp + 0x68]
bswap rbx
mov qword [rsi + 8], rbx
mov rbx, qword [rsp + 0x60]
bswap rdi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret