joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486b40
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x486d7b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x486bda
mov qword [rsp + 0x88], rax
lea rbx, [0x0052fa00]
mov rcx, rax
lea rax, [0x0065b220]
call fcn.00470260
test cl, cl
jne 0x486bc3
mov rax, qword [rsp + 0x88]
call fcn.00485c20
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x005682c0]
call fcn.00451020
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
call fcn.00487f80
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x486bf7
lea rdx, [0x0052d140]
cmp rax, rdx
jne 0x486be5
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call fcn.004645a0
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x00511e80]
call fcn.0040b580
inc rdx
cmp rbx, rdx
jle 0x486c41
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x486bf4
lea rax, [0x0065b220]
lea rbx, [0x0052fa00]
lea rdi, [0x0052d140]
nop dword [rax + rax]
call fcn.00470420
lea rdx, [0x0052d140]
cmp rax, rdx
jne 0x486d6b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x00508880]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea rax, [0x005195c0]
call fcn.0040e8a0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x006e0030], 0
nop
je 0x486c9b
mov rbx, rax
lea rax, [0x005195c0]
call fcn.00414480
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call fcn.004014e0
call fcn.00464660
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x486d02
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x486cf4
mov dword [rsi + 0x10], edx
cmp dword [0x006e0030], 0
je 0x486d23
call fcn.00468ae0
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x0065b220]
lea rbx, [0x0052fa00]
lea rdi, [0x0052d140]
nop dword [rax]
call fcn.00470420
lea rdx, [0x0052d140]
cmp rax, rdx
jne 0x486d5c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x00511e80]
call fcn.0040b580
mov rbx, rdx
lea rcx, [0x00511e80]
call fcn.0040b580
nop
mov qword [rsp + 8], rax
call fcn.00466ba0
mov rax, qword [rsp + 8]
jmp fcn.00486b40
Function at 0x4955e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4956aa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403a60
xorps xmm15, xmm15
mov r14, qword [0x006dffa0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x49568f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0050cf40]
xor ebx, ebx
mov rcx, rdx
call fcn.0044d280
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00496360
inc rbx
cmp rcx, rbx
jae 0x49567e
mov edi, 1
lea rsi, [0x0050cf40]
call fcn.0044d360
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0056a168]
lea rsi, [0x00569328]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004955e0
Function at 0x4e1280
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e19bf
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4e12ad
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4e1531
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4e155d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x0056c600]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x0050ce40]
lea rbx, [0x00569f50]
call fcn.00437c80
inc rax
cmp rax, r8
jge 0x4e1582
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4e15b7
lea rdi, [0x0050cec0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4e12a3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4e159b
jmp 0x4e1570
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00466ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004e1280

Function at 0x4e1b60
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4e1b77
inc rax
cmp rax, 4
jge 0x4e1b8f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4e1b74
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4e1ba0
inc rax
cmp rax, 4
jge 0x4e1bae
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4e1bd7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4e1bbb
jmp 0x4e1b9d
Function at 0x4fd0c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea r12, [rsp - 0x148]
cmp r12, qword [r14 + 0x10]
jbe 0x4fd393
push rbp
mov rbp, rsp
sub rsp, 0x1c0
mov dword [rsp + 0x2a], 0
mov byte [rsp + 0x2e], 0
mov byte [rsp + 0x2a], 0x68
mov dword [rsp + 0x2b], 0x73707474
lea rax, [rsp + 0xcf]
lea rbx, [rsp + 0x2a]
mov ecx, 5
call fcn.004513a0
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x108], rbx
mov dword [rsp + 0x24], 0
mov word [rsp + 0x28], 0
mov word [rsp + 0x24], 0x7473
mov dword [rsp + 0x26], 0x63697461
mov ecx, 6
lea rax, [rsp + 0xaf]
lea rbx, [rsp + 0x24]
call fcn.004513a0
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0xf3], 0
mov qword [rsp + 0xf8], 0
mov byte [rsp + 0xf3], 0x62
mov dword [rsp + 0xf4], 0x65787665
movabs rdx, 0x6877796961647972
mov qword [rsp + 0xf8], rdx
mov ecx, 0xd
lea rax, [rsp + 0x8f]
lea rbx, [rsp + 0xf3]
call fcn.004513a0
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x120], rbx
mov word [rsp + 0xf0], 0
mov byte [rsp + 0xf2], 0
mov byte [rsp + 0xf0], 0x63
mov word [rsp + 0xf1], 0x6d6f
mov ecx, 3
lea rax, [rsp + 0x6f]
lea rbx, [rsp + 0xf0]
call fcn.004513a0
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x100], rbx
mov byte [rsp + 0xef], 0
mov byte [rsp + 0xef], 0x2e
mov ecx, 1
lea rax, [rsp + 0x4f]
lea rbx, [rsp + 0xef]
call fcn.004513a0
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x118], rbx
mov word [rsp + 0xf0], 0
mov byte [rsp + 0xf2], 0
mov byte [rsp + 0xf0], 0x3a
mov word [rsp + 0xf1], 0x2f2f
mov ecx, 3
lea rax, [rsp + 0x2f]
lea rbx, [rsp + 0xf0]
call fcn.004513a0
lea rdi, [rsp + 0x150]
lea rdi, [rdi - 0x10]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00469126
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x108]
mov qword [rsp + 0x158], rdx
mov rdx, qword [rsp + 0x130]
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x110]
mov qword [rsp + 0x178], rdx
mov rdx, qword [rsp + 0x138]
mov qword [rsp + 0x170], rdx
mov rdx, qword [rsp + 0x118]
mov qword [rsp + 0x188], rdx
mov rsi, qword [rsp + 0x140]
mov qword [rsp + 0x180], rsi
mov rdi, qword [rsp + 0x120]
mov qword [rsp + 0x198], rdi
mov rdi, qword [rsp + 0x148]
mov qword [rsp + 0x190], rdi
mov qword [rsp + 0x1a8], rdx
mov qword [rsp + 0x1a0], rsi
mov rdx, qword [rsp + 0x100]
mov qword [rsp + 0x1b8], rdx
mov rdx, qword [rsp + 0x128]
mov qword [rsp + 0x1b0], rdx
xor eax, eax
lea rbx, [rsp + 0x150]
mov ecx, 7
mov rdi, rcx
call fcn.00450e00
add rsp, 0x1c0
pop rbp
ret
call fcn.00466ba0
jmp fcn.004fd0c0
Function at 0x140010c94
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
mov rdx, rcx
je 0x140010cc7
xor r8d, r8d
mov cl, r8b
movabs rax, 0x61a7ddf587214d1b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x25
jb 0x140010ca0
mov byte [rdx + 0x25], 0
mov rax, rdx
ret

Function at 0x140010ccc
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
mov rdx, rcx
je 0x140010cff
xor r8d, r8d
mov cl, r8b
movabs rax, 0x33936bbb8fbf972b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 7
jb 0x140010cd8
mov byte [rdx + 7], 0
mov rax, rdx
ret

Function at 0x140010d04
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
mov rdx, rcx
je 0x140010d37
xor r8d, r8d
mov cl, r8b
movabs rax, 0xb5e3ff6f79e787bf
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0xd
jb 0x140010d10
mov byte [rdx + 0xd], 0
mov rax, rdx
ret

Function at 0x140010d3c
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010d6f
xor r8d, r8d
mov cl, r8b
movabs rax, 0x717f5d0f8b9d9be7
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010d48
mov byte [rdx + 9], 0
mov rax, rdx
ret
Function at 0x1400217d0
Capabilities:
Delete registry key
Delete service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x1400218ab
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1400140b0
cmp qword [rsp + 0x48], 0x10
lea rdx, [rsp + 0x30]
mov r8d, 0x10000
mov rcx, rbx
cmovae rdx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdx, qword [rsp + 0x48]
mov rdi, rax
cmp rdx, 0x10
jb 0x140021874
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002186f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021975
call fcn.140027b1c
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
test rdi, rdi
je 0x1400218a2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call fcn.14001f2d0
cmp qword [rax + 0x18], 0x10
jb 0x1400218ca
mov rax, qword [rax]
lea rcx, [rsp + 0x50]
mov r9d, 0xf023f
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002190e
mov rcx, qword [rsp + 0x50]
lea rdx, [0x140061cb8]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140021947
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021942
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002196f
call fcn.140027b1c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140021980
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140027ad0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
call fcn.14002e468
int3
call fcn.14002e468
int3
Function at 0x140025570
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x140025766
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.1400140b0
cmp qword [rax + 0x18], 0x10
jb 0x1400255d1
mov rax, qword [rax]
mov r8d, 0xf01ff
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdx, qword [rsp + 0x48]
mov rdi, rax
cmp rdx, 0x10
jb 0x140025623
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002561e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002578d
call fcn.140027b1c
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
test rdi, rdi
je 0x14002575d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x140025754
lea rax, [rsp + 0x50]
mov r9d, 0x24
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140025754
cmp dword [rsp + 0x5c], 2
mov qword [rsp + 0xa0], rbx
mov ebx, dword [rsp + 0x6c]
jne 0x14002572f
mov qword [rsp + 0xa8], r14
mov r14d, 0x2710
nop word [rax + rax]
mov eax, 0xcccccccd
mul dword [rsp + 0x70]
shr edx, 3
cmp edx, 0x3e8
jae 0x1400256cb
mov edx, 0x3e8
jmp 0x1400256d2
cmp edx, r14d
cmova edx, r14d
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x50]
mov r9d, 0x24
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140025727
cmp dword [rsp + 0x6c], ebx
jbe 0x140025712
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rsp + 0x6c]
mov esi, eax
jmp 0x140025720
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, dword [rsp + 0x70]
ja 0x140025727
cmp dword [rsp + 0x5c], 2
je 0x1400256b0
mov r14, qword [rsp + 0xa8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rsp + 0x5c], 4
mov rbx, qword [rsp + 0xa0]
jne 0x140025766
mov al, 1
jmp 0x140025768
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140027ad0
lea r11, [rsp + 0x90]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14002e468
int3

Function at 0x14003e9e8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003e7d8
Function at 0x180009200
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180009242
mov edx, 0x64
mov qword [0x18004ad98], rcx
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [0x180008dc0]
mov dword [rsp + 0x20], 3
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x18000bb20
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 0x18000bb7d
lea rbx, [0x18003eff0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000bb64
cmp r10, 2
jb 0x18000bb64
cmp byte [r9], r8b
jne 0x18000bb64
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 0x18000bb40
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000bbbf
lea rbx, [0x18003eff0]
cmp r8b, 0x23
jne 0x18000bba3
cmp byte [r9], r8b
jne 0x18000bba3
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 0x18000bb90
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18000bda0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000bdba
mov qword [r8], 0
lea rdx, [0x180043150]
call fcn.18000bbd0
mov rbx, rax
test rax, rax
jne 0x18000bdda
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 0x18000beb1
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 0x18000beb1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18000beb1
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 0x18000beb1
cmp rdi, 0xffffffffffffffff
je 0x18000beb1
mov rax, qword [0x18004adb8]
test rax, rax
je 0x18000be4e
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18000beb1
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 0x18000be9e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18004adb8]
test rax, rax
je 0x18000be93
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000beba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000beac
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000bebc
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 0x18000fda0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x180043095]
mov dword [rsp + 0x2c], eax
lea r11, [0x18003eff0]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x18000fdf3
cmp byte [r8], r9b
jne 0x18000fdf3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x18000fde0
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x18001b520]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x18001b5d0]
mov qword [rsp + 0x38], rax
lea rax, [0x18001b6b0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x18000fef9
inc edi
test ecx, ecx
je 0x18000fe5f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18000fe64
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x18000fef9
mov rax, qword [0x18004adb8]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
test rax, rax
je 0x18000fe8d
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, qword [rbx + 0x2f18]
mov rbp, rax
test rsi, rsi
je 0x18000fee2
movsxd rcx, dword [rbx + 0x2f10]
mov rdx, rsi
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x18004adb8]
test rax, rax
je 0x18000fed9
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x2f18], rbp
mov rbp, qword [rsp + 0x60]
mov dword [rbx + 0x2f14], edi
movsxd rax, dword [rbx + 0x2f10]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f18]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f10]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x180011350
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1800113a0
lea r11, [0x18003eff0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180011383
cmp byte [r8], r9b
jne 0x180011383
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 0x180011370
mov rcx, qword [0x18004adb8]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180011401
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1800113f9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1800113fc
mov rdx, r8
test rdx, rdx
jne 0x1800113d0
cmp r9, r10
je 0x180011410
cmp dword [r9], eax
jne 0x180011410
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18001ad10
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x18004adb8]
cmp byte [rbx + 0x2f30], 0
je 0x18001adfc
cmp qword [rbx + 0x2f38], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f40]
je 0x18001ade4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x18001ad8b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001c410
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.18000c2a0
mov eax, dword [rdi]
lea rcx, [0x18004ad75]
mov r9, qword [rbx + 0x2f38]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rbx + 0x2f48]
cmove edx, ebp
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.18000c2a0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret