joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d61e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push r12
sub rsp, 0x18
mov r9d, dword [rcx]
lea r12, [0x140000000]
xor edx, edx
mov r10, r8
mov rbx, rcx
lea eax, [r9*4]
test eax, eax
je 0x1400d622e
nop word [rax + rax]
movzx eax, byte [rdx + r12 + 0x12e780]
mov byte [rdx + r8], al
inc edx
mov r9d, dword [rcx]
lea eax, [r9*4]
cmp edx, eax
jb 0x1400d6210
mov eax, dword [rcx + 4]
lea r9d, [r9*4]
inc eax
shl eax, 4
cmp r9d, eax
jae 0x1400d63c6
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 8], r14
mov qword [rsp], r15
lea r15d, [r9 + 2]
nop dword [rax]
nop word [rax + rax]
mov r14d, dword [rbx]
lea eax, [r9 - 4]
movzx r8d, byte [rax + r10]
xor edx, edx
lea eax, [r9 - 3]
movzx r11d, r8b
movzx edi, byte [rax + r10]
lea eax, [r9 - 2]
movzx esi, byte [rax + r10]
lea eax, [r9 - 1]
movzx ebp, byte [rax + r10]
mov eax, r9d
shr eax, 2
div r14d
test edx, edx
jne 0x1400d630b
movzx r11d, byte [rdi + r12 + 0x17b5a0]
xor edx, edx
movzx edi, byte [rsi + r12 + 0x17b5a0]
mov eax, r9d
movzx esi, byte [rbp + r12 + 0x17b5a0]
mov cl, 1
movzx ebp, byte [r8 + r12 + 0x17b5a0]
lea r8d, [r14*4]
div r8d
sub eax, 1
je 0x1400d6306
mov r8d, eax
nop dword [rax + rax]
movzx eax, cl
add cl, cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
xor cl, dl
sub r8, 1
jne 0x1400d62f0
xor r11b, cl
jmp 0x1400d633a
cmp r14d, 6
jbe 0x1400d633a
cmp edx, 4
jne 0x1400d633a
movzx r11d, byte [r8 + r12 + 0x17b5a0]
movzx edi, byte [rdi + r12 + 0x17b5a0]
movzx esi, byte [rsi + r12 + 0x17b5a0]
movzx ebp, byte [rbp + r12 + 0x17b5a0]
mov ecx, r9d
lea eax, [r14*4]
sub ecx, eax
xor r11b, byte [rcx + r10]
mov ecx, r9d
mov byte [r9 + r10], r11b
mov eax, dword [rbx]
shl eax, 2
sub ecx, eax
lea eax, [r15 - 1]
inc ecx
xor dil, byte [rcx + r10]
mov ecx, r9d
mov byte [rax + r10], dil
mov eax, dword [rbx]
shl eax, 2
sub ecx, eax
add ecx, 2
xor sil, byte [rcx + r10]
mov ecx, r9d
mov byte [r15 + r10], sil
add r9d, 4
mov eax, dword [rbx]
shl eax, 2
sub ecx, eax
lea eax, [r15 + 1]
add ecx, 3
add r15d, 4
xor bpl, byte [rcx + r10]
mov byte [rax + r10], bpl
mov eax, dword [rbx + 4]
inc eax
shl eax, 4
cmp r9d, eax
jb 0x1400d6270
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
add rsp, 0x18
pop r12
pop rbx
ret

Function at 0x1400dd068
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400dd0ec
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140121bb0]
cmp byte [rcx + rax], 0
je 0x1400dd0ec
dec r8
sub rdx, 1
jne 0x1400dd0d2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400e12a4
Capabilities:
Parse pe header

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

Function at 0x1400f1ef4
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 0x1400f1d5f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f1d5f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f1d5f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f1d5f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f1d5f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f1d5f
cmp dword [rcx + 0xf8], 0
je 0x1400f1d5f
mov ecx, ebx
call fcn.1400f1e10
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.1400f1bec
nop
cmp dword [rbp + 0x20], 0
je 0x1400f1dad
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400f1db8
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400f1cf0
Function at 0x1400f22a8
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.1400e0dd0
sub rsp, rax
mov rax, qword [0x1401a2250]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400fb404
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400f22f7
mov rax, rbp
jmp 0x1400f23ff
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 + 0x2276b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140101268
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x2276b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400f23fb
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 0x1400f23fb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140101268
test rax, rax
js 0x1400f23fb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400f23fb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400f23ed
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400f23ed
cmp byte [rcx], 0xd
jne 0x1400f23d3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400f23e2
cmp byte [rcx + 1], 0xa
jne 0x1400f23e2
inc rcx
jmp 0x1400f23e2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1a2640]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400f23b5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400f23ff
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400e03d0
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 0x1400fb524
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400fb53a
mov al, 1
jmp 0x1400fb59a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400fb54b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400fb598
mov ecx, dword [rcx + 0x18]
nop
call fcn.1401075e4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400fb598
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400fb598
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400fb598
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400fb59a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140100608
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, [0x1402276b0]
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 0x14010065f
cmp word [rdx], r13w
jne 0x14010065f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140100664
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140100789
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401007aa
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14010069d
mov rdx, r9
mov word [rbx], cx
jmp 0x1401006c4
cmp r9, r8
jae 0x1401006d4
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 0x14010067e
jmp 0x140100789
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 0x14010077e
cmp dword [rsp + 0x80], esi
je 0x14010077e
lea r8, [0x1402276b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140100756
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140100726
mov word [rbx], r13w
jmp 0x140100786
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 0x140100733
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140100786
cmp word [rsp + 0x70], r13w
jne 0x140100763
cmp rbx, r14
je 0x140100720
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140101270
cmp word [rsp + 0x70], r13w
je 0x140100789
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, [0x1402276b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140100783
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140100789
Function at 0x1401063d8
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 0x140106408
xor eax, eax
jmp 0x1401064cb
mov rbp, rbx
cmp word [rax], si
je 0x14010642d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140106414
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140106410
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.14010231c
movsxd r14, eax
test eax, eax
jne 0x14010646b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140106401
mov rcx, r14
call fcn.1400fe5a0
mov rdi, rax
test rax, rax
jne 0x140106484
xor ecx, ecx
call fcn.1400fc030
jmp 0x140106460
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.14010231c
test eax, eax
jne 0x1401064b5
mov rcx, rdi
call fcn.1400fc030
jmp 0x1401064bf
xor ecx, ecx
call fcn.1400fc030
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 0x1401064e8
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 0x14010656f
mov rsi, rbx
cmp word [rax], bp
je 0x14010652e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140106518
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140106514
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400fe5a0
mov rdi, rax
test rax, rax
je 0x14010655c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400e26d0
mov rbp, rdi
xor ecx, ecx
call fcn.1400fc030
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 0x140109b38
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.1400fb9e4
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 0x140109bd9
cmp ebx, dword [rsp + 0x30]
je 0x140109bd2
test esi, esi
je 0x140109bd2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140109bad
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140109bba
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140109b97
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140109bbe
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140109bdb
mov eax, 1
jmp 0x140109bdb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14010dddc
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.1400e8184
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14010de66
cmp byte [rbp - 0x21], r15b
je 0x14010de61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14010de9c
call fcn.1400fc334
test eax, eax
jne 0x14010de88
cmp byte [rbp - 0x21], r15b
je 0x14010de80
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14010de9c
cmp byte [rbp - 0x21], r15b
je 0x14010de99
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.1400f17c0
test eax, eax
jne 0x14010df3c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400e8184
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14010dedb
cmp byte [rbp - 0x21], r15b
je 0x14010df10
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14010df10
call fcn.1400fc334
test eax, eax
jne 0x14010defc
cmp byte [rbp - 0x21], r15b
je 0x14010def5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14010df10
cmp byte [rbp - 0x21], r15b
je 0x14010df0d
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.1400f17c0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14010df3c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14010df3f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14010df4d
mov rcx, rdi
call fcn.1400fc030
cmp byte [rbp + 0x3f], r15b
je 0x14010df5c
mov rcx, qword [rbp + 0x27]
call fcn.1400fc030
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 0x14010ecc0
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.140101270
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140101270
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14010ee10
cmp rax, 0xffffffffffffffff
je 0x14010ee10
xor edi, edi
test rbp, rbp
jle 0x14010edbb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400fbfb8
mov rbx, rax
test rax, rax
jne 0x14010ed48
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14010edb1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400f9884
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.1400fd868
cmp eax, 0xffffffff
je 0x14010ed91
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14010ed58
mov edx, r15d
mov ecx, r14d
call fcn.1400f9884
jmp 0x14010edb1
cmp byte [rsi + 0x38], dil
je 0x14010eda8
cmp dword [rsi + 0x34], 5
jne 0x14010eda8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14010edb1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400fc030
jmp 0x14010ee24
jns 0x14010ee24
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140101270
cmp rax, 0xffffffffffffffff
jne 0x14010eddc
cmp byte [rsi + 0x30], dil
je 0x14010ee24
mov edi, dword [rsi + 0x2c]
jmp 0x14010ee24
mov ecx, r14d
call fcn.1401075e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14010ee24
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 0x14010ee24
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14010ee1d
mov eax, dword [rsi + 0x2c]
jmp 0x14010ee22
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140101270
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 0x1400010a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x4050
call fcn.140002030
sub rsp, rax
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x4040], rax
lea rcx, [rsp + 0x2030]
call fcn.1400011a0
xor edx, edx
lea rcx, str.Current_frame_number:__i_n
xor ebx, ebx
call fcn.140001060
call fcn.140001280
mov ecx, 0x2008
lea rdi, [rsp + 0x20]
lea rsi, [rsp + 0x2030]
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x20]
call fcn.140001290
lea ecx, [rbx + 0x1b]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14000116e
nop dword [rax + rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
lea rcx, str.Current_frame_number:__i_n
mov edx, ebx
call fcn.140001060
call fcn.140001280
mov ecx, 0x2008
lea rdi, [rsp + 0x20]
lea rsi, [rsp + 0x2030]
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x20]
call fcn.140001290
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001120
xor eax, eax
mov rcx, qword [rsp + 0x4040]
xor rcx, rsp
call fcn.140001340
lea r11, [rsp + 0x4050]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140002180
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14008f200]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400021f3
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x140002227
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400021d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x14008f358], 0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140054ee0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x14008f358], eax
jmp 0x140002206
Function at 0x1400176e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x14008f5d8]
xor r15d, r15d
mov r14d, ecx
mov r12d, r15d
mov rbp, qword [rdi + 0x3ea8]
test cl, 0x10
jne 0x140017855
mov esi, dword [rdi + 0x3f70]
test esi, esi
je 0x140017766
cmp dword [rdi + 0x3ef4], esi
jne 0x14001784e
mov eax, dword [rdi + 0x3f3c]
cmp eax, 0xffffffff
cmove eax, r15d
movsxd r15, eax
cmp byte [r15 + rdi + 0xd9c], r12b
je 0x14001784e
cmp byte [rbp + 0x93], r12b
jne 0x14001784e
xor bl, bl
jmp 0x1400177fc
cmp byte [rdi + 0xd9c], r12b
je 0x14001784e
cmp byte [rbp + 0x93], r12b
jne 0x14001784e
test byte [rdi + 0x3f78], 1
jne 0x1400177a3
cmp dword [rdi + 0x3ef4], r12d
je 0x14001784e
cmp qword [rdi + 0x3f30], rbp
jne 0x14001784e
test r14b, 8
je 0x14001784e
lea rdx, [rdi + 0x3f7c]
mov rcx, rbp
call fcn.14001bf20
mov edx, eax
mov dword [rdi + 0x3f70], eax
lea rcx, [rdi + 0x3f7c]
mov esi, eax
call fcn.14001e530
movzx ebx, al
test al, al
je 0x1400177f4
cmp byte [rdi + 0x36b0], r12b
je 0x1400177f4
mov rdx, rbp
mov ecx, esi
call fcn.140027ef0
mov rcx, rbp
call fcn.14001b7e0
cmp dword [rdi + 0x3ef4], esi
jne 0x14001784e
mov byte [rdi + 0x3f01], bl
movsxd rcx, dword [rbp + 0xc8]
mov rax, qword [rbp + 0xd0]
mov r12d, dword [rax + rcx*4 - 4]
mov rax, qword [0x14008f5d8]
movsxd rcx, r15d
cmp byte [rcx + rax + 0xd9c], 0
jne 0x14001782d
xor bl, bl
jmp 0x140017845
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + rcx*4 + 0x3708]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae bl
call fcn.140027fc0
test bl, bl
jne 0x1400178a3
xor al, al
jmp 0x140017944
mov r9d, 0xffffffff
lea rdx, [0x14005a7f1]
mov esi, r9d
lea r10, [0x1400598d0]
mov r8b, 0x23
nop
cmp r8b, 0x23
jne 0x140017883
cmp byte [rdx], r8b
jne 0x140017883
cmp byte [rdx + 1], r8b
cmove esi, r9d
movzx ecx, sil
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr esi, 8
inc rdx
xor esi, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140017870
not esi
cmp byte [rdi + 0x424c], 0
jne 0x1400178e2
call fcn.140018fc0
mov dword [rdi + 0x426c], esi
mov dword [rdi + 0x4270], r12d
mov byte [rdi + 0x424c], 1
mov dword [rdi + 0x4250], r14d
mov dword [rdi + 0x4258], r15d
cmp esi, dword [rdi + 0x3ef4]
jne 0x1400178e2
mov byte [rdi + 0x3f02], 1
mov eax, dword [rdi + 0x3e28]
mov dword [rdi + 0x4254], eax
mov byte [rdi + 0x424d], 1
test r14b, 1
jne 0x140017935
xor edx, edx
xor ecx, ecx
call fcn.140017d00
cmp dword [rdi + 0x42c0], 0
je 0x140017935
test dword [rdi + 0x42b4], 0x1000
je 0x140017935
mov rax, qword [rdi + 0x3ea8]
mov byte [rax + 0x93], 1
mov byte [rax + 0x95], 1
mov byte [rax + 0xb0], 1
test r14b, 0x12
jne 0x140017942
and dword [rdi + 0x3f78], 0xfffffffe
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret