joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100016f0d
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x100016f2b
je 0x100016f36
call 0x100016f85
mov bl, 0xc7
lahf
pop rsi
jne 0x100016f16
call 0x100016f2e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x100016f16
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x100016f64
je 0x100016fa2
invalid
je 0x100016fb3
jne 0x100016f16
lea rax, [0x100016e3c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x100012b9d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x100017054
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x1000170ad
je 0x1000170b3
call 0x1000170a4
fild qword [rdi - 0x7c]
jmp 0x134f53826
jne 0x100017076
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x100017036
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x100016f85
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x100016f2b
je 0x100016f36
call 0x100016f85
mov bl, 0xc7
lahf
pop rsi
jne 0x100016f16
call 0x100016f2e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x100016f16
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x100016f64
je 0x100016fa2
invalid
je 0x100016fb3
jne 0x100016f16
lea rax, [0x100016e3c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x100012b9d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x100017054
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x1000170ad
je 0x1000170b3
call 0x1000170a4
fild qword [rdi - 0x7c]
jmp 0x134f53826
jne 0x100017076
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x100017036
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret

Function at 0x1000173cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100017419
cmp rcx, 0xffffffffffffffff
je 0x100017419
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100017411
cmp dword [rcx + 0x3c], edx
jl 0x100017411
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100017411
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100017419
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001a4c
Capabilities:
Parse pe header

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

Function at 0x140005b48
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005944
Function at 0x140008c04
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 0x140008c34
xor eax, eax
jmp 0x140008cf7
mov rbp, rbx
cmp word [rax], si
je 0x140008c59
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008c40
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008c3c
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.140008b24
movsxd r14, eax
test eax, eax
jne 0x140008c97
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140008c2d
mov rcx, r14
call fcn.140009698
mov rdi, rax
test rax, rax
jne 0x140008cb0
xor ecx, ecx
call fcn.14000715c
jmp 0x140008c8c
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.140008b24
test eax, eax
jne 0x140008ce1
mov rcx, rdi
call fcn.14000715c
jmp 0x140008ceb
xor ecx, ecx
call fcn.14000715c
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 0x14000e460
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e488
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000e488
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001560
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1400ca058]
xor rax, rsp
mov qword [rsp + 0x28], rax
movaps xmm6, xmm2
movzx ebp, dl
mov rdi, rcx
call fcn.140056ea0
mov rsi, rax
call fcn.140056e84
mov rcx, rax
cmp rsi, 0x989680
jne 0x1400015b0
imul rbx, rcx, 0x64
jmp 0x1400015d6
cqo
idiv rsi
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
mov rbx, rax
mov rax, rcx
cqo
idiv rsi
imul rcx, rax, 0x3b9aca00
add rbx, rcx
xorps xmm0, xmm0
comiss xmm0, xmm6
jae 0x1400017b1
cmp byte [0x1400cad00], 0
jne 0x1400015f0
addss xmm6, dword [rdi + 4]
movss xmm0, dword [0x1400bc03c]
divss xmm0, xmm6
mulss xmm0, dword [0x1400bbecc]
movss dword [rdi], xmm0
cmp byte [0x1400cad00], 0
jne 0x14000162e
movss xmm1, dword [0x1400cad14]
movss xmm0, dword [0x1400bbf1c]
call fcn.140001c90
addss xmm0, dword [rdi]
movss dword [rdi], xmm0
movsd xmm6, qword [0x1400bbf88]
cvtss2sd xmm0, xmm0
divsd xmm0, xmm6
call fcn.140056660
xor esi, esi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.USER32.dll_GetCursorPos]
test bpl, bpl
je 0x1400016c3
test eax, eax
je 0x140001688
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx r9d, word [rsp + 0x24]
lea r8d, [rsi + 1]
movzx ecx, word [rsp + 0x20]
mov edx, 0x201
shl r9d, 0x10
or r9, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
movss xmm0, dword [rdi]
cvtps2pd xmm0, xmm0
divsd xmm0, xmm6
call fcn.140056660
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140001743
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 0x202
mov r8d, 1
jmp 0x140001728
test eax, eax
je 0x1400016f3
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx r9d, word [rsp + 0x24]
mov edx, 0x204
movzx ecx, word [rsp + 0x20]
mov r8d, 2
shl r9d, 0x10
or r9, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
movss xmm0, dword [rdi]
cvtps2pd xmm0, xmm0
divsd xmm0, xmm6
call fcn.140056660
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140001743
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 0x205
mov r8d, 2
movzx r9d, word [rsp + 0x24]
movzx ecx, word [rsp + 0x20]
shl r9d, 0x10
or r9, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
call fcn.140056ea0
mov rdi, rax
call fcn.140056e84
mov r8, rax
cmp rdi, 0x989680
jne 0x140001762
imul rcx, r8, 0x64
jmp 0x140001788
cqo
idiv rdi
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
mov rcx, rax
mov rax, r8
cqo
idiv rdi
imul rdx, rax, 0x3b9aca00
add rcx, rdx
xorps xmm0, xmm0
sub rcx, rbx
inc dword [0x1400cd24c]
cvtsi2sd xmm0, rcx
divsd xmm0, qword [0x1400bbfc0]
divsd xmm6, xmm0
cvtpd2ps xmm0, xmm6
movss dword [0x1400cd250], xmm0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400590e0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x140001c90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.140059db0
sub rsp, rax
movaps xmmword [rsp + 0x13d0], xmm6
movaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x1400ca058]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
movaps xmm6, xmm1
movaps xmm7, xmm0
call fcn.140057028
mov edx, eax
mov ecx, 1
movabs rax, 0x5555555555555555
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x13a8], rax
movabs r8, 0x5851f42d4c957f2d
mov r9d, 0x138
nop dword [rax + rax]
mov rax, rdx
shr rax, 0x3e
xor rdx, rax
imul rdx, r8
add rdx, rcx
mov qword [rsp + rcx*8 + 0x28], rdx
inc rcx
cmp rcx, r9
jb 0x140001d00
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x30]
xorps xmm1, xmm1
movabs r10, 0xb5026f5aa96619e9
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r10
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140001d40
mov eax, dword [rsp + 0x20]
movabs rdx, 0x38eb3ffff6d3
xorps xmm0, xmm0
mov rcx, qword [rsp + rax*8 + 0x28]
mov rax, rcx
shr rax, 0x1d
and rax, qword [rsp + 0x13a8]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x140001dd2
cvtsi2ss xmm0, rdx
jmp 0x140001de7
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
subss xmm0, xmm1
subss xmm6, xmm7
addss xmm0, xmm1
mulss xmm0, dword [0x1400bbe70]
mulss xmm0, xmm6
addss xmm0, xmm7
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400590e0
movaps xmm6, xmmword [rsp + 0x13d0]
movaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret
Function at 0x1400020e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400ca058]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov qword [rbp - 0x10], rdx
xor r14d, r14d
lea r9, [rbp - 0x18]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140085660]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14000223d
mov rdx, qword [rbp - 0x18]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140002140
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
lea rcx, [rbp - 0x50]
call fcn.140007d30
lea rdx, [rbp - 0x50]
lea rcx, [0x1400cacb0]
call fcn.1400073e0
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400021b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002319
call fcn.140059350
mov rsi, qword [rbx + 0x10]
mov rdi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400021c5
mov rdi, qword [rbx]
call fcn.140057394
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rsi
lea r8, [rbp - 0x30]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140005c50
nop
lea rdx, [rbp - 0x50]
lea rcx, [0x1400cacb0]
call fcn.1400078f0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140002233
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000222e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000231f
call fcn.140059350
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [0x1400cacb0]
call fcn.140009bd0
test al, al
je 0x140002294
lea rax, [rbp - 0x50]
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rax
movdqu xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call fcn.140007f10
test eax, eax
jne 0x1400022fd
lea r9, [0x1400cacd0]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.140004860
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400022ca
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400022c5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002313
mov rcx, r8
call fcn.140059350
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400590e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea r8, [0x1400cacb0]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140009b60
nop
call fcn.14005fcec
nop
call fcn.14005fcec
int3
call fcn.14005fcec
int3
Function at 0x140003590
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140003628
test r8, r8
jle 0x140003620
nop word [rax + rax]
mov rcx, rdi
call fcn.140006aa0
test rax, rax
jle 0x1400035fe
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.14005b590
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140003618
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140003620
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x1400035c0
sub r14, rbx
mov rax, r14
jmp 0x1400036a6
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140003641
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003643
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14000369b
test ecx, ecx
jle 0x14000367c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14005b590
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14000369b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000369b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1400607a8
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400036c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400036e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000375c
mov rdi, r14
mov rcx, rbx
call fcn.140006990
test rax, rax
jle 0x140003734
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14005b590
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000374c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140003754
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400036f6
sub r14, rdi
jmp 0x14000383f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140003773
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003775
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400037a7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14005b590
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000383c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400037e2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000381d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140060a8c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000383c
cmp rbp, rax
ja 0x1400037f0
test rbp, rbp
je 0x14000383c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140060a8c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140003c70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400ca058]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140003c9d
xor eax, eax
jmp 0x140003de3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003cd7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003cd7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140003de3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140003dd6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003d1a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140003d29
movsx ecx, dil
jmp 0x140003d7d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x140003d97
sub eax, 1
je 0x140003d97
cmp eax, 2
jne 0x140003dd6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140060e20
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003ddb
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003dc4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1400607a8
cmp rsi, rax
jne 0x140003dd6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140003ddb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400590e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x14000b840
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 0x14000b89d
lea rbx, [0x140094390]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000b884
cmp r10, 2
jb 0x14000b884
cmp byte [r9], r8b
jne 0x14000b884
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 0x14000b860
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000b8df
lea rbx, [0x140094390]
cmp r8b, 0x23
jne 0x14000b8c3
cmp byte [r9], r8b
jne 0x14000b8c3
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 0x14000b8b0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000ba20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000ba3a
mov qword [r8], 0
lea rdx, [0x1400940e4]
call fcn.14000b8f0
mov rbx, rax
test rax, rax
jne 0x14000ba5a
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 fcn.140061780
mov esi, eax
cmp eax, 0xffffffff
je 0x14000bb28
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.140060504
test eax, eax
jne 0x14000bb28
mov rcx, rbx
call fcn.140061780
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000bb28
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140060504
test eax, eax
jne 0x14000bb28
cmp rdi, 0xffffffffffffffff
je 0x14000bb28
mov rax, qword [0x1400cd280]
test rax, rax
je 0x14000baca
inc dword [rax + 0xec]
mov rcx, rdi
call fcn.140068784
mov rsi, rax
test rax, rax
je 0x14000bb28
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140060a8c
mov rcx, rbx
cmp rax, rdi
je 0x14000bb16
call fcn.1400611b8
mov rax, qword [0x1400cd280]
test rax, rax
je 0x14000bb0c
dec dword [rax + 0xec]
mov rcx, rsi
call fcn.14006121c
jmp 0x14000bb30
call fcn.1400611b8
test r14, r14
je 0x14000bb23
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000bb32
mov rcx, rbx
call fcn.1400611b8
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret