joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140137d18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, qword [rdx + 0x10]
mov rdi, rdx
mov rbp, rcx
jne 0x140137d8f
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140137d5f
call fcn.140098144
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x140137d79
call fcn.140098144
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x140137d8f
call fcn.140098144
call fcn.1400996dc
cmp qword [rax + 0x68], 0
je 0x140137da9
mov rdx, rbx
mov rcx, rbp
call fcn.1401371d8
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.140138008
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x140137dd0
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x140137ddf
mov rbx, rsi
mov qword [rbp + 0xf8], rsi
or dword [rdi + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14014137c
Capabilities:
Get graphical window text

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, 0x20
mov rdi, r8
mov rbx, rcx
call fcn.1401414bc
xor r14d, r14d
mov esi, 1
mov rbp, rax
mov dword [rbx + 0x14], esi
mov rcx, rax
cmp dword [rbx], r14d
je 0x140141431
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rbx, eax
test eax, eax
js 0x140141454
mov rcx, qword [rdi]
mov edx, dword [rcx - 0xc]
sub esi, dword [rcx - 8]
sub edx, ebx
or esi, edx
jge 0x1401413e0
mov edx, ebx
mov rcx, rdi
call fcn.140002a48
mov rdx, qword [rdi]
cmp ebx, dword [rdx - 0xc]
jg 0x140141454
mov dword [rdx - 0x10], ebx
lea r8d, [rbx + 1]
mov rax, qword [rdi]
mov rcx, rbp
mov word [rax + rbx*2], r14w
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14014140d
mov eax, r14d
jmp 0x14014141a
movsxd rdx, dword [rcx - 0xc]
call fcn.14021dcd8
test eax, eax
js 0x140141454
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x140141454
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r14w
jmp 0x140141439
mov rdx, qword [rdi]
call fcn.1400a29e8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, 0x80070057
call fcn.140002d2c
int3

Function at 0x140141510
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0xd0
mov rax, qword [0x14030a918]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbp, r8
lea r15, [r11 + 0x28]
mov rdi, rcx
call fcn.1401414bc
cmp dword [rdi], 0
mov rsi, rax
mov dword [rdi + 0x14], 1
je 0x1401415a5
mov rbx, qword [r15]
lea rdx, [rsp + 0x40]
mov r8d, 0x40
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r9, rbx
lea rcx, [rsp + 0x40]
mov r8, rbp
mov edx, 0x40
call fcn.140141668
cmp eax, 1
je 0x14014161e
mov ecx, dword [rsp + 0x118]
or r8d, 0xffffffff
xor edx, edx
call fcn.14008c8b8
mov rcx, rdi
call fcn.140141460
jmp 0x14014161e
call fcn.14021a92c
mov ebx, dword [rax]
call fcn.14021a92c
and dword [rax], 0
call fcn.140005ca0
mov r9d, 0x3f
mov qword [rsp + 0x30], r15
and qword [rsp + 0x28], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, qword [rax]
lea r8d, [r9 + 1]
call fcn.14021d824
call fcn.14021a92c
cmp dword [rax], 0
je 0x14014160a
call fcn.14021a92c
cmp dword [rax], 0
je 0x140141611
cmp dword [rax], 0xc
je 0x140141652
cmp dword [rax], 0x16
je 0x140141647
cmp dword [rax], 0x22
je 0x140141647
cmp dword [rax], 0x50
jne 0x14014163c
jmp 0x140141611
call fcn.14021a92c
mov dword [rax], ebx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400a29e8
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1402117c0
add rsp, 0xd0
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140002d2c
int3
mov ecx, 0x80070057
call fcn.140002d2c
int3
mov ecx, 0x8007000e
call fcn.140002d2c
int3
Function at 0x140171ea4
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor ebp, ebp
mov rbx, rcx
mov qword [rcx + 0x58], rbp
mov rsi, rdx
mov dword [rcx + 0x60], ebp
lea ecx, [rbp + 1]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140171edf
or dword [rbx + 0x60], 1
or dword [rbx + 0x5c], 2
jmp 0x140171ef7
mov ecx, 2
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140171ef7
or dword [rbx + 0x60], 2
or dword [rbx + 0x5c], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rsi + 0x40]
mov edi, eax
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call fcn.1400904cc
jmp 0x140171fcb
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call fcn.1400904cc
cmp rax, rsi
jne 0x140171fd4
mov r9d, 0x209
mov dword [rsp + 0x20], 1
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [r9 - 9]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140171f73
mov r9d, 0x109
mov dword [rsp + 0x20], 1
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [r9 - 9]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140171fb4
mov eax, dword [rsp + 0x38]
cmp eax, 0x203
je 0x140171f8c
cmp eax, 0x200
jbe 0x140171f8c
cmp eax, 0x206
jb 0x140171fd4
cmp eax, 0x100
jne 0x140171f9b
cmp qword [rsp + 0x40], 0x1b
je 0x140171fd4
mov rdx, qword [rsp + 0x54]
lea rcx, [rbx + 0x48]
call qword [sym.imp.USER32.dll_PtInRect]
mov ecx, ebp
test eax, eax
sete cl
mov dword [rbx + 0x58], ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, dword [0x1403180d8]
jbe 0x140171fcb
mov dword [rbx + 0x58], 1
cmp dword [rbx + 0x58], ebp
je 0x140171f16
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [rbx + 0x58]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1401735e4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x28]
xor ebx, ebx
cmp dword [rdi - 0x10], ebx
je 0x14017365c
mov rsi, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
call fcn.14008a784
mov rcx, rax
test rax, rax
je 0x140173633
mov rax, qword [rax]
mov rax, qword [rax + 0xe8]
call qword [str._G__]
test rax, rax
je 0x140173633
mov rcx, qword [rax + 0x40]
jmp 0x140173636
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov r9, rbp
mov r8, rdi
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setae bl
mov eax, ebx
jmp 0x14017365e
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14017af5c
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x14017b094
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x14017b0d6
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x14017b4cc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14017b596
test rbx, rbx
je 0x14017b596
test r9, r9
je 0x14017b596
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017b592
cmp dword [rsp + 0x48], 3
jne 0x14017b592
cmp dword [rdi], eax
je 0x14017b592
mov ecx, dword [rdi]
call fcn.140003e48
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017b586
cmp dword [rsp + 0x48], 3
jne 0x14017b586
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
call fcn.1400747a4
and qword [rbx], 0
xor eax, eax
jmp 0x14017b571
call fcn.1400759ec
int3

Function at 0x14017b858
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14017b869
xor eax, eax
jmp 0x14017b897
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14017b8a0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14017b8b1
xor eax, eax
jmp 0x14017b8d5
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1401d983c
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x310
mov rax, qword [0x14030a918]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rbx, rdx
test r8, r8
je 0x1401d98bb
mov rcx, qword [rax + 8]
lea r8, [rsp + 0x40]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x208
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, rbx
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x1401d989a
lea rdx, [0x140299420]
call fcn.140003da4
mov rax, rbx
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1402117c0
add rsp, 0x310
pop rbx
ret
call fcn.1400759ec
int3

Function at 0x1401df07c
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax - 0x18], 0
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.14022e318
test eax, eax
jne 0x1401df0e0
mov eax, dword [rsp + 0x30]
lea r8, str._s_s_X.tmp
mov dword [rsp + 0x28], eax
mov r9, rsi
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.14008c068
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401df0f2
jmp 0x1401df0a0
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1401f15ed
mov esi, 0x811c9dc5
xor ebx, ebx
mov rcx, rdx
call fcn.14021dbac
mov r8, rax
mov eax, 0xcccccccd
mul r8d
shr edx, 3
inc edx
test r8d, r8d
je 0x1401f1590
movzx ecx, word [rdi + rbx*2]
imul esi, esi, 0x1000193
xor esi, ecx
add ebx, edx
cmp ebx, r8d
jb 0x1401f157d
mov dword [r14], esi
xor edx, edx
mov eax, esi
div dword [rbp + 0x10]
mov dword [r15], edx
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x1401f15d2
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x1401f15d2
mov eax, dword [r14]
cmp dword [rbx + 8], eax
jne 0x1401f15c8
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call fcn.140226c2c
nop
test eax, eax
je 0x1401f15cd
mov rbx, qword [rbx]
jmp 0x1401f15aa
mov rax, rbx
jmp 0x1401f15d4
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
call fcn.1400759ec
int3

Function at 0x140212554
Capabilities:
Parse pe header

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

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

Function at 0x14023aff8
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14023afd5
call fcn.14021a92c
mov dword [rax], 0x16
call fcn.14021a7dc
or eax, 0xffffffff
jmp 0x14023aff2
sub dword [rcx + 0x10], 1
jns 0x14023afe4
add rsp, 0x28
jmp fcn.14023bf20
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14023afb4

Function at 0x14023c08c
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14023bdb2
call fcn.14021a92c
mov dword [rax], 0x16
call fcn.14021a7dc
jmp 0x14023befd
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14023befd
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14023befd
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14023bde1
lock or dword [rcx + 0x14], 0x10
jmp 0x14023befd
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14023bdf5
call fcn.140242cc8
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14023be05
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x14023be08
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14022cfec
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.14023b808
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14023beeb
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14023be99
mov rcx, rbx
call fcn.14022cfec
cmp eax, 0xffffffff
je 0x14023be84
mov rcx, rbx
call fcn.14022cfec
cmp eax, 0xfffffffe
je 0x14023be84
mov rcx, rbx
call fcn.14022cfec
movsxd rdi, eax
lea r14, [0x140319610]
mov rcx, rbx
sar rdi, 6
call fcn.14022cfec
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14023be8b
lea rdx, [0x14030ad30]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14023be99
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14023bebd
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14023bebd
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14023bebd
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x14023bedb
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14023bee6
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14023bf02
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14023bd7c
Function at 0x140244560
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140244588
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140244588
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1406bb010
Capabilities:
Terminate process

Disassembly:
invalid
cld
pop r11
jmp 0x1406bb01d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1406bb02d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1406bb015
lea eax, [rcx + 1]
jmp 0x1406bb03b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1406bb04e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1406bb034
sub eax, 3
jb 0x1406bb06e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1406bb0bd
sar eax, 1
movsxd rbp, eax
jb 0x1406bb0a4
jmp 0x1406bb07c
add ebx, ebx
jne 0x1406bb07a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1406bb0a4
inc ecx
add ebx, ebx
jne 0x1406bb08a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1406bb0a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1406bb09d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1406bb08c
add ecx, 2
jmp 0x1406bb0a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1406bafd2
jmp 0x1406bb01d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x6b0000]
mov eax, dword [rdi]
or eax, eax
je 0x1406bb129
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6fd2b8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1406bb0cd
jns 0x1406bb102
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1406bb10c
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1406bb123
mov qword [rbx], rax
add rbx, 8
jmp 0x1406bb0ed
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1406bb16d
cmp al, 0xef
ja 0x1406bb155
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1406bb135
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1406bb144
mov eax, dword [rdi]
add rdi, 4
jmp 0x1406bb144
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x26f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1406bb1c1
sub rsp, 0xffffffffffffff80
jmp 0x14048e420
Function at 0x140003130
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000318d
lea rbx, [0x140044c60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003174
cmp r10, 2
jb 0x140003174
cmp byte [r9], r8b
jne 0x140003174
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003150
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400031cf
lea rbx, [0x140044c60]
cmp r8b, 0x23
jne 0x1400031b3
cmp byte [r9], r8b
jne 0x1400031b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400031a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003310
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000332a
mov qword [r8], 0
lea rdx, [0x1400449ac]
call fcn.1400031e0
mov rbx, rax
test rax, rax
jne 0x14000334a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140003423
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003423
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003423
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003423
cmp rdi, 0xffffffffffffffff
je 0x140003423
mov rax, qword [0x1400821e0]
test rax, rax
je 0x1400033c0
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003423
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140003410
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400821e0]
test rax, rax
je 0x140003405
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000342c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000341e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000342e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140005410
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd0]
lea r8, [0x140044c60]
movsxd rcx, dword [rcx + 0xc8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x1400821e0]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
shr ebx, 8
xor rcx, r11
xor ebx, dword [r8 + rcx*4]
not ebx
cmp dword [rax + 0x1c7c], ebx
jne 0x14000549c
mov dword [rax + 0x1c80], ebx
cmp dword [rax + 0x1cb8], ebx
jne 0x1400054ab
mov byte [rax + 0x1cbc], 1
cmp dword [rax + 0x1c64], ebx
jne 0x1400054c2
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140015770
mov eax, ebx
add rsp, 0x20
pop rbx
ret