joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001fcc0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x6a0
mov rax, qword [0x18002d000]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov rbp, rcx
mov rsi, rdx
mov r9, rdx
lea rcx, [rsp + 0x280]
lea r8, str._s
mov edx, 0x208
call qword [sym.imp.msvcrt.dll__snwprintf]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18001fd86
mov ebx, 0x2c
test byte [rsp + 0x30], 0x10
jne 0x18001fd69
lea rax, [rsp + 0x5c]
lea r8, str._s_s
lea rcx, [rsp + 0x280]
mov r9, rsi
mov edx, 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll__snwprintf]
lea rdx, [rsp + 0x280]
mov rcx, rbp
call fcn.18001f8e0
mov ebx, eax
test eax, eax
jne 0x18001fd7b
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18001fd25
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x18001fd93
mov rdx, rsi
mov rcx, rbp
call fcn.18001f8e0
mov ebx, eax
xor eax, eax
lea rdi, [rsp + 0x30]
mov ecx, 0x250
rep stosb byte [rdi], al
lea rdi, [rsp + 0x280]
mov ecx, 0x410
rep stosb byte [rdi], al
mov eax, ebx
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.18000ee20
mov rbx, qword [rsp + 0x6d0]
add rsp, 0x6a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001fde0
Capabilities:
Encode data using xor
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov r12, rdx
lea rdx, [rsp + 0x20]
mov rbx, rcx
call fcn.1800162c0
lea rcx, [rbx + 0xd4]
mov eax, 0x10
nop word [rax + rax]
xor dword [rcx - 4], 0x6a6a6a6a
xor dword [rcx], 0x6a6a6a6a
add rcx, 8
dec rax
jne 0x18001fe20
movabs rax, 0x6a09e667f3bcc908
xor r13d, r13d
mov esi, 0x80
mov qword [rbx], rax
movabs rax, 0xbb67ae8584caa73b
mov dword [rbx + 0x48], r13d
mov qword [rbx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rbx + 0x40], r13
mov qword [rbx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
lea rbp, [rbx + 0xd0]
mov qword [rbx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rbx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rbx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rbx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rbx + 0x38], rax
nop dword [rax]
mov ecx, dword [rbx + 0x48]
test ecx, ecx
jne 0x18001feed
cmp rsi, 0x80
jb 0x18001feed
mov rdx, rbp
mov rcx, rbx
call fcn.180015cc0
add qword [rbx + 0x40], 0x400
sub rbp, 0xffffffffffffff80
add rsi, 0xffffffffffffff80
jmp 0x18001ff38
mov eax, dword [rbx + 0x48]
mov edi, 0x80
mov rdx, rbp
sub edi, ecx
lea rcx, [rax + rbx + 0x4c]
cmp rdi, rsi
cmova rdi, rsi
mov r8, rdi
call sub.msvcrt.dll_memcpy
add dword [rbx + 0x48], edi
add rbp, rdi
sub rsi, rdi
cmp dword [rbx + 0x48], 0x80
jne 0x18001ff38
lea rdx, [rbx + 0x4c]
mov rcx, rbx
call fcn.180015cc0
add qword [rbx + 0x40], 0x400
mov dword [rbx + 0x48], r13d
test rsi, rsi
jne 0x18001fec0
mov esi, 0x40
lea rbp, [rsp + 0x20]
mov ecx, dword [rbx + 0x48]
test ecx, ecx
jne 0x18001ff74
cmp rsi, 0x80
jb 0x18001ff74
mov rdx, rbp
mov rcx, rbx
call fcn.180015cc0
add qword [rbx + 0x40], 0x400
sub rbp, 0xffffffffffffff80
add rsi, 0xffffffffffffff80
jmp 0x18001ffbf
mov eax, dword [rbx + 0x48]
mov edi, 0x80
mov rdx, rbp
sub edi, ecx
lea rcx, [rax + rbx + 0x4c]
cmp rdi, rsi
cmova rdi, rsi
mov r8, rdi
call sub.msvcrt.dll_memcpy
add dword [rbx + 0x48], edi
add rbp, rdi
sub rsi, rdi
cmp dword [rbx + 0x48], 0x80
jne 0x18001ffbf
lea rdx, [rbx + 0x4c]
mov rcx, rbx
call fcn.180015cc0
add qword [rbx + 0x40], 0x400
mov dword [rbx + 0x48], r13d
test rsi, rsi
jne 0x18001ff47
mov rdx, r12
mov rcx, rbx
call fcn.1800162c0
lea r11, [rsp + 0x60]
lea rdi, [rsp + 0x20]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
xor eax, eax
mov ecx, 0x10
rep stosd dword [rdi], eax
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x180020010
Capabilities:
Encode data using xor
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rbp, [rcx + 0xd0]
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x80
mov rcx, rbp
call sub.msvcrt.dll_memset
xor r12d, r12d
movabs rax, 0xa54ff53a5f1d36f1
movabs rcx, 0x510e527fade682d1
movabs rdx, 0x9b05688c2b3e6c1f
movabs r13, 0x6a09e667f3bcc908
movabs r14, 0xbb67ae8584caa73b
movabs r15, 0x3c6ef372fe94f82b
movabs r8, 0x1f83d9abfb41bd6b
movabs r9, 0x5be0cd19137e2179
cmp rbx, 0x80
jbe 0x1800200ea
mov qword [rdi + 0x20], rcx
mov qword [rdi + 0x28], rdx
mov qword [rdi + 0x30], r8
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
mov dword [rdi + 0x48], r12d
mov qword [rdi + 0x40], r12
mov qword [rdi], r13
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x38], r9
call fcn.1800163a0
mov rdx, rbp
mov rcx, rdi
call fcn.1800162c0
jmp 0x1800200f8
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call sub.msvcrt.dll_memcpy
lea rax, [rdi + 0xd4]
mov ecx, 0x10
nop word [rax + rax]
xor dword [rax - 4], 0x36363636
xor dword [rax], 0x36363636
add rax, 8
dec rcx
jne 0x180020110
movabs rax, 0xa54ff53a5f1d36f1
mov dword [rdi + 0x48], r12d
mov qword [rdi + 0x40], r12
mov qword [rdi + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rdi], r13
mov qword [rdi + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rdi + 8], r14
mov qword [rdi + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov esi, 0x80
mov qword [rdi + 0x38], rax
mov ecx, dword [rdi + 0x48]
test ecx, ecx
jne 0x1800201b1
cmp rsi, 0x80
jb 0x1800201b1
mov rdx, rbp
mov rcx, rdi
call fcn.180015cc0
add qword [rdi + 0x40], 0x400
sub rbp, 0xffffffffffffff80
add rsi, 0xffffffffffffff80
jmp 0x1800201fc
mov eax, dword [rdi + 0x48]
mov ebx, 0x80
mov rdx, rbp
sub ebx, ecx
lea rcx, [rax + rdi + 0x4c]
cmp rbx, rsi
cmova rbx, rsi
mov r8, rbx
call sub.msvcrt.dll_memcpy
add dword [rdi + 0x48], ebx
add rbp, rbx
sub rsi, rbx
cmp dword [rdi + 0x48], 0x80
jne 0x1800201fc
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180015cc0
add qword [rdi + 0x40], 0x400
mov dword [rdi + 0x48], r12d
test rsi, rsi
jne 0x180020184
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180001150
Capabilities:
Create thread
Get common file path

Disassembly:
sub rsp, 0x158
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp edx, 1
jne 0x18000122b
mov qword [0x180005670], rcx
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, str.dinput8.dll
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1800056b0], rax
cmp rax, 0x1f
jbe 0x1800011cf
lea rdx, [0x1800032e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800056a8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1000
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 0x30
mov qword [rsp + 0x20], 0
mov rcx, rax
lea r8, [0x180005678]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [0x180001040]
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180001750
add rsp, 0x158
ret

Function at 0x1800014d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov edx, 4
lea r9, [rsp + 0x30]
mov rdi, rcx
mov rcx, qword [rcx + 0x18]
lea r8d, [rdx + 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdx, qword [rdi + 0x18]
lea r8, [rdi + 0x34]
mov rcx, qword [rdi + 0x20]
mov r9d, 4
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 0x18]
test eax, eax
mov edx, 4
setne bl
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180001750
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180001560
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, qword [rcx]
xor edx, edx
mov rsi, rcx
xor r14d, r14d
mov ebp, r14d
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800015eb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1800015eb
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1800015e7
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800015c1
jmp 0x1800015eb
mov ebp, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsi]
mov edx, ebp
mov ecx, 0x18
mov dword [rsi + 8], ebp
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000165b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x18000165b
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x180001656
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x180001630
jmp 0x18000165b
mov r14, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsi + 8]
xor edx, edx
mov ecx, 0x1fffff
mov qword [rsi + 0x10], r14
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsi + 0x20], rax
mov rax, qword [rsi + 0x28]
add rax, qword [rsi + 0x10]
mov qword [rsi + 0x18], rax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180001750
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140100470
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1402228d8]
mov ecx, dword [0x140216fcc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401004ad
lea rcx, [0x1402228d0]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.1400f34b0
lea rcx, [0x1402228d8]
call fcn.140100680
cmp dword [0x1402228d8], 0xffffffff
jne 0x140100499
mov qword [0x1402228d0], 0
lea rcx, [0x1402228d0]
xor edx, edx
call fcn.1400934b0
lea rcx, [0x1402228d8]
call fcn.140100718
jmp 0x140100499
Function at 0x140005400
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [rcx]
test edx, edx
jne 0x140005428
mov dword [rcx + 4], 2
lea rax, [rcx + 4]
cmp edx, 3
jne 0x140005451
mov dword [rax], 4
cmp edx, 0x22
jne 0x14000545c
mov dword [rax], 0x4a
ret
cmp edx, 1
jne 0x140005432
mov dword [rcx + 4], edx
jmp 0x14000540d
cmp edx, 2
jne 0x14000540d
lea rax, [rcx + 4]
mov dword [rax], 3
cmp edx, 0x17
jne 0x1400055f4
mov dword [rax], 0x38
ret
cmp edx, 4
jne 0x140005468
mov dword [rax], 5
cmp edx, 0x23
jne 0x140005473
mov dword [rax], 0x4b
ret
cmp edx, 5
jne 0x14000547f
mov dword [rax], 6
cmp edx, 0x24
jne 0x14000548a
mov dword [rax], 0x4c
ret
cmp edx, 6
jne 0x140005496
mov dword [rax], 8
cmp edx, 0x25
jne 0x1400054a1
mov dword [rax], 0x4d
ret
cmp edx, 7
jne 0x1400054ad
mov dword [rax], 9
cmp edx, 0x26
jne 0x1400054b8
mov dword [rax], 0x4e
ret
cmp edx, 8
jne 0x1400054c4
mov dword [rax], 0xc
cmp edx, 0x27
jne 0x1400054cf
mov dword [rax], 0x4f
ret
cmp edx, 9
jne 0x1400054db
mov dword [rax], 0xd
cmp edx, 0x28
jne 0x1400054e6
mov dword [rax], 0x50
ret
cmp edx, 0xa
jne 0x1400054f2
mov dword [rax], 0x10
cmp edx, 0x29
jne 0x1400054fd
mov dword [rax], 0x51
ret
cmp edx, 0xb
jne 0x140005509
mov dword [rax], 0x11
cmp edx, 0x2a
jne 0x140005514
mov dword [rax], 0x52
ret
cmp edx, 0xc
jne 0x140005520
mov dword [rax], 0x12
cmp edx, 0x2b
jne 0x14000552b
mov dword [rax], 0x53
ret
cmp edx, 0xd
jne 0x140005537
mov dword [rax], 0x13
cmp edx, 0x2c
jne 0x140005542
mov dword [rax], 0x54
ret
cmp edx, 0xe
jne 0x14000554e
mov dword [rax], 0x14
cmp edx, 0x2d
jne 0x140005559
mov dword [rax], 0x55
ret
cmp edx, 0xf
jne 0x140005565
mov dword [rax], 0x30
cmp edx, 0x2e
jne 0x140005570
mov dword [rax], 0x56
ret
cmp edx, 0x10
jne 0x14000557c
mov dword [rax], 0x31
cmp edx, 0x2f
jne 0x140005587
mov dword [rax], 0x57
ret
cmp edx, 0x11
jne 0x140005593
mov dword [rax], 0x32
cmp edx, 0x30
jne 0x14000559e
mov dword [rax], 0x58
ret
cmp edx, 0x12
jne 0x1400055aa
mov dword [rax], 0x33
cmp edx, 0x31
jne 0x1400055b5
mov dword [rax], 0x59
ret
cmp edx, 0x13
jne 0x1400055c1
mov dword [rax], 0x34
cmp edx, 0x32
jne 0x1400055cc
mov dword [rax], 0x5a
ret
cmp edx, 0x14
jne 0x1400055d8
mov dword [rax], 0x35
cmp edx, 0x33
jne 0x1400055d7
mov dword [rax], 0x18
ret
cmp edx, 0x15
jne 0x1400055e4
mov dword [rax], 0x36
ret
cmp edx, 0x16
jne 0x140005441
mov dword [rax], 0x37
ret
cmp edx, 0x18
jne 0x140005600
mov dword [rax], 0x39
ret
cmp edx, 0x19
jne 0x14000560c
mov dword [rax], 0x41
ret
cmp edx, 0x1a
jne 0x140005618
mov dword [rax], 0x42
ret
cmp edx, 0x1b
jne 0x140005624
mov dword [rax], 0x43
ret
cmp edx, 0x1c
jne 0x140005630
mov dword [rax], 0x44
ret
cmp edx, 0x1d
jne 0x14000563c
mov dword [rax], 0x45
ret
cmp edx, 0x1e
jne 0x140005648
mov dword [rax], 0x46
ret
cmp edx, 0x1f
jne 0x140005654
mov dword [rax], 0x47
ret
cmp edx, 0x20
jne 0x140005660
mov dword [rax], 0x48
ret
cmp edx, 0x21
jne 0x14000541c
mov dword [rax], 0x49
ret
Function at 0x140008b30
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 0x140008b8d
lea rbx, [0x14004ee20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140008b74
cmp r10, 2
jb 0x140008b74
cmp byte [r9], r8b
jne 0x140008b74
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 0x140008b50
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140008bcf
lea rbx, [0x14004ee20]
cmp r8b, 0x23
jne 0x140008bb3
cmp byte [r9], r8b
jne 0x140008bb3
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 0x140008ba0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140008d10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140008d2a
mov qword [r8], 0
lea rdx, [0x140053584]
call fcn.140008be0
mov rbx, rax
test rax, rax
jne 0x140008d4a
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 0x140008e21
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 0x140008e21
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140008e21
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 0x140008e21
cmp rdi, 0xffffffffffffffff
je 0x140008e21
mov rax, qword [0x14005da58]
test rax, rax
je 0x140008dbe
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140008e21
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 0x140008e0e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005da58]
test rax, rax
je 0x140008e03
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140008e2a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140008e1c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140008e2c
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 0x14000b550
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, [0x14004ee20]
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 [0x14005da58]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x14000b5e6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001dfd0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000b5f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x14004ee20]
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 0x140017a50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14005d040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14005da58]
mov edi, ecx
cmp byte [rbx + 0x4235], 0
jne 0x140017ab1
cmp byte [rbx + 0x4236], 0
jne 0x140017ab1
movsx r9d, word [rbx + 0x531a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400089f0
test dil, 1
je 0x140017bd8
jmp 0x140017b3a
movss xmm1, dword [rbx + 0x3890]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x531a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400543a8]
mulss xmm1, dword [0x140054394]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdf4]
addss xmm1, dword [rbx + 0xdf8]
mov qword [rbx + 0x3fa0], rax
mov dword [rbx + 0x3f8c], 1
movss dword [rbx + 0x3f98], xmm0
movss dword [rbx + 0x3f9c], xmm1
movss xmm0, dword [rbx + 0x38ec]
mulss xmm0, dword [0x1400542cc]
or dword [rbx + 0x3f88], 0x41
movss dword [rbx + 0x3fe8], xmm0
call fcn.1400089f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017b90
lea r11, [0x14004ee20]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140017b73
cmp byte [r8], r9b
jne 0x140017b73
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 0x140017b60
not ecx
call fcn.140010b40
test rax, rax
je 0x140017bd8
cmp byte [rax + 0x96], 0
je 0x140017bd8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x531a]
mov edx, 0x10
movsx r9d, word [rbx + 0x531a]
call fcn.1400089f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400132b0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004c650
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001cb80
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 + 0x53c8], 0
lea rbx, [rcx + 0x53d0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001cc27
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001cbda
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.14001ed20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400094a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53c8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53d8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14005da50]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001cc2f
mov rcx, rbx
call fcn.1400094a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d1a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14005da58]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001d203
mov qword [rsp], rbx
lea rbx, [0x14004ee20]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001d1e3
cmp byte [r8], r9b
jne 0x14001d1e3
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 0x14001d1d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5378]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001d237
mov r10, qword [r10 + 0x5380]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001d23e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001d224
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret