joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c91e
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14005109c
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400bc258]
xor ecx, ecx
lea r8, [0x1400bc250]
lea rdx, str.FlsAlloc
call fcn.140050c1c
test rax, rax
je 0x1400510d5
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400de020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x14003c99b
Capabilities:
Get geographical location

Disassembly:
jmp 0x14009bc54
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1400bfdb8]
mov rbp, rcx
lea r8, [0x1400bfdb0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.14009b174
test rax, rax
je 0x14009bcb4
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400de030]
jmp 0x14009bcce
xor edx, edx
mov rcx, rbp
call fcn.14003c289
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14003c9aa
Capabilities:
Terminate process

Disassembly:
jmp 0x140043dec
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14003cae5
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005a324
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14005a080

Function at 0x14003cfa4
Capabilities:
Parse pe header

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

Function at 0x14003d431
Capabilities:
Terminate process

Disassembly:
jmp 0x14008e404
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14008e41e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.14003dafd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14003dbe8
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400511a4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400bc2b8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400bc2b0]
call fcn.140050c1c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400511e4
call qword [0x1400de020]
jmp 0x1400511ea
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14003dd6e
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005a314
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14005a0ef
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005a0ef
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005a0ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005a0ef
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005a0ef
cmp dword [rcx + 0x84], 0xe
jbe 0x14005a0ef
cmp dword [rcx + 0xf8], 0
je 0x14005a0ef
mov ecx, ebx
call fcn.14005a258
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140059dd0
nop
cmp dword [rbp + 0x20], 0
je 0x14005a13d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14005a178
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14005a080
Function at 0x140001140
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r11, rcx
mov dword [rsp], 0x90d0b0e
lea r8, [rax - 0x48]
mov dword [rax - 0x54], 0xd0b0e09
lea r10, [rax - 0x47]
mov dword [rax - 0x50], 0xb0e090d
sub r8, r11
mov dword [rax - 0x4c], 0xe090d0b
sub r10, r11
lea r9, [rax - 0x47]
add rcx, 2
mov edx, 4
sub r9, r11
mov qword [rsp + 0x68], rdx
nop dword [rax + rax]
movzx eax, byte [rcx - 2]
mov byte [r8 + rcx - 2], al
movzx eax, byte [rcx - 1]
mov byte [r10 + rcx - 2], al
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
movzx eax, byte [rcx + 1]
mov byte [r9 + rcx], al
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1400011a0
lea rax, [rsp + 0x10]
sub r11, rax
lea r15, [rsp + 2]
lea rax, [rsp + 2]
sub r11, rax
mov qword [rsp + 0x60], r11
nop word [rax + rax]
movzx r12d, byte [r15 - 2]
xor ebp, ebp
movzx r13d, byte [r15 - 1]
nop dword [rax]
lea r14, [rsp + 0x10]
movzx r9d, r12b
add r14, rbp
mov r10d, 8
xor sil, sil
movzx eax, byte [r14]
nop dword [rax]
movzx ecx, sil
movzx r8d, r9b
xor cl, al
movzx edx, cl
and r8b, 1
movzx ecx, sil
cmove edx, ecx
movzx ecx, al
add cl, cl
shr r9b, 1
movzx esi, dl
movzx edx, cl
movzx ecx, al
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx eax, al
cmovns eax, edx
sub r10, 1
jne 0x140001220
movzx r8d, byte [r14 + 4]
movzx r9d, r13b
xor dil, dil
mov r10d, 8
nop
movzx eax, dil
movzx edx, r9b
xor al, r8b
movzx ecx, al
and dl, 1
movzx eax, dil
cmove ecx, eax
movzx eax, r8b
add al, al
shr r9b, 1
movzx edx, al
movzx edi, cl
movzx ecx, r8b
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx r8d, al
cmovns r8d, edx
sub r10, 1
jne 0x140001270
movzx r8d, byte [r14 + 8]
xor r11b, r11b
movzx r9d, byte [r15]
mov r10d, 8
movzx eax, r11b
movzx edx, r9b
xor al, r8b
movzx ecx, al
and dl, 1
movzx eax, r11b
cmove ecx, eax
movzx eax, r8b
add al, al
shr r9b, 1
movzx edx, al
movzx r11d, cl
movzx ecx, r8b
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx r8d, al
cmovns r8d, edx
sub r10, 1
jne 0x1400012c2
movzx r9d, byte [r14 + 0xc]
xor r8b, r8b
movzx r10d, byte [r15 + 1]
mov ebx, 8
nop word [rax + rax]
movzx eax, r8b
movzx edx, r10b
xor al, r9b
movzx ecx, al
and dl, 1
movzx eax, r8b
cmove ecx, eax
movzx eax, r9b
add al, al
shr r10b, 1
movzx edx, al
movzx r8d, cl
movzx ecx, r9b
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx r9d, al
cmovns r9d, edx
sub rbx, 1
jne 0x140001320
mov rax, qword [rsp + 0x60]
xor r8b, r11b
xor r8b, dil
add rax, r15
xor r8b, sil
inc rbp
mov byte [r14 + rax], r8b
cmp rbp, 4
jl 0x140001200
add r15, 4
sub qword [rsp + 0x68], 1
jne 0x1400011f0
mov rbx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002720
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x40
xor ebp, ebp
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], ebp
lea ecx, [rbp + 0x64]
call fcn.140001740
mov rbx, rax
test rax, rax
je 0x140002856
mov qword [rsp + 0x50], rsi
lea r9d, [rbp + 4]
mov esi, dword [rsp + 0x30]
mov r8d, 0x1000
mov edx, esi
mov qword [rsp + 0x58], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x14000283f
mov r8d, esi
mov edx, 0x90
mov rcx, rax
call sub.msvcrt.dll_memset
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_memcpy
lea r9, [rsp + 0x34]
mov edx, esi
lea r8d, [rbp + 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
mov r8, rdi
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x14000283f
call qword [sym.imp.msvcrt.dll_clock]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x5dc0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140002836
call qword [sym.imp.msvcrt.dll_clock]
sub eax, ebp
cmp eax, 0x5dc0
jl 0x140002836
lea r9, [rsp + 0x34]
mov r8d, 0x10
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002836
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x140002836
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret

Function at 0x1400052e0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005342
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005342
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x140005342
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x140005342
cmp dword [rdx + 0x84], 0xe
jbe 0x140005342
cmp dword [rdx + 0xf8], 0
je 0x140005342
mov ecx, ebx
call fcn.1400051a0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14000e188]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140005020
cmp dword [rsp + 0x60], 0
jne 0x140005385
mov ecx, ebx
call fcn.140005150
int3
add rsp, 0x40
pop rbx
ret
Function at 0x1400053d0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000542c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000542c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000542c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000542c
cmp dword [rcx + 0x84], 0xe
jbe 0x14000542c
cmp dword [rcx + 0xf8], 0
je 0x14000542c
mov ecx, ebx
call fcn.1400051a0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14000e188]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140005020
cmp dword [rsp + 0x60], 0
jne 0x14000546f
mov ecx, ebx
call fcn.140005150
int3
add rsp, 0x40
pop rbx
ret

Function at 0x140005b70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14000e028]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140005bac
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140002e88
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140005c68
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140005cce
test ebx, ebx
jne 0x140005cce
lea ecx, [rax + 2]
call fcn.140002e88
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140009180
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x14001123f
Capabilities:
Terminate process

Disassembly:
jmp 0x140013a30
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112e9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014d80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014da0
xor al, al
jmp 0x140014e21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014db3
xor al, al
jmp 0x140014e21
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014ddd
xor al, al
jmp 0x140014e21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014df1
xor al, al
jmp 0x140014e21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014e03
xor al, al
jmp 0x140014e21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014e1f
xor al, al
jmp 0x140014e21
mov al, 1
add rsp, 0x38
ret
Function at 0x140002c80
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 0x140002cdd
lea rbx, [0x14004c880]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002cc4
cmp r10, 2
jb 0x140002cc4
cmp byte [r9], r8b
jne 0x140002cc4
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 0x140002ca0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002d1f
lea rbx, [0x14004c880]
cmp r8b, 0x23
jne 0x140002d03
cmp byte [r9], r8b
jne 0x140002d03
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 0x140002cf0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002e60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002e7a
mov qword [r8], 0
lea rdx, [0x14004c484]
call fcn.140002d30
mov rbx, rax
test rax, rax
jne 0x140002e9a
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 0x140002f71
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 0x140002f71
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002f71
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 0x140002f71
cmp rdi, 0xffffffffffffffff
je 0x140002f71
mov rax, qword [0x1400c1950]
test rax, rax
je 0x140002f0e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002f71
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 0x140002f5e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400c1950]
test rax, rax
je 0x140002f53
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002f7a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002f6c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002f7c
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 0x140005630
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14004c880]
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
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400c1950]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x1400056c6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140018630
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400056d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x14004c880]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140012490
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400c1010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400c1950]
mov edi, ecx
cmp byte [rbx + 0x4a15], 0
jne 0x1400124f1
cmp byte [rbx + 0x4a16], 0
jne 0x1400124f1
movsx r9d, word [rbx + 0x5b0a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002b40
test dil, 1
je 0x140012618
jmp 0x14001257a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b0a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400b8f00]
mulss xmm1, dword [0x1400b8ef0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4778], rax
mov dword [rbx + 0x4764], 1
movss dword [rbx + 0x4770], xmm0
movss dword [rbx + 0x4774], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400b8e78]
or dword [rbx + 0x4760], 0x41
movss dword [rbx + 0x47c0], xmm0
call fcn.140002b40
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400125d0
lea r11, [0x14004c880]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400125b3
cmp byte [r8], r9b
jne 0x1400125b3
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 0x1400125a0
not ecx
call fcn.14000b310
test rax, rax
je 0x140012618
cmp byte [rax + 0x96], 0
je 0x140012618
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b0a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b0a]
call fcn.140002b40
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000db30
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140048200
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140016fd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5bb8], 0
lea rbx, [rcx + 0x5bc0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140017077
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001702a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400191d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003380
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5bb8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5bc8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400c1960]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001707f
mov rcx, rbx
call fcn.140003380
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400175f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400c1950]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140017653
mov qword [rsp], rbx
lea rbx, [0x14004c880]
nop dword [rax]
cmp r9b, 0x23
jne 0x140017633
cmp byte [r8], r9b
jne 0x140017633
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140017620
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b68]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140017687
mov r10, qword [r10 + 0x5b70]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001768e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140017674
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret