joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ee20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x70], 0
jg 0x14000ee42
xor eax, eax
jmp 0x14000efe5
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x14000ee67
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14000eff0
jmp 0x14000efe5
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
call fcn.14000bd10
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x14000eefd
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140008f80
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x60]
call fcn.14000d830
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.14000ce40
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.14000d580
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x14000efd5
mov rcx, qword [rsp + 0x60]
call fcn.14000c490
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x14000ef9d
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.14001832c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x14000ef9b
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x14000efe5
jmp 0x14000ef23
cmp qword [rsp + 0x20], 0
jbe 0x14000efd5
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.14001832c
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x58
ret

Function at 0x140010edc
Capabilities:
Parse pe header

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

Function at 0x14001a814
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001a610
Function at 0x140020618
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.140010820
sub rsp, rax
mov rax, qword [0x14017e080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001ef84
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140020667
mov rax, rbp
jmp 0x14002076f
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 + 0x182b80]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140021738
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x182b80]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002076b
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 0x14002076b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140021738
test rax, rax
js 0x14002076b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002076b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002075d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002075d
cmp byte [rcx], 0xd
jne 0x140020743
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140020752
cmp byte [rcx + 1], 0xa
jne 0x140020752
inc rcx
jmp 0x140020752
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x17e4b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140020725
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002076f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140010880
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 0x140020990
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400209a6
mov al, 1
jmp 0x140020a06
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400209b7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140020a04
mov ecx, dword [rcx + 0x18]
nop
call fcn.140025b54
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140020a04
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140020a04
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140020a04
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140020a06
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140020ad8
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, [0x140182b80]
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 0x140020b2f
cmp word [rdx], r13w
jne 0x140020b2f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140020b34
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140020c59
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140020c7a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140020b6d
mov rdx, r9
mov word [rbx], cx
jmp 0x140020b94
cmp r9, r8
jae 0x140020ba4
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 0x140020b4e
jmp 0x140020c59
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 0x140020c4e
cmp dword [rsp + 0x80], esi
je 0x140020c4e
lea r8, [0x140182b80]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140020c26
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140020bf6
mov word [rbx], r13w
jmp 0x140020c56
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 0x140020c03
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140020c56
cmp word [rsp + 0x70], r13w
jne 0x140020c33
cmp rbx, r14
je 0x140020bf0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140021740
cmp word [rsp + 0x70], r13w
je 0x140020c59
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, [0x140182b80]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140020c53
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140020c59
Function at 0x140025288
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 0x1400252b8
xor eax, eax
jmp 0x14002537b
mov rbp, rbx
cmp word [rax], si
je 0x1400252dd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400252c4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400252c0
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.140023970
movsxd r14, eax
test eax, eax
jne 0x14002531b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400252b1
mov rcx, r14
call fcn.1400219a4
mov rdi, rax
test rax, rax
jne 0x140025334
xor ecx, ecx
call fcn.14001e204
jmp 0x140025310
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.140023970
test eax, eax
jne 0x140025365
mov rcx, rdi
call fcn.14001e204
jmp 0x14002536f
xor ecx, ecx
call fcn.14001e204
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 0x1400280a8
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.14001dcc4
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 0x140028149
cmp ebx, dword [rsp + 0x30]
je 0x140028142
test esi, esi
je 0x140028142
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002811d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002812a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140028107
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002812e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002814b
mov eax, 1
jmp 0x14002814b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002aa98
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.140021740
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140021740
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002abe8
cmp rax, 0xffffffffffffffff
je 0x14002abe8
xor edi, edi
test rbp, rbp
jle 0x14002ab93
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001e240
mov rbx, rax
test rax, rax
jne 0x14002ab20
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002ab89
mov edx, 0x8000
mov ecx, r14d
call fcn.14001b5a8
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.14001fe90
cmp eax, 0xffffffff
je 0x14002ab69
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002ab30
mov edx, r15d
mov ecx, r14d
call fcn.14001b5a8
jmp 0x14002ab89
cmp byte [rsi + 0x38], dil
je 0x14002ab80
cmp dword [rsi + 0x34], 5
jne 0x14002ab80
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002ab89
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001e204
jmp 0x14002abfc
jns 0x14002abfc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140021740
cmp rax, 0xffffffffffffffff
jne 0x14002abb4
cmp byte [rsi + 0x30], dil
je 0x14002abfc
mov edi, dword [rsi + 0x2c]
jmp 0x14002abfc
mov ecx, r14d
call fcn.140025b54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002abfc
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 0x14002abfc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002abf5
mov eax, dword [rsi + 0x2c]
jmp 0x14002abfa
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140021740
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 0x14002b6a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002b6c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002b6c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140007360
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400cd340]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400cd990]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x1fad], 0
jne 0x1400073c8
cmp byte [rbx + 0x1fae], 0
jne 0x1400073c8
movsx r9d, word [rbx + 0x308e]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000c1e0
test sil, 1
je 0x1400074f9
jmp 0x140007461
movss xmm1, dword [rbx + 0x1628]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400aa5cc]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400aa5c0]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
or dword [rbx + 0x1d18], 1
mov qword [rbx + 0x1d30], rax
movss dword [rbx + 0x1d28], xmm0
mov dword [rbx + 0x1d1c], 1
movss dword [rbx + 0x1d2c], xmm1
movss xmm0, dword [rbx + 0x1684]
mov rax, qword [0x1400cd990]
mulss xmm0, dword [0x1400aa574]
or dword [rax + 0x1d18], 0x40
movss dword [rax + 0x1d78], xmm0
movsx r9d, word [rbx + 0x308e]
call fcn.14000c1e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400074b1
lea r11, [0x1400a9d20]
cmp r9b, 0x23
jne 0x140007494
cmp byte [r8], r9b
jne 0x140007494
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140007481
not ecx
call fcn.14000ac10
test rax, rax
je 0x1400074f9
cmp byte [rax + 0x8e], 0
je 0x1400074f9
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x308e]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x308e]
call fcn.14000c1e0
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140004470
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a5f40
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000b2f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400a9d20]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x1400cd990]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x14000b37d
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x14000b38c
mov byte [rax + 0x1cac], 1
mov rcx, qword [0x1400cd990]
cmp dword [rcx + 0x1c54], ebx
jne 0x14000b3ac
mov r8, r9
mov ecx, ebx
xor r9d, r9d
lea edx, [r9 + 4]
call fcn.1400092c0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000b460
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0xe8]
lea r8, [0x1400a9d20]
movss xmm3, dword [rcx + 0xec]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xd0]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xc8]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
movss dword [rsp + 4], xmm1
subss xmm0, xmm2
movss xmm1, dword [rdx + 0xc]
mov edx, dword [rax + rcx*4 - 4]
subss xmm1, xmm3
movzx eax, byte [rsp]
not edx
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 1]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 2]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 3]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 4]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 5]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 6]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 7]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 8]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 9]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xa]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xb]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xc]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xd]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xe]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xf]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1400cd990]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1c6c], edx
jne 0x14000b5ff
mov dword [rax + 0x1c70], edx
cmp dword [rax + 0x1ca8], edx
jne 0x14000b60e
mov byte [rax + 0x1cac], 1
mov eax, edx
add rsp, 0x18
ret
Function at 0x14000bf30
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14000bf4b
mov qword [r8], 0
call fcn.14000c090
mov rbx, rax
test rax, rax
jne 0x14000bf61
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000c069
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000c069
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000c069
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 0x14000c069
cmp rdi, 0xffffffffffffffff
je 0x14000c069
mov rax, qword [0x1400cd990]
test rax, rax
je 0x14000bfe2
inc dword [rax + 0x3b0]
mov rdx, qword [0x1400cd9a0]
lea rcx, [rdi + rbp]
call qword [0x1400cd010]
mov rsi, rax
test rax, rax
je 0x14000c069
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]
cmp rax, rdi
je 0x14000c041
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400cd990]
test rax, rax
je 0x14000c02f
dec dword [rax + 0x3b0]
mov rdx, qword [0x1400cd9a0]
mov rcx, rsi
call qword [0x1400cd018]
jmp 0x14000c072
test ebp, ebp
jle 0x14000c053
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000c064
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000c074
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x14000c330
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 0x14000c38d
lea rbx, [0x1400a9d20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000c374
cmp r10, 2
jb 0x14000c374
cmp byte [r9], r8b
jne 0x14000c374
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 0x14000c350
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000c3cf
lea rbx, [0x1400a9d20]
cmp r8b, 0x23
jne 0x14000c3b3
cmp byte [r9], r8b
jne 0x14000c3b3
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 0x14000c3a0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000c6a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
mov qword [rsp + 0x28], rbp
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov rax, rcx
mov qword [rsp + 0x40], r12
mov r14d, r10d
lea r15, [0x140000000]
mov r13, rax
test rbx, rbx
je 0x14000c6e0
cmp rax, rbx
jae 0x14000c88c
movzx r8d, byte [rax]
test r8b, r8b
je 0x14000c88c
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0xaa270]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x14000c718
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x14000c731
movzx r12d, byte [rcx]
jmp 0x14000c734
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x14000c742
movzx ebp, byte [rcx]
jmp 0x14000c745
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x14000c753
movzx esi, byte [rcx]
jmp 0x14000c756
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0xaa290]
and r15d, ecx
movzx r8d, r12b
shl r15d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, bpl
or r15d, ecx
movzx r10d, sil
shl r15d, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or r15d, ecx
and r8d, 0xc0
mov ecx, r10d
shl r15d, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or r15d, ecx
shr r10d, 2
lea rcx, [0x140000000]
mov ecx, dword [r9 + rcx + 0xaa2c0]
or r10d, r8d
shr r15d, cl
lea rcx, [0x140000000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0xaa2a8]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, 0x100
cmp r15d, 0xffff
cmova edx, ecx
lea rcx, [0x140000000]
mov ecx, dword [r9 + rcx + 0xaa2d8]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x14000c876
xor r10d, r10d
test dil, dil
mov eax, r10d
mov ecx, r10d
setne cl
test sil, sil
setne al
add ecx, eax
mov eax, r10d
test bpl, bpl
setne al
add ecx, eax
mov eax, r10d
test r12b, r12b
setne al
add ecx, eax
cmp r11d, ecx
cmovl ecx, r11d
movsxd rax, ecx
add rax, r13
inc r14d
jmp 0x14000c6c8
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x14000c88c
xor r10d, r10d
inc r14d
jmp 0x14000c6c8
mov r12, qword [rsp + 0x40]
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r13
pop rbx
ret