joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7c007fa0
Capabilities:
Encode data using add xor sub operations

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov eax, 0x53d5
mov qword [rbp + 0x58], 0x2d19
mov dword [rbp + 0x54], 0x1cdd
mov edx, dword [rbp - 4]
mov dword [rbp + 0x14], 0x2072
mov r8, qword [rbp + 0x58]
add r8, 0xfffffffffffff852
mov qword [rbp + 0x48], r8
mov r8, qword [rbp + 0x28]
mov qword [rbp - 0x20], rcx
mov rcx, r8
mov r9, r8
shl r9, cl
mov qword [rbp + 0x28], r9
mov r10d, dword [rbp + 0x14]
xor r10d, 0x4179
cmp eax, r10d
mov qword [rbp - 0x28], r8
mov dword [rbp - 0x2c], edx

Function at 0x7c008240
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov eax, 0xbe5f
mov ecx, eax
mov eax, 0xbf15
mov edx, eax
mov qword [rbp - 8], 0x586e
mov dword [rbp - 0xc], 0x57ca
mov dword [rbp - 0x14], 0x29f8
sub rdx, qword [rbp - 8]
mov r8, qword [rbp - 0x20]
mov r9, r8
add r9, rdx
mov qword [rbp - 0x20], r9
mov eax, dword [rbp - 0x10]
mov qword [rbp - 0x30], 0x71ae
mov r10d, eax
or r10d, r10d
mov dword [rbp - 0x10], r10d
sub rcx, qword [rbp - 8]
sub rcx, r8
mov qword [rbp - 0x20], rcx
mov r10d, dword [rbp - 0x14]
mov rcx, qword [rbp - 0x30]
mov rdx, r8
xor rdx, 0xffffffffffffffff
mov r9, qword [rbp - 8]
add r9, 0xffffffffffffc131
imul rcx, r9
mov qword [rbp - 0x20], rdx
and r10d, 0x215d
mov r11d, dword [rbp - 0xc]
add r11d, 0xffffd4b2
cmp r10d, r11d
mov dword [rbp - 0x34], eax
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x48], rcx
jae 0x7c0082fc
mov eax, 0x7bd2
mov ecx, eax
mov rdx, qword [rbp - 0x40]
mov qword [rbp - 0x20], rdx
mov r8, qword [rbp - 0x48]
cmp rcx, r8
jb 0x7c008326
mov eax, 0xd1fd
mov ecx, dword [rbp - 0x14]
xor ecx, 0x2dfc
sub eax, dword [rbp - 0xc]
cmp eax, ecx
jbe 0x7c0082fc
call fcn.7c008760
xor ecx, ecx
mov edx, ecx
mov dword [rbp - 0x4c], eax
mov rax, rdx
add rsp, 0x70
pop rbp
ret
mov eax, dword [rbp - 0xc]
xor eax, 0x578b
mov qword [rbp - 0x20], 0x62b3
lea rcx, [0x7c04d2b0]
mov edx, eax
call fcn.7c0042b0
mov edx, dword [rbp - 0x34]
or edx, edx
mov dword [rbp - 0x10], edx
mov qword [rbp - 0x28], rax
mov edx, dword [rbp - 0x34]
not edx
mov dword [rbp - 0x10], edx
mov rax, qword [rbp - 0x28]
add rsp, 0x70
pop rbp
ret
Function at 0x140016ab0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov edi, edx
mov rsi, rcx
mov eax, 0x6fabb9d7
add eax, 0x90544810
mov dword [rsp + 0x20], eax
jmp 0x140016d32
mov eax, 0x794
shr eax, 2
mov ecx, 0x794
shl ecx, 0x1e
or eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x140016afa
call fcn.14006389a
xor ecx, ecx
shl ecx, 1
xor edx, edx
shr edx, 0x1f
or ecx, edx
cmp eax, ecx
jne 0x140016ace
jmp 0x140016bfb
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
cmp ecx, 0x1e5
jl 0x140016c33
jmp 0x140016aff
mov eax, 0x63dae5d2
add eax, 0x9c251a2e
cmp edi, eax
sete al
and al, 1
mov byte [rsp + 0x27], al
mov eax, 0x7e270f32
sub eax, 0x7e270d50
mov dword [rsp + 0x20], eax
jmp 0x140016b55
jmp 0x140016d2b
call fcn.14005886c
mov ecx, 0x754b6f4c
xor ecx, 0x754b6f4c
cmp eax, ecx
je 0x140016b17
jmp 0x140016c4f
call fcn.14006386d
mov ecx, 0x11fc6947
add ecx, 0xee0396b9
mov edx, 0xc000003c
shr edx, 0x1d
mov r8d, 0xc000003c
shl r8d, 3
or edx, r8d
mov dword [rsp + 0x20], edx
cmp eax, ecx
jne 0x140016b5a
jmp 0x140016baa
call fcn.14006382e
xor edx, edx
shr edx, 1
xor ecx, ecx
shl ecx, 0x1f
or edx, ecx
mov ecx, dword [rsp + 0x20]
cmp eax, edx
jne 0x140016d2d
jmp 0x140016c93
jmp 0x140016d2b
cmp ecx, 0x1e8
jl 0x140016cad
jmp 0x140016b41
call fcn.1400583f3
mov ecx, 0x70f41bd9
sub ecx, 0x70f41bd9
cmp eax, ecx
jne 0x140016ceb
jmp 0x140016b5a
call fcn.1400638e9
xor ecx, ecx
test eax, eax
setne cl
mov dword [rsp + 0x20], 0x1e5
lea rax, case.0x140016c20.0
mov rax, qword [rax + rcx*8]
add rax, 0xfffffffffff1aad8
jmp rax
cmp ecx, 0x1e7
jl 0x140016cfe
jmp 0x140016baf
cmp ecx, 0x1e4
je 0x140016cdb
test byte [rsp + 0x27], 1
jne 0x140016ae6
jmp 0x140016bbd
call fcn.140063915
xor ecx, ecx
shr ecx, 2
xor edx, edx
shl edx, 0x1e
or ecx, edx
xor edx, edx
shr edx, 0x1a
xor r8d, r8d
shl r8d, 6
or edx, r8d
cmp edi, edx
sete dl
and dl, 1
mov byte [rsp + 0x27], dl
mov edx, 0xf1473cec
xor edx, 0xf1473d0e
mov dword [rsp + 0x20], edx
cmp eax, ecx
jne 0x140016c4f
jmp 0x140016b3c
mov eax, dword [rsp + 0x20]
jmp 0x140016b89
cmp ecx, 0x1e6
jl 0x140016b09
jmp 0x140016c22
lea rax, vtable.std::exception.0
mov qword [rsi], rax
mov rcx, rsi
add rcx, 8
call fcn.1400b061c
mov eax, 0xd0000003
shr eax, 0x19
mov ecx, 0xd0000003
shl ecx, 7
or eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x140016d2b
mov eax, 0x61af1bf4
sub eax, 0x61af1a0f
mov dword [rsp + 0x20], eax
jmp 0x140016d2b
mov eax, 0x7710789a
sub eax, 0x771076b4
mov dword [rsp + 0x20], eax
jmp 0x140016bd5
movabs rdx, 0x45ccaea6af5fae89
movabs rax, 0xba33515950a0518f
add rdx, rax
mov rcx, rsi
call fcn.14008649c
mov eax, 0x32bd793
add eax, 0xfcd42a51
mov dword [rsp + 0x20], eax
jmp 0x140016d32
jmp 0x140016c9c
call fcn.1400637d8
xor ecx, ecx
shl ecx, 0xe
xor edx, edx
shr edx, 0x12
or ecx, edx
cmp eax, ecx
jne 0x140016c93
jmp 0x140016b89
add byte [rax], al
cwde
retf 0x4005
add byte [rbp + 0x14005be], dl
add byte [rax], al
add dh, bh
lodsb al, byte [rsi]
add eax, 0x140
add byte [rax + 6], bl
invalid
add dword [rax], eax
add byte [rax], al
jnp 0x1400fc0ee
add eax, 0x140
add byte [rdi + rdx*8 + 0x14005], cl
add byte [rax], al
invalid
Function at 0x140032e40
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov eax, 0x20000001
shr eax, 0x18
mov ecx, 0x20000001
shl ecx, 8
or eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x140032eed
mov eax, dword [rsi + 0x14]
mov dword [rsp + 0x2c], eax
mov eax, 0x39f50528
sub eax, 0x39f50407
mov dword [rsp + 0x28], eax
jmp 0x140032f0d
call fcn.14005886c
mov ecx, 0x10e54da7
xor ecx, 0x10e54da7
mov edx, dword [rsp + 0x2c]
mov r8d, 0x6b8b9e66
add r8d, 0x9474619b
cmp edx, r8d
sete dl
and dl, 1
mov byte [rsp + 0x27], dl
mov edx, 0x2bb7b657
add edx, 0xd4484ac8
mov dword [rsp + 0x28], edx
cmp eax, ecx
je case.default.0x140032ee2
mov eax, dword [0x140114410]
add eax, 0xbf3337f2
cdqe
lea rcx, case.0x140017fd7.0
mov rax, qword [rcx + rax*8]
mov ecx, dword [0x140114414]
rol ecx, 0xe
sub rax, rcx
jmp rax
cmp eax, 0x121
jl 0x140032ef3
jmp 0x140032f48
mov eax, dword [rsp + 0x28]
jmp 0x140032ee4
cmp eax, 0x120
je 0x140032e63
mov al, byte [rsp + 0x27]
and al, 1
movzx eax, al
add rsp, 0x30
pop rsi
ret
jmp 0x140032eed
mov eax, dword [rsp + 0x2c]
mov ecx, 0x10
shr ecx, 4
mov edx, 0x10
shl edx, 0x1c
or ecx, edx
cmp eax, ecx
sete al
and al, 1
mov byte [rsp + 0x27], al
mov eax, 0x8f80
shl eax, 0x19
mov ecx, 0x8f80
shr ecx, 7
or eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x140032f5c
call fcn.140071d3e
mov ecx, 0x345bc7cb
sub ecx, 0x345bc7cb
cmp eax, ecx
jne 0x140032f0f
jmp case.default.0x140032ee2

Function at 0x140033730
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rsi, r9
mov qword [rsp + 0xb0], r8
mov rbx, rdx
mov r14, rcx
mov r15, qword [rsp + 0x158]
mov r12, qword [rsp + 0x150]
mov r13, qword [rsp + 0x140]
mov rax, qword [0x140117040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
call fcn.140072089
mov ecx, 0x1780a2cd
add ecx, 0xe87f5d33
cmp eax, ecx
jne 0x140033cea
jmp 0x140033d74
call fcn.1400720ba
mov ecx, 0x84533686
xor ecx, 0x84533686
mov edx, 0x615b4620
sub edx, 0x615b45cb
mov dword [rsp + 0x20], edx
cmp eax, ecx
jne 0x140033d74
jmp 0x140034477
mov eax, 0x54000001
shr eax, 0x1a
mov ecx, 0x54000001
shl ecx, 6
or eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x140033cea
jmp 0x140034648
Function at 0x14008dd24
Capabilities:
Parse pe header

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

Function at 0x1400947f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400a1d08
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400a1d3a
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400a1d1d
mov rax, r8
ret

Function at 0x1400ae708
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.1400b3708
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400ae75a
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x1400ae75a
sub ecx, 1
je 0x1400ae753
cmp ecx, 1
je 0x1400ae74c
xor eax, eax
jmp 0x1400ae75f
mov eax, 3
jmp 0x1400ae75f
mov eax, 1
jmp 0x1400ae75f
mov eax, 2
add rsp, 0x28
ret

Function at 0x1400bb064
Capabilities:
Parse pe header

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

Function at 0x1400bb1ac
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400bb1ac
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 0x1400bb21b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400bb21b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400bb21b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400bb21b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400bb21b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400bb21b
cmp dword [rcx + 0xf8], 0
je 0x1400bb21b
mov ecx, ebx
call fcn.1400bb0e4
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.1400bb340
nop
cmp dword [rbp + 0x20], 0
je 0x1400bb269
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400bb178
int3
Function at 0x1400be0c0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x1400be0df
call fcn.1400cdaa0
jmp 0x1400be194
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.1400b06e0
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x1400be12a
cmp byte [rbp - 0x38], 0
je 0x1400be15f
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400be15f
call fcn.1400c5728
test eax, eax
jne 0x1400be14b
cmp byte [rbp - 0x38], al
je 0x1400be143
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400be15f
cmp byte [rbp - 0x38], 0
je 0x1400be15c
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.1400b0bbc
test eax, eax
je 0x1400be178
or ebx, 0xffffffff
jmp 0x1400be183
mov rcx, qword [rbp - 0x20]
call fcn.1400cdaa0
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x1400be192
mov rcx, qword [rbp - 0x20]
call fcn.1400c4ae0
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret

Function at 0x1400c15f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c1618
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400c1618
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400cc890
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.1400c4d4c
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 0x1400cc931
cmp ebx, dword [rsp + 0x30]
je 0x1400cc92a
test esi, esi
je 0x1400cc92a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400cc905
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400cc912
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400cc8ef
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400cc916
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400cc933
mov eax, 1
jmp 0x1400cc933
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400cd498
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 0x1400cd4c8
mov rbp, rbx
cmp word [rax], si
je 0x1400cd4ed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400cd4d4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400cd4d0
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.1400c4c0c

Function at 0x1400cd5a8
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 0x1400cd62f
mov rsi, rbx
cmp word [rax], bp
je 0x1400cd5ee
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400cd5d8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400cd5d4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400c4b1c
mov rdi, rax
test rax, rax
je 0x1400cd61c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400d8570
mov rbp, rdi
xor ecx, ecx
call fcn.1400c4ae0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
cmp byte [rax - 0x75], cl
je 0x1400cd661
add rsp, 0x20

Function at 0x1400cd644
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400cd64c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14

Function at 0x1400cd64c
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400cd64c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
Function at 0x1400d0068
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400d007e
mov al, 1
jmp 0x1400d00de
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400d008f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400d00dc
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400cdacc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400d00dc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400d00dc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400d00dc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400d00de
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400d68b0
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, [0x140119ee0]
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 0x1400d6907
cmp word [rdx], r13w
jne 0x1400d6907
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400d690c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400d6a31
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400d6a52
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400d6945
mov rdx, r9
mov word [rbx], cx
jmp 0x1400d696c
cmp r9, r8
jae 0x1400d697c
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 0x1400d6926
jmp 0x1400d6a31
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 0x1400d6a26
cmp dword [rsp + 0x80], esi
je 0x1400d6a26
lea r8, [0x140119ee0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400d69fe
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400d69ce
mov word [rbx], r13w
jmp 0x1400d6a2e
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 0x1400d69db
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400d6a2e
cmp word [rsp + 0x70], r13w
jne 0x1400d6a0b
cmp rbx, r14
je 0x1400d69c8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400d5e6c
cmp word [rsp + 0x70], r13w
je 0x1400d6a31
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, [0x140119ee0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400d6a2b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400d6a31
Function at 0x1400d796c
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.1400d5e6c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400d5e6c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400d7abc
cmp rax, 0xffffffffffffffff
je 0x1400d7abc
xor edi, edi
test rbp, rbp
jle 0x1400d7a67
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400c6a44
mov rbx, rax
test rax, rax
jne 0x1400d79f4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400d7a5d
mov edx, 0x8000
mov ecx, r14d
call fcn.1400be3a8
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.1400cf36c
cmp eax, 0xffffffff
je 0x1400d7a3d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400d7a04
mov edx, r15d
mov ecx, r14d
call fcn.1400be3a8
jmp 0x1400d7a5d
cmp byte [rsi + 0x38], dil
je 0x1400d7a54
cmp dword [rsi + 0x34], 5
jne 0x1400d7a54
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400d7a5d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400c4ae0
jmp 0x1400d7ad0
jns 0x1400d7ad0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400d5e6c
cmp rax, 0xffffffffffffffff
jne 0x1400d7a88
cmp byte [rsi + 0x30], dil
je 0x1400d7ad0
mov edi, dword [rsi + 0x2c]
jmp 0x1400d7ad0
mov ecx, r14d
call fcn.1400cdacc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400d7ad0
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 0x1400d7ad0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400d7ac9
mov eax, dword [rsi + 0x2c]
jmp 0x1400d7ace
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400d5e6c
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 0x140028974
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.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
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.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
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 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
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 0x140029bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x100411cd0
Capabilities:
Encode data using xor

Disassembly:
add dword [rax - 0x66], edi
sub al, 0x75
enter 0xffffffffffffe29b, 0xffffffffffffffbd
int3
xchg ebp, eax
movabs al, byte [0xa59295a1865fa4a8]
xchg esi, eax
pop rdi
xchg byte [rcx - 0x5b5981a1], ch
cmpsb byte [rsi], byte [rdi]
movsb byte [rdi], byte [rsi]
jg 0x100411c84
movsd dword [rdi], dword [rsi]
invalid