joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d890
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001d8a6
mov al, 1
jmp 0x14001d906
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001d8b7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001d904
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400185a0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001d904
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x14001d904
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x14001d904
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001d906
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14002038c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14003e018]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400203d6
call fcn.140015374
mov dword [rax], 0xf
call fcn.140015394
mov dword [rax], 0xd
call fcn.14001ae14
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000bd30
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400203e1
lea eax, [rbx + 1]
jmp 0x1400203c3
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 0x1400203c1
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400203c3
Function at 0x140022f0c
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 0x140022f3c
xor eax, eax
jmp 0x140022fff
mov rbp, rbx
cmp word [rax], si
je 0x140022f61
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140022f48
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140022f44
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.140020438
movsxd r14, eax
test eax, eax
jne 0x140022f9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
jmp 0x140022f35
mov rcx, r14
call fcn.14001db2c
mov rdi, rax
test rax, rax
jne 0x140022fb8
xor ecx, ecx
call fcn.14001ae7c
jmp 0x140022f94
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.140020438
test eax, eax
jne 0x140022fe9
mov rcx, rdi
call fcn.14001ae7c
jmp 0x140022ff3
xor ecx, ecx
call fcn.14001ae7c
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 0x14002301c
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 0x1400230a3
mov rsi, rbx
cmp word [rax], bp
je 0x140023062
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002304c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140023048
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001db2c
mov rdi, rax
test rax, rax
je 0x140023090
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000cab0
mov rbp, rdi
xor ecx, ecx
call fcn.14001ae7c
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 0x140027a84
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.14001596c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140027b0e
cmp byte [rbp - 0x21], r15b
je 0x140027b09
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140027b44
call fcn.14001f354
test eax, eax
jne 0x140027b30
cmp byte [rbp - 0x21], r15b
je 0x140027b28
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140027b44
cmp byte [rbp - 0x21], r15b
je 0x140027b41
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.140015454
test eax, eax
jne 0x140027be4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001596c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140027b83
cmp byte [rbp - 0x21], r15b
je 0x140027bb8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140027bb8
call fcn.14001f354
test eax, eax
jne 0x140027ba4
cmp byte [rbp - 0x21], r15b
je 0x140027b9d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140027bb8
cmp byte [rbp - 0x21], r15b
je 0x140027bb5
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.140015454
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140027be4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140027be7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140027bf5
mov rcx, rdi
call fcn.14001ae7c
cmp byte [rbp + 0x3f], r15b
je 0x140027c04
mov rcx, qword [rbp + 0x27]
call fcn.14001ae7c
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 0x1400291bc
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.14001c7b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c7b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002930c
cmp rax, 0xffffffffffffffff
je 0x14002930c
xor edi, edi
test rbp, rbp
jle 0x1400292b7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f0c8
mov rbx, rax
test rax, rax
jne 0x140029244
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400292ad
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a0e8
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.14001d490
cmp eax, 0xffffffff
je 0x14002928d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029254
mov edx, r15d
mov ecx, r14d
call fcn.14001a0e8
jmp 0x1400292ad
cmp byte [rsi + 0x38], dil
je 0x1400292a4
cmp dword [rsi + 0x34], 5
jne 0x1400292a4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400292ad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001ae7c
jmp 0x140029320
jns 0x140029320
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c7b4
cmp rax, 0xffffffffffffffff
jne 0x1400292d8
cmp byte [rsi + 0x30], dil
je 0x140029320
mov edi, dword [rsi + 0x2c]
jmp 0x140029320
mov ecx, r14d
call fcn.1400185a0
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
jne 0x140029320
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 0x140029320
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029319
mov eax, dword [rsi + 0x2c]
jmp 0x14002931e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c7b4
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 0x140007b84
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007974
Function at 0x14000cd78
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 0x14000cda8
xor eax, eax
jmp 0x14000ce6b
mov rbp, rbx
cmp word [rax], si
je 0x14000cdcd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000cdb4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000cdb0
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.14000ccc8
movsxd r14, eax
test eax, eax
jne 0x14000ce0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000cda1
mov rcx, r14
call fcn.140009550
mov rdi, rax
test rax, rax
jne 0x14000ce24
xor ecx, ecx
call fcn.1400089c8
jmp 0x14000ce00
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.14000ccc8
test eax, eax
jne 0x14000ce55
mov rcx, rdi
call fcn.1400089c8
jmp 0x14000ce5f
xor ecx, ecx
call fcn.1400089c8
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 0x14000633c
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 0x5c
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1401a3510
mov rax, qword [rsp + 0x30]
mov dword [rax], 0x67452301
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 0x10325476
mov eax, 1
add rsp, 0x28
ret

Function at 0x14000b684
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 4], 0
mov dword [rsp], 0xffffffff
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x14000b717
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov dword [rsp + 8], 7
jmp 0x14000b6e2
mov eax, dword [rsp + 8]
dec eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 0
jl 0x14000b70b
mov eax, dword [rsp]
and eax, 1
neg eax
mov dword [rsp + 0x10], eax
mov eax, dword [rsp]
shr eax, 1
mov ecx, dword [rsp + 0x10]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp], eax
jmp 0x14000b6d8
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
jmp 0x14000b69c
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x140176c28
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov qword [rax], 0
mov rax, qword [rsp + 8]
mov qword [rax + 8], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x10325476
ret
Function at 0x14018288c
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 8]
mov qword [rax + 0x28], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x5be0cd19
ret
Function at 0x14019b9fc
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov byte [rsp + 0x40], 0
call fcn.14000b504
mov byte [rsp + 0x41], al
lea rax, [rsp + 0x108]
mov qword [rsp + 0x80], rax
xor ecx, ecx
call fcn.14019b218
mov dword [rsp + 0x5c], eax
mov dl, byte [rsp + 0x41]
lea rcx, [rsp + 0x90]
call fcn.1400d3fe4
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.14000db3c
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.14000346c
mov qword [rsp + 0x68], rax
mov r9d, 1
mov eax, dword [rsp + 0x5c]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x140]
call fcn.14018c098
nop
lea rcx, [rsp + 0x90]
call fcn.14000c4e0
mov rax, qword [rsp + 0x140]
movzx eax, byte [rax + 0x20]
test eax, eax
je 0x14019bc3d
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
bts eax, 0x1a
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
bts eax, 0x13
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.140191ca0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0xa0], rcx
mov rcx, qword [rsp + 0xa0]
call fcn.14018c17c
mov qword [rsp + 0x98], rax
xor edx, edx
lea rcx, [rsp + 0xe8]
call fcn.14019b924
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.14000704c
mov qword [rsp + 0x38], 0
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x88]
mov r9, rcx
mov rcx, qword [rsp + 0x98]
mov r8, rcx
mov rdx, rax
mov rax, qword [rsp + 0x140]
mov rcx, qword [rax + 0x30]
call fcn.14017131c
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0xe8]
call fcn.140003660
nop
lea rcx, [rsp + 0x60]
call fcn.14018b888
nop
lea rcx, [rsp + 0xc8]
call fcn.14018b918
cmp qword [rsp + 0x50], 0
je 0x14019bc33
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1401714cc
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
mov edx, 0x20000013
mov rcx, qword [rsp + 0x50]
call fcn.14017140c
cmp dword [rsp + 0x48], 0xc8
jne 0x14019bc33
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x50]
call fcn.140171628
mov rcx, qword [rsp + 0x140]
call fcn.14019adbc
mov al, byte [rsp + 0x40]
add rsp, 0x138
ret

Function at 0x1401a08b5
Capabilities:
Encode data using xor

Disassembly:
and ebx, dword [rax + 0x35]
jl 0x1401a0925
out dx, eax
jl 0x1401a08b0
mov dh, dh
jle 0x1401a08a8
cmp al, 0x88
cmc
xchg ch, dh
mov ah, dh
mov dh, dh
invalid
mov eax, 0xb299ba95
sahf
Function at 0x1401a0fe6
Capabilities:
Encode data using xor

Disassembly:
push rbx
pushfq
pop rax
xchg esp, eax
pop rbx
xchg esi, eax
xchg r15, rax
movabs qword [0x9e529b509e54994d], rax
movabs dword [0x9e529b509e54994d], eax
cqo
push rsp
sahf
push rax
wait
push rdx
sahf
xchg r14, rax
push rsi
movabs dword [0x9b57a24d9a58944c], eax
push rcx
xchg esi, eax
push rsi
pushfq
pushfq
pushfq
push rdi
and bh, byte [rax + rdi + 0x59]
jnp 0x1401a1033
xor esi, dword [rsi]
push r13
xchg byte [rbp - 0x50794c86], ch
xchg byte [rcx + rdi*2 - 0x7b53854e], ch
lodsb al, byte [rsi]
test byte [rdx - 0x4578527d], bh
mov edx, 0xba87ad83
jns 0x1401a0fb1
jns 0x1401a0fa8
jp 0x1401a0fb2
xchg dword [rsi - 0x517b4a84], ebp
sub byte [rbx - 0x4b864e7f], 0x7d
mov ch, 0x7c
mov dh, 0x7c
lodsd eax, dword [rsi]
cmp dword [rdx - 0x467f4c84], 0xffffff83
mov dl, 0x79
mov cl, 0x79
mov dh, 0x79
mov ah, 0x7d
mov ecx, 0xba7cb778
cmp byte [rdx - 0x50804a7d], 0x85
mov bl, 0x7e
scasb al, byte [rdi]
jnp 0x1401a0fdb
sub byte [rdi - 0x4a7e477f], 0x83
mov al, 0x7c
mov bh, 0x80
scasd eax, dword [rdi]
jg 0x1401a0ff3
mov eax, 0xb083b581
jl 0x1401a0ff1
sub byte [rdi - 0x4b784a81], 0x7d
mov ah, 0x7f
scasd eax, dword [rdi]
jle 0x1401a0ffe
xchg dword [rbp + rdi*2 + 0x7eaf7fb4], esi
mov eax, 0x6b513478
js 0x1401a107c
push rcx
imul esi, dword [0x19c627dbf], 0x6c

Function at 0x1401a49f4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1401a485c
Function at 0x28e381820
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x28e381890
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x28e3c7084]
mov rbx, rcx
test esi, esi
jle 0x28e3819c0
mov rax, qword [0x28e3c7088]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x28e3818db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x28e381965
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x28e3818c0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x28e3819e2
mov rax, qword [0x28e3c7088]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x28e3c7088]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x28e3819c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x28e38195e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x28e381970
add dword [0x28e3c7084], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x28e3c7088]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x28e38195e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x28e3818e8
mov rax, qword [0x28e3c7088]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x28e381d60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x28e3c70c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x28e3c70a0]
test rbx, rbx
je 0x28e381dbc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x28e381db3
test rsi, rsi
je 0x28e381db3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x28e381d98
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x28e381fd0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x28e381fe8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x28e381ff0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x28e382000
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x28e38204d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x28e382044
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x28e38204f
add rax, 0x28
cmp rax, r9
jne 0x28e382030
xor eax, eax
ret

Function at 0x28e382050
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x28e3820e0
mov rdx, qword [0x28e3c4230]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x28e3820ce
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x28e3820ce
cmp word [rax + 0x18], 0x20b
jne 0x28e3820ce
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x28e3820e0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x28e3820b9
add rbx, 0x28
cmp rbx, rdi
je 0x28e3820e0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x28e3820b0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x28e3820f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x28e3c4230]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x28e382110
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x28e382118
ret
cmp word [r8 + 0x18], 0x20b
jne 0x28e382110
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x28e38216d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x28e382164
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x28e382110
add rax, 0x28
cmp rax, r9
jne 0x28e382150
xor eax, eax
ret

Function at 0x28e382170
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x28e3c4230]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x28e38218f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x28e382198
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x28e38218f
movzx ecx, word [rax + 6]
mov eax, ecx
ret