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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x540]
sub rsp, 0x640
mov rax, qword [0x14015a038]
xor rax, rsp
mov qword [rbp + 0x530], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
mov dword [rsp + 0x24], r12d
mov qword [rcx], r12
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov dword [rsp + 0x24], 1
call fcn.14006b8c4
mov rbx, rax
lea r8, [0x14011ccd4]
lea edx, [r12 + 0x7d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x140068a33
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
test eax, eax
je 0x140068a33
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140068a33
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140068a33
lea rcx, [rsp + 0x28]
call fcn.1400332e0
nop
mov r8, qword [rsp + 0x30]
mov rdx, r8
mov rcx, qword [rsp + 0x28]
sub rdx, rcx
cmp r14, rdx
jae 0x14006896e
lea rax, [rcx + r14]
mov qword [rsp + 0x30], rax
jmp 0x1400689af
jbe 0x1400689af
mov rax, qword [rsp + 0x38]
sub rax, rcx
cmp r14, rax
jbe 0x140068991
lea r8, [rsp + 0x20]
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.140019c40
jmp 0x1400689aa
mov rbx, r14
sub rbx, rdx
add rbx, r8
mov rdx, rbx
mov rcx, r8
call fcn.140019d50
mov qword [rsp + 0x30], rbx
mov rcx, qword [rsp + 0x28]
mov r8, r14
mov rdx, r15
call fcn.14009de10
lea rcx, [rsp + 0x50]
call fcn.1400373d0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140037890
test eax, eax
je 0x140068a1e
lea rcx, [rbp - 0x80]
call fcn.14002f590
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x28]
call fcn.140033e30
lea rax, [rbp - 0x78]
cmp rdi, rax
je 0x140068a14
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rdi
call fcn.1400123a0
nop
lea rcx, [rbp - 0x80]
call fcn.140030070
nop
lea rcx, [rsp + 0x50]
call fcn.140037470
nop
lea rcx, [rsp + 0x28]
call fcn.140033300
mov rax, rdi
mov rcx, qword [rbp + 0x530]
xor rcx, rsp
call fcn.14009b5b0
lea r11, [rsp + 0x640]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140069434
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, rdx
mov rsi, r9
movzx edx, r8w
mov rbp, rcx
mov r8, rax
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x140069501
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, rbp
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140069501
test edi, edi
je 0x140069501
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x140069501
mov rdx, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rdx
cmp rdi, rcx
jae 0x1400694b7
lea rax, [rdx + rdi]
mov qword [rsi + 8], rax
jmp 0x1400694f1
jbe 0x1400694f1
mov rax, qword [rsi + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x1400694d7
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, rsi
call fcn.140019c40
jmp 0x1400694f1
mov rbx, qword [rsi + 8]
sub rbx, rcx
mov rcx, qword [rsi + 8]
add rbx, rdi
mov rdx, rbx
call fcn.140019d50
mov qword [rsi + 8], rbx
mov rcx, qword [rsi]
mov r8, rdi
mov rdx, rbp
call fcn.14009de10
mov bl, 1
mov rbp, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140069518
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x80
mov rdi, r8
mov bpl, dl
mov rbx, rcx
xor esi, esi
mov rdx, qword [reloc.WS2_32.dll_connect]
test bpl, bpl
cmovne rdx, qword [reloc.OLEAUT32.dll_SysReAllocString]
lea rcx, [rax - 0x58]
call fcn.140060690
nop
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140060850
test al, al
je 0x1400695e0
lea rbx, [rsp + 0x30]
lea rax, [rsp + 0x48]
test bpl, bpl
cmove rbx, rax
lea rcx, [rsp + 0x98]
call fcn.14002bed0
nop
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140069593
mov r9, qword [rdi]
mov r8, qword [rbx + 8]
sub r8, qword [rbx]
mov qword [rsp + 0x20], rsi
mov rdx, qword [rbx]
lea rcx, [rsp + 0x98]
call fcn.14002c310
cmp eax, 1
sete sil
je 0x1400695d2
cmp qword [rdi + 0x18], 8
jb 0x1400695c2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne sil
lea rcx, [rsp + 0x98]
call fcn.14002bee0
nop
lea rcx, [rsp + 0x30]
call fcn.1400606c0
mov al, sil
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140069608
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x14006961b
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14006963b
cmp qword [rbx + 0x18], 8
jb 0x140069630
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add rsp, 0x20
pop rbx
ret
Function at 0x14006ae44
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x14015a038]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
cmp qword [rdx + 0x10], rsi
je 0x14006af8a
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14006ae8b
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006af8a
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14002cb90
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.14002cd30
nop
jmp 0x14006af28
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400584d0
lea rcx, [rsp + 0x20]
call fcn.140059020
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.14002cd30
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x14006af1e
lea rcx, [rsp + 0x28]
call fcn.140012640
mov r8d, 0x20
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14009de10
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
lea rcx, [rsp + 0x48]
call fcn.140012640
cmp qword [rsp + 0x38], rsi
jne 0x14006aeba
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14006af6d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006af68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006afac
call fcn.14009b510
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
lea rcx, [rsp + 0x70]
call fcn.14002cc10
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14009b5b0
mov rbx, qword [rsp + 0x370]
add rsp, 0x340
pop rdi
pop rsi
pop rbp
ret
call fcn.1400ac408
nop
int3

Function at 0x14006b810
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14015a038]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov ecx, 0x104
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edi, edi
cmp word [rsp + 0x30], di
je 0x14006b873
lea rcx, [rsp + 0x30]
call fcn.1400acf68
cmp word [rsp + rax*2 + 0x2e], 0x5c
je 0x14006b873
lea rdx, [0x14012e6c4]
lea rcx, [rsp + 0x30]
call fcn.1400ac4dc
mov qword [rbx], rdi
lea rcx, [rsp + 0x30]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
call fcn.1400acf68
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400123a0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14009b5b0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140078266
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140078249
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140078234
Function at 0x1400907fc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14007829e
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140078281
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14007826c

Function at 0x1400ea22c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400e9fb4
Function at 0x1400010e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], 0x5cdd82d0
mov eax, dword [rsp + 0x34]
xor eax, 0x6bffd8f4
mov rcx, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x30], eax
call rcx
mov edx, dword [rsp + 0x30]
cmp edx, 0x53ecae9b
mov dword [rsp + 0x2c], eax
jae 0x140001124
jmp 0x140001129
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x64
call rax
ud2
add rsp, 0x38
ret
mov eax, dword [rsp + 0x2c]
cmp eax, 3
jb 0x140001114
jmp 0x140001124

Function at 0x1400034f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x48
lea rax, [fcn.1400034f0]
mov dword [rsp + 0x44], 0xa692ff6
mov dword [rsp + 0x24], 0x5b852502
mov ecx, dword [rsp + 0x34]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0xc], ecx
mov qword [rsp], rax
jmp 0x14000354e
cmp dword [rsp + 0x24], 0x21a812f8
jae 0x1400035c5
jmp 0x1400035a0
mov rax, qword [rsp + 0x10]
add rsp, 0x48
ret
mov rax, qword [rsp + 0x28]
cmp word [rax], 0x5a4d
je 0x1400035a0
jmp 0x1400035ed
mov rax, qword [rsp]
and rax, 0x668d487a
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x24]
xor ecx, 0x523b58e7
mov rax, qword [rsp]
xor rax, 0x1a709f17
mov qword [rsp + 0x38], rax
mov rax, qword [rsp]
and rax, rax
mov qword [rsp + 0x38], rax
cmp ecx, 0x3700e995
jbe 0x14000353d
jmp 0x140003533
mov eax, dword [rsp + 0x44]
add eax, 0xbd31112
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, dword [rsp + 0x44]
xor eax, 0x61f5ff65
cmp ecx, eax
je 0x140003523
jmp 0x140003523
mov rax, qword [rsp + 0x10]
mov ecx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x10]
mov edx, dword [rsp + 0xc]
or edx, edx
movsxd r8, ecx
mov dword [rsp + 0x34], edx
cmp dword [rax + r8], 0x4550
je 0x140003533
mov rax, qword [rsp + 0x10]
add rax, 0xfffffffffffff000
and rax, 0xfffffffffffff000
mov qword [rsp + 0x18], rax
jmp 0x14000354e
Function at 0x140003e70
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x60
mov dword [rsp + 0x50], 0x664535b3
mov qword [rsp + 0x48], 0x20a2b6f8
mov dword [rsp + 0x40], 0x1c627cf
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x18], rdx
mov dword [rsp + 0x14], r8d
mov qword [rsp + 8], rcx
mov qword [rsp], rax
jmp 0x140004022
mov eax, 0x20a2b718
mov ecx, eax
mov eax, dword [rsp + 0x54]
xor eax, 0xffffffff
sub rcx, qword [rsp + 0x48]
mov dword [rsp + 0x54], eax
mov rdx, qword [rsp + 0x38]
add rdx, 1
mov qword [rsp + 0x28], rdx
cmp rdx, rcx
je 0x140003fdb
jmp 0x140004022
lea rax, [0x140005366]
mov rcx, qword [rsp]
add rcx, 0x7694da9c
mov edx, dword [rsp + 0x44]
mov r8d, edx
and r8d, 0x1f
mov qword [rsp + 0x58], rcx
mov r9d, edx
mov ecx, r9d
mov r10, qword [rsp + 0x18]
mov r11b, byte [r10 + rcx]
mov r8d, r8d
mov esi, r8d
mov r8d, dword [rsp + 0x14]
xor r8d, dword [rsp + 0x54]
mov bl, byte [rax + rsi]
mov dword [rsp + 0x54], r8d
sub r11b, bl
mov rax, qword [rsp + 8]
mov byte [rax + rcx], r11b
add edx, 0x20
mov dword [rsp + 0x44], edx
mov r8d, dword [rsp + 0x14]
cmp edx, r8d
jb 0x140003ee8
jmp 0x140003eb5
mov eax, 0x21b0dcc
mov ecx, 0x5296461a
mov edx, ecx
mov ecx, 0x5c9f7adf
mov r8d, ecx
mov r9, qword [rsp]
sub r8, r9
mov qword [rsp + 0x58], r8
mov r8, qword [rsp + 0x48]
mov qword [rsp + 0x58], 0x6d7fbcef
sub rdx, r8
mov ecx, dword [rsp + 0x54]
shr eax, cl
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0x30]
mov r8, rdx
and r8, 0
xor rdx, rdx
cmp r8, rdx
jae 0x140003ffc
jmp 0x140003ffc
mov eax, 0x440b7ef6
mov ecx, eax
mov eax, dword [rsp + 0x54]
sub rcx, qword [rsp + 0x48]
or eax, dword [rsp + 0x54]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
cmp eax, 0x4b5d9813
jae 0x140004022
jmp 0x140003fe2
add rsp, 0x60
pop rbx
pop rsi
ret
mov eax, 0xa4cf7779
mov ecx, dword [rsp + 0x24]
sub eax, dword [rsp + 0x50]
cmp ecx, eax
jbe 0x140003f53
jmp 0x140003f53
lea rax, [0x140005270]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + rcx*4]
mov dword [rsp + 0x44], edx
mov r8d, dword [rsp + 0x14]
cmp edx, r8d
jb 0x140003ee8
jmp 0x140003eb5
mov eax, 0x34ab3225
mov ecx, 0x5e6580bc
mov edx, ecx
mov rcx, qword [rsp]
shl rdx, cl
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x38], r8
mov r9d, dword [rsp + 0x14]
xor r9d, 0x4cc6fc87
mov r10d, dword [rsp + 0x40]
mov dword [rsp + 0x54], r9d
cmp eax, r10d
ja 0x140003fa9
jmp 0x140003fa9
Function at 0x100002454
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100004758], rdi
je 0x1000024a2
cmp rax, rdi
jne 0x100002495
mov edi, 1
mov r12d, edi
jmp 0x1000024a7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100002479
mov edi, 1
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x1000024bd
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x10000251a
mov eax, dword [0x100004750]
test eax, eax
jne 0x100002514
mov dword [0x100004750], edi
lea r13, [0x100001290]
lea rsi, [0x100001278]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100002506
test eax, eax
jne 0x100002506
mov rcx, qword [rsi]
test rcx, rcx
je 0x1000024fb
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x1000024e4
test eax, eax
je 0x10000251a
mov eax, 0xff
jmp 0x1000025ec
mov dword [0x100004184], edi
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x100002541
lea rdx, [0x100001270]
lea rcx, [0x100001260]
call sub.msvcrt.dll__initterm
mov dword [0x100004750], 2
test r12d, r12d
jne 0x10000254f
xor eax, eax
xchg qword [0x100004758], rax
cmp qword [0x100004760], 0
je 0x100002578
lea rcx, [0x100004760]
call fcn.10000284c
test eax, eax
je 0x100002578
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100004760]
mov r8, qword [0x100004168]
mov rdx, qword [0x100004170]
mov ecx, dword [0x100004160]
call fcn.100001b54
mov dword [0x100004180], eax
cmp dword [0x100004164], 0
jne 0x1000025a8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100004184], 0
jne 0x1000025bd
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100004180]
jmp 0x1000025ec
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call 0x100094000
add rsp, 0x28
jmp 0x100002454
Function at 0x1800038a0
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 0x1800038fd
lea rbx, [0x180056cc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800038e4
cmp r10, 2
jb 0x1800038e4
cmp byte [r9], r8b
jne 0x1800038e4
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 0x1800038c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000393f
lea rbx, [0x180056cc0]
cmp r8b, 0x23
jne 0x180003923
cmp byte [r9], r8b
jne 0x180003923
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 0x180003910
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180003b00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x180003b1e
mov qword [r8], r14
lea rdx, [0x1800567d8]
call fcn.180003950
mov rbx, rax
test rax, rax
jne 0x180003b43
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180003c6d
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 0x180003c6d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180003c6d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180003c6d
cmp rdi, 0xffffffffffffffff
je 0x180003c6d
mov rcx, rdi
call fcn.180007c60
mov rbp, rax
test rax, rax
je 0x180003c6d
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 0x180003c5a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1800ad0d0]
test r8, r8
je 0x180003c4f
movsx rdx, word [r8 + 0x60e8]
lea rcx, [r8 + 0x60ec]
mov r9d, dword [r8 + 0x3f68]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180003c44
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ec]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60e4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180003c76
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180003c68
mov qword [rsi], rdi
mov rax, rbp
jmp 0x180003c78
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18000ae20
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 r14
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x180066240]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1800ad0d0]
mov ebp, edx
mov r10, rcx
mov r9d, dword [rdi + 0x4a18]
mov rbx, qword [rdi + 0x4010]
bts r9d, 8
mov dword [rdi + 0x4a18], r9d
mov dword [rdi + 0x4a50], 1
cmp qword [rbx + 0x1c0], 0
jne 0x18000ae97
cmp qword [rdi + 0x4e08], 0
mov eax, 0x268
je 0x18000ae9c
mov eax, 0x238
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r8]
call fcn.180014b90
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4a38], xmm0
xor edx, edx
mov dword [rdi + 0x4a18], r9d
mov dword [rdi + 0x4a20], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x18000af0e
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.180003700
jmp 0x18000af1e
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.180003700
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3918]
mov r8d, 0x1000107
call fcn.18000df90
mov rsi, qword [rdi + 0x4010]
movzx r14d, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xd8], 1
mov dword [rsi + 0x90], ebp
jne 0x18000af68
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, ebp
lea rdx, [0x180055a71]
not r9d
lea r10, [0x180056cc0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18000af95
cmp byte [rdx], r8b
jne 0x18000af95
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x18000af82
not ebx
cmp dword [rdi + 0x4074], ebx
jne 0x18000afc5
xor edx, edx
xor ecx, ecx
call fcn.180007610
cmp dword [rdi + 0x4b40], ebp
jne 0x18000b00a
cmp word [rsi + 0x174], 0
jne 0x18000afe0
cmp byte [rsi + 0x17a], 0
je 0x18000b00a
xor edx, edx
mov rcx, rsi
call fcn.180010800
xor edx, edx
mov rcx, rsi
call fcn.180017910
mov rdx, rsi
mov ecx, ebx
call fcn.180007610
mov eax, dword [rdi + 0x4b7c]
mov dword [rdi + 0x40a0], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800531f0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
ret
Function at 0x18000b230
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18000b280
lea r11, [0x180056cc0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18000b263
cmp byte [r8], r9b
jne 0x18000b263
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18000b250
mov rcx, qword [0x1800ad0d0]
not eax
movsxd rdx, dword [rcx + 0x3ff0]
mov r9, qword [rcx + 0x3ff8]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18000b2e1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18000b2d9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18000b2dc
mov rdx, r8
test rdx, rdx
jne 0x18000b2b0
cmp r9, r10
je 0x18000b2f0
cmp dword [r9], eax
jne 0x18000b2f0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret