joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a200
Capabilities:
Query service status

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14001a2e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140005bf0
xor eax, eax
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], 7
mov word [rsp + 0x128], ax
lea rdx, str.Cannot_query_service_state_0x
lea rcx, [rsp + 0x40]
call fcn.140008650
mov rcx, qword [rsp + 0x40]
movsxd rax, dword [rcx + 4]
lea rcx, [rsp + 0x58]
add rcx, rax
mov eax, dword [rcx]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx], eax
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.14001ba90
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff3ff
bts eax, 9
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rsp + 0x40]
call fcn.14000c0d0
nop
lea rcx, [rsp + 0x30]
call fcn.14000b0b0
mov eax, ebx
jmp 0x14001a2ea
xor eax, eax
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140154660
add rsp, 0x160
pop rbx
ret

Function at 0x14001a310
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x14
mov eax, dword [rcx + rdx]
mov r8d, 0x10
test al, 1
jne 0x14001a35a
or eax, 1
mov dword [rcx + rdx], eax
lea rcx, [rdx + r8]
call fcn.14000afb0
nop
cmp byte [rdx + r8 + 1], 0
je 0x14001a3a0
lea rdx, str.Waiting_for_the_pending_service_stop...
lea rbx, [0x1402e2d20]
mov rcx, rbx
call fcn.140011f70
mov rax, qword [0x1402e2d20]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140013b60
movzx edx, al
mov rcx, rbx
call fcn.1400139a0
mov rcx, rbx
call fcn.140010e30
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001a200
cmp dword [rsp + 0x24], 1
je 0x14001a423
nop dword [rax]
mov eax, 0xcccccccd
mul dword [rsp + 0x38]
shr edx, 3
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001a200
test eax, eax
jne 0x14001a425
cmp dword [rsp + 0x24], 1
je 0x14001a417
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x7530
ja 0x14001a404
cmp dword [rsp + 0x24], 1
jne 0x14001a3c0
jmp 0x14001a423
lea rcx, str.Service_stop_timed_out._n
call fcn.1400183f0
mov eax, 0x41d
jmp 0x14001a425
lea rcx, str.Service_stopped_successfully._n
call fcn.1400183f0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140154660
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400242d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov qword [rsp + 0x50], rbx
mov edi, ebp
lea r14, [0x1402e3030]
lea rsi, [0x1402daa50]
nop dword [rax + rax]
mov rcx, qword [rdi + r14]
cmp byte [rcx + 0x41], 2
jne 0x1400243ea
cmp qword [rcx + 0x20], 8
lea rdx, [rcx + 8]
mov qword [rsp + 0x30], rbp
jb 0x140024331
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0x1000b
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
jne 0x14002436b
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
je 0x1400243df
test rcx, rcx
je 0x140024376
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 2
jne 0x1400243aa
mov rcx, qword [0x1402daa50]
cmp rcx, rsi
je 0x1400243ea
test dword [rcx + 0x44], 0x8000
je 0x1400243ea
cmp byte [rcx + 0x41], bl
jb 0x1400243ea
mov rcx, qword [rcx + 0x38]
lea edx, [rbx + 8]
lea r8, [0x14028bce8]
call fcn.140024250
jmp 0x1400243ea
mov rcx, qword [0x1402daa50]
cmp rcx, rsi
je 0x1400243ea
test dword [rcx + 0x44], 0x8000
je 0x1400243ea
cmp byte [rcx + 0x41], 2
jb 0x1400243ea
mov rcx, qword [rcx + 0x38]
lea r8, [0x14028bce8]
mov edx, VariantTimeToDosDateTime
mov r9d, ebx
call fcn.140024270
jmp 0x1400243ea
test rcx, rcx
je 0x1400243ea
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rdi, 8
cmp rdi, 0x60
jb 0x140024310
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140154660
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140024430
Capabilities:
Query or enumerate registry value
Set registry value

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, 0x70
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebp, ebp
mov edi, ebp
mov qword [rsp + 0x50], rbp
lea rax, [0x1402e3030]
mov r12, qword [rdi + rax]
movzx eax, byte [r12 + 0x40]
dec al
test al, 0xfd
jne 0x1400245bb
mov qword [rsp + 0x58], rbp
lea rdx, [r12 + 8]
cmp qword [rdx + 0x18], 8
jb 0x140024493
mov rdx, qword [rdx]
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test eax, eax
jne 0x1400245fb
mov rbx, qword [r12 + 0x28]
mov r13, qword [r12 + 0x30]
cmp rbx, r13
je 0x1400245ab
cmp byte [r12 + 0x40], 3
jne 0x140024529
mov dword [rsp + 0x64], ebp
mov dword [rsp + 0x60], ebp
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140047d56.0]
mov rdx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x64]
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140024599
mov rax, qword [rbx]
mov rdx, qword [rax]
mov rdi, rdx
mov r15, rax
mov rcx, rax
mov rax, qword [rdx + 8]
call qword [case.0x140047d56.0]
mov r14, rax
mov rcx, r15
mov rax, qword [rdi]
call qword [case.0x140047d56.0]
mov rbp, rax
mov rcx, r15
mov rax, qword [rdi + 0x10]
call qword [case.0x140047d56.0]
mov edi, eax
mov rdx, qword [r15]
mov rcx, r15
mov rax, qword [rdx + 0x18]
call qword [case.0x140047d56.0]
mov rdx, rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbp
mov r9d, edi
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test eax, eax
jne 0x1400245fb
xor ebp, ebp
add rbx, 8
cmp rbx, r13
jne 0x1400244e0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400245bb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rdi, 8
mov qword [rsp + 0x50], rdi
cmp rdi, 0x60
jb 0x140024464
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140154660
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400242d0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140024611
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1400245d0
Function at 0x140032810
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor r14d, r14d
xor eax, eax
xorps xmm0, xmm0
mov rbp, r8
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov rdi, rcx
mov qword [rcx + 0x18], rdx
lea rax, vtable.SqliteStatement.0
mov qword [rcx + 0x30], rdx
lea r8d, [r14 + 6]
lea rdx, str.SELECT_FILES.FILE_ID__SEGMENTS_SLOW.CLUSTERS__SEGMENTS_FAST.CLUSTERS_FROM_FILES_LEFT_JOIN_SEGMENTS_AS_SEGMENTS_SLOW_ON_FILES.FILE_ID__SEGMENTS_SLOW.FILE_ID_AND_SEGMENTS_SLOW.SEGMENT_ID__0__LEFT_JOIN_SEGMENTS_AS_SEGMENTS_FAST_ON_FILES.FILE_ID__SEGMENTS_FAST.FILE_ID_AND_SEGMENTS_FAST.SEGMENT_ID__1__WHERE_FILES.FILE_STATE__1_AND_FILES.FILE_ID____file_id_ORDER_BY_FILES.FILE_ID_LIMIT__maxfiles
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x38], rdx
mov esi, r9d
mov dword [rcx + 0x28], r14d
mov qword [rcx + 0x40], r14
mov qword [rcx + 0x48], r14
mov byte [rcx + 0x50], r14b
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x140032888
mov byte [rdi + 0x50], 1
mov r8, rbp
mov dword [rdi + 0x58], r14d
mov edx, 1
lea rcx, [rdi + 0x20]
call fcn.14002ab40
test eax, eax
jne 0x1400328b0
mov r8d, esi
lea edx, [rax + 2]
lea rcx, [rdi + 0x20]
call fcn.140032140
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400339a0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400339b9
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140033a73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 2
jne 0x140033a2b
xor edi, edi
mov rcx, qword [0x1402daa50]
lea rax, [0x1402daa50]
cmp rcx, rax
je 0x140033a73
test dword [rcx + 0x44], 0x100
je 0x140033a73
cmp byte [rcx + 0x41], 4
jb 0x140033a73
cmp qword [rbx + 0x18], 8
jb 0x140033a06
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140290e58]
mov edx, 0xa
mov r9, rbx
call fcn.140033550
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [0x1402daa50]
lea rax, [0x1402daa50]
cmp rcx, rax
je 0x140033a73
test dword [rcx + 0x44], 0x100
je 0x140033a73
cmp byte [rcx + 0x41], 2
jb 0x140033a73
cmp qword [rbx + 0x18], 8
jb 0x140033a57
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140290e58]
mov edx, VariantTimeToDosDateTime
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.1400335c0
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14005a0f0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov rbx, rcx
cmp rax, qword [rcx + 0x18]
jae 0x14005a110
inc rax
mov qword [rcx + 0x20], rax
add rsp, 0x20
pop rbx
ret
cmp byte [rcx + 0x38], 0
jne 0x14005a15c
mov rax, qword [rcx + 0x28]
mov edx, 1
add qword [rcx + 0x30], rax
mov r9, qword [rcx]
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
call fcn.1402434c0
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbx + 0x18], rcx
cmp rax, qword [rbx + 0x10]
jae 0x14005a15c
mov byte [rdx + rax], 0
inc qword [rbx + 0x18]
mov byte [rbx + 0x38], 1
add rsp, 0x20
pop rbx
ret
Function at 0x140067340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push r14
sub rsp, 0x68
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0xa0], 0
mov rsi, rdx
mov r14, rcx
jne 0x14006736d
xor al, al
jmp 0x140067566
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
call fcn.140068f00
test al, al
je 0x14006754f
mov rax, qword [r14 + 0x48]
mov r8, rsi
mov rdi, qword [rax - 0x70]
lea rbx, [rax - 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.14006a2c0
test al, al
je 0x14006754f
mov rdx, rbx
mov rcx, rdi
call fcn.14006a670
test al, al
je 0x14006754f
mov rbx, qword [r14 + 0x40]
cmp rbx, qword [r14 + 0x48]
je 0x140067539
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x50], r12
movabs r12, 0x100000001b3
mov qword [rsp + 0x48], r13
movabs r13, 0x789e9b398d409406
mov qword [rsp + 0x40], r15
xor r15d, r15d
nop word [rax + rax]
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x1400674af
mov qword [rsp + 0x20], rsi
xorps xmm0, xmm0
test rsi, rsi
js 0x140067421
cvtsi2sd xmm0, rsi
jmp 0x140067439
mov rax, rsi
mov rcx, rsi
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
movsd qword [rsp + 0x28], xmm0
mov rdi, r13
mov rcx, r15
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r12
add rcx, 4
xor rdi, rax
imul rdi, r12
cmp rcx, 0x10
jb 0x140067450
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rbp + 0x20]
jbe 0x1400674a4
mov rcx, rbp
call fcn.140072150
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
mov qword [rbp + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r15
je 0x1400674e4
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x1400674e4
nop
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.140067340
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x1400674c0
cmp qword [rbx + 0x40], r15
je 0x140067517
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140067517
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.140067340
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x1400674f3
add rbx, 0x78
cmp rbx, qword [r14 + 0x48]
jne 0x140067400
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rcx, r14
call fcn.140068af0
test al, al
setne al
mov byte [r14 + 0xa0], al
jmp 0x140067559
mov byte [r14 + 0xa0], 0
xor al, al
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140154660
add rsp, 0x68
pop r14
pop rsi
ret
Function at 0x140067580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push r14
sub rsp, 0x68
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0xa0], 0
mov rsi, rdx
mov r14, rcx
jne 0x1400675ad
xor al, al
jmp 0x140067786
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
call fcn.140068f00
test al, al
je 0x14006776f
mov rax, qword [r14 + 0x48]
mov r8, rsi
mov rdi, qword [rax - 0x70]
lea rbx, [rax - 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.14006a4c0
test al, al
je 0x14006776f
mov rdx, rbx
mov rcx, rdi
call fcn.14006a670
test al, al
je 0x14006776f
mov rbx, qword [r14 + 0x40]
cmp rbx, qword [r14 + 0x48]
je 0x140067759
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x50], r12
movabs r12, 0x100000001b3
mov qword [rsp + 0x48], r13
movabs r13, 0x789e9b398d409406
mov qword [rsp + 0x40], r15
xor r15d, r15d
nop word [rax + rax]
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x1400676cf
xorps xmm0, xmm0
mov qword [rsp + 0x20], rsi
cvtsi2sd xmm0, rsi
mov rdi, r13
mov rcx, r15
movsd qword [rsp + 0x28], xmm0
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r12
add rcx, 4
xor rdi, rax
imul rdi, r12
cmp rcx, 0x10
jb 0x140067670
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rbp + 0x20]
jbe 0x1400676c4
mov rcx, rbp
call fcn.140072150
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
mov qword [rbp + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r15
je 0x140067704
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x140067704
nop
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.140067580
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x1400676e0
cmp qword [rbx + 0x40], r15
je 0x140067737
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140067737
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.140067580
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140067713
add rbx, 0x78
cmp rbx, qword [r14 + 0x48]
jne 0x140067640
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rcx, r14
call fcn.140068af0
test al, al
setne al
mov byte [r14 + 0xa0], al
jmp 0x140067779
mov byte [r14 + 0xa0], 0
xor al, al
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140154660
add rsp, 0x68
pop r14
pop rsi
ret
Function at 0x1400677a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x68
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0xa0], 0
mov r14, rcx
mov ebp, edx
jne 0x1400677cc
xor al, al
jmp 0x1400679ae
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], r15
call fcn.140068f00
test al, al
je 0x140067992
mov rax, qword [r14 + 0x48]
mov r8, rbp
mov rdi, qword [rax - 0x70]
lea rbx, [rax - 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.14006a2c0
test al, al
je 0x140067992
mov rdx, rbx
mov rcx, rdi
call fcn.14006a670
test al, al
je 0x140067992
mov rbx, qword [r14 + 0x40]
cmp rbx, qword [r14 + 0x48]
je 0x14006797c
mov qword [rsp + 0x60], rsi
movabs rcx, 0x789e9b398d409406
mov qword [rsp + 0x50], r12
xor r12d, r12d
mov qword [rsp + 0x48], r13
movabs r13, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x1400678ef
xorps xmm0, xmm0
mov qword [rsp + 0x20], rbp
cvtsi2sd xmm0, rbp
mov rdi, rcx
mov rcx, r12
movsd qword [rsp + 0x28], xmm0
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r13
add rcx, 4
xor rdi, rax
imul rdi, r13
cmp rcx, 0x10
jb 0x140067890
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rsi + 0x20]
jbe 0x1400678e4
mov rcx, rsi
call fcn.140072150
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
mov qword [rsi + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r12
je 0x140067923
mov edi, r12d
cmp dword [rbx + 0x38], r12d
jbe 0x140067923
nop
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.1400677a0
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x140067900
cmp qword [rbx + 0x40], r12
je 0x140067955
mov edi, r12d
cmp dword [rbx + 0x48], r12d
jbe 0x140067955
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.1400677a0
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140067932
add rbx, 0x78
movabs rcx, 0x789e9b398d409406
cmp rbx, qword [r14 + 0x48]
jne 0x140067860
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rcx, r14
call fcn.140068af0
test al, al
setne al
mov byte [r14 + 0xa0], al
jmp 0x14006799c
mov byte [r14 + 0xa0], 0
xor al, al
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140154660
add rsp, 0x68
pop r14
pop rbp
ret
Function at 0x1400679d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x68
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0xa0], 0
mov r14, rcx
movsxd rbp, edx
jne 0x1400679fd
xor al, al
jmp 0x140067bde
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], r15
call fcn.140068f00
test al, al
je 0x140067bc2
mov rax, qword [r14 + 0x48]
mov r8, rbp
mov rdi, qword [rax - 0x70]
lea rbx, [rax - 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.14006a4c0
test al, al
je 0x140067bc2
mov rdx, rbx
mov rcx, rdi
call fcn.14006a670
test al, al
je 0x140067bc2
mov rbx, qword [r14 + 0x40]
cmp rbx, qword [r14 + 0x48]
je 0x140067bac
mov qword [rsp + 0x60], rsi
movabs rax, 0x789e9b398d409406
mov qword [rsp + 0x50], r12
xor r12d, r12d
mov qword [rsp + 0x48], r13
movabs r13, 0x100000001b3
nop word [rax + rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x140067b1f
movd xmm0, ebp
mov rdi, rax
cvtdq2pd xmm0, xmm0
mov qword [rsp + 0x20], rbp
mov rcx, r12
movsd qword [rsp + 0x28], xmm0
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r13
add rcx, 4
xor rdi, rax
imul rdi, r13
cmp rcx, 0x10
jb 0x140067ac0
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rsi + 0x20]
jbe 0x140067b14
mov rcx, rsi
call fcn.140072150
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
mov qword [rsi + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r12
je 0x140067b53
mov edi, r12d
cmp dword [rbx + 0x38], r12d
jbe 0x140067b53
nop
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.1400679d0
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x140067b30
cmp qword [rbx + 0x40], r12
je 0x140067b85
mov edi, r12d
cmp dword [rbx + 0x48], r12d
jbe 0x140067b85
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.1400679d0
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140067b62
add rbx, 0x78
movabs rax, 0x789e9b398d409406
cmp rbx, qword [r14 + 0x48]
jne 0x140067a90
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rcx, r14
call fcn.140068af0
test al, al
setne al
mov byte [r14 + 0xa0], al
jmp 0x140067bcc
mov byte [r14 + 0xa0], 0
xor al, al
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140154660
add rsp, 0x68
pop r14
pop rbp
ret
Function at 0x140077f80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xfff0]
mov eax, 0x100f0
call fcn.1401546b0
sub rsp, rax
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rbp + 0xffe0], rax
mov rdi, rcx
cmp qword [rdx + 0x18], 8
jb 0x140077fbe
mov rdx, qword [rdx]
lea r8, [0x140292034]
lea rcx, [rsp + 0x78]
call fcn.14023f698
mov ebx, eax
test eax, eax
jne 0x1400780e5
mov r9, qword [rsp + 0x78]
test r9, r9
je 0x1400780f4
xor ebx, ebx
mov dword [rbp - 0x27], ebx
mov word [rbp - 0x23], bx
mov byte [rbp - 0x21], bl
mov qword [rbp - 0x60], r9
lea rax, [rbp - 0x20]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 0x10000
mov qword [rbp - 0x38], rbx
mov byte [rbp - 0x28], bl
mov qword [rbp - 0x30], rbx
lea edx, [rbx + 1]
mov r8d, 0x10000
lea rcx, [rbp - 0x20]
call fcn.1402434c0
mov qword [rbp - 0x38], rax
mov rdx, qword [rbp - 0x58]
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rdx
cmp rax, qword [rbp - 0x50]
jae 0x14007804c
mov byte [rax + rdx], bl
inc qword [rbp - 0x48]
mov byte [rbp - 0x28], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], ebx
mov byte [rbp - 0x68], bl
lea rcx, [rbp - 0x80]
call fcn.14005d280
movsxd rax, dword [rbp - 0x78]
lea rcx, [0x140288518]
mov rax, qword [rcx + rax*8]
mov qword [rbp - 0x70], rax
lea rcx, [0x140064e90]
cmp rax, rcx
mov rcx, qword [rbp - 0x80]
jne 0x1400780a2
mov rax, qword [rcx + 0x20]
movsx ebx, byte [rax]
call fcn.14005a0f0
mov dword [rbp - 0x74], ebx
jmp 0x1400780ab
call qword [case.0x140047d56.0]
mov dword [rbp - 0x74], eax
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140064a60
mov rcx, qword [rsp + 0x78]
call fcn.14010b9f0
mov rcx, qword [rbp + 0xffe0]
xor rcx, rsp
call fcn.140154660
lea r11, [rsp + 0x100f0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400780f4
call fcn.14010b9f0
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.14003d7f0
nop
mov r8, rax
lea rdx, str.Could_not_open_json_file._Status:
lea rcx, [rsp + 0x58]
call fcn.140041d60
nop
mov rcx, rax
call fcn.1400062f0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140002480
lea rdx, [0x1402d3678]
lea rcx, [rsp + 0x20]
call fcn.140145d9c
int3