joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a1a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rdi
mov r11, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
lea r10, [r11 + 0x40]
mov r8, rdx
repne scasb al, byte [rdi]
mov rdi, r10
not rcx
lea r9, [rcx - 1]
xor ecx, ecx
nop word [rax + rax]
xor edx, edx
mov eax, ecx
inc rdi
div r9d
movzx eax, byte [rdx + r8]
mov byte [rdi - 1], cl
inc ecx
cmp ecx, 0xff
mov byte [rdi + 0xff], al
jle 0x14000a1d0
xor r9b, r9b
mov r8d, 0x100
nop dword [rax + rax]
movzx edi, byte [r10]
movzx eax, byte [r10 + 0x100]
movzx ecx, r9b
add eax, edi
inc r10
add eax, ecx
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
sub r8, 1
movzx edx, al
mov r9d, eax
movzx ecx, byte [rdx + r11 + 0x40]
mov byte [r10 - 1], cl
mov byte [rdx + r11 + 0x40], dil
jne 0x14000a200
mov rdi, qword [rsp + 8]
ret

Function at 0x14000a250
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov ebp, r8d
mov r13, rcx
mov rdi, r9
lea eax, [rbp + 1]
mov r12, rdx
mov ecx, eax
mov ebx, eax
call fcn.14000b338
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.140023010
mov rdx, rdi
mov rcx, r13
call fcn.14000a1a0
xor bl, bl
xor dil, dil
test ebp, ebp
je 0x14000a322
mov r10, rsi
sub r12, rsi
mov r11, rbp
nop dword [rax]
movzx eax, bl
inc r10
inc eax
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movzx r9d, al
mov ebx, eax
movzx eax, dil
movzx r8d, byte [r9 + r13 + 0x40]
add eax, r8d
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movzx edx, al
mov edi, eax
movzx ecx, byte [rdx + r13 + 0x40]
mov byte [r9 + r13 + 0x40], cl
mov byte [rdx + r13 + 0x40], r8b
movzx eax, byte [r9 + r13 + 0x40]
add eax, r8d
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movsxd rcx, eax
movzx eax, byte [rcx + r13 + 0x40]
xor al, byte [r12 + r10 - 1]
sub r11, 1
mov byte [r10 - 1], al
jne 0x14000a2b0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x14000d148
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14001d68c
mov rsi, rax
test rax, rax
je 0x14000d1c4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000d1bf
cmp dword [rbx], 0x40
jb 0x14000d1bf
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14000d1bf
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000d1c8
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400170ec
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2f0
mov rax, qword [0x14004b200]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov eax, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x800
jne 0x14001715e
lea r8, [0x14003a058]
lea rcx, [rsp + 0xa0]
mov edx, 4
call fcn.140021f88
test eax, eax
je 0x140017180
cmp eax, 0xc
je 0x140017158
cmp eax, 0x16
je 0x140017152
cmp eax, 0x22
je 0x140017152
cmp eax, 0x50
je 0x140017180
call fcn.14000bf18
int3
call fcn.14000bf18
int3
call fcn.14000bed0
int3
mov r9d, 4
lea r8, [rsp + 0xa0]
mov ecx, eax
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400172a3
call fcn.140022f34
mov edi, dword [rax]
call fcn.140022f34
lea rcx, [rsp + 0xb0]
and dword [rax], 0
lea rax, [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov esi, 0x112
lea r8d, [rsi - 1]
mov rdx, rsi
call fcn.140022ec8
mov ebx, eax
call fcn.140022f34
cmp dword [rax], 0
je 0x140017208
call fcn.140022f34
cmp dword [rax], 0
je 0x14001720f
cmp dword [rax], 0xc
je 0x1400171fd
cmp dword [rax], 0x16
je 0x1400171f2
cmp dword [rax], 0x22
je 0x1400171f2
cmp dword [rax], 0x50
je 0x14001720f
mov ecx, 0x80004005
call fcn.140002000
int3
mov ecx, 0x80070057
call fcn.140002000
int3
mov ecx, 0x8007000e
call fcn.140002000
int3
call fcn.140022f34
mov dword [rax], edi
cmp ebx, 0xffffffff
je 0x1400172a3
cmp ebx, esi
jae 0x1400172a3
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x6c]
mov rbx, rax
mov dword [rsp + 0x30], 0x70
call fcn.140023010
lea rcx, str.KERNEL32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001728e
lea rdx, str.FindActCtxSectionStringW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001728e
lea rcx, [rsp + 0x30]
xor edx, edx
mov r9, rbx
mov qword [rsp + 0x20], rcx
lea r8d, [rdx + 2]
xor ecx, ecx
call rax
mov rcx, rbx
test eax, eax
jne 0x140017296
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x1400172a5
xor eax, eax
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400215a0
add rsp, 0x2f0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140023a40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14002a124
nop
cmp dword [0x1400508c8], 1
je 0x1400239ec
mov dword [0x1400508c4], 1
mov byte [0x1400508c0], r12b
test ebx, ebx
jne 0x1400239d8
mov rcx, qword [0x140052c30]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400239c5
mov rcx, qword [0x140052c28]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140023964
call fcn.1400270d8
cmp qword [rdi], rax
jne 0x140023964
jmp 0x14002394a
cmp rdi, rsi
jb 0x1400239c5
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400270d8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140052c30]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140052c28]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400239a3
cmp r13, rax
je 0x1400239c3
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14002394a
lea rdx, [0x140037a28]
lea rcx, [0x140037a10]
call fcn.140023794
lea rdx, [0x140037a38]
lea rcx, [0x140037a30]
call fcn.140023794
nop
test r12d, r12d
je 0x1400239fb
mov ecx, 8
call fcn.14002a024
test r12d, r12d
jne 0x140023a26
mov dword [0x1400508c8], 1
lea ecx, [r12 + 8]
call fcn.14002a024
mov ecx, r15d
call fcn.140023728
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400238b4

Function at 0x140023a4c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400238b4
Function at 0x14002460f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14004b200]
jne 0x1400215ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1400215b6
repz ret
ror rcx, 0x10
jmp 0x140024568
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140050970]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140050a68]
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 0x1400245ed
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, [0x140050970]
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 0x14002460f
mov rax, qword [rsp + 0x88]
mov qword [0x140050a68], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140050a08], rax
mov rax, qword [0x140050a68]
mov qword [0x1400508e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400509f0], rax
mov dword [0x1400508d0], 0xc0000409
mov dword [0x1400508d4], 1
mov rax, qword [0x14004b200]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14004b208]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140050968], eax
mov ecx, 1
call fcn.14002c114
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14003bd38]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140050968], 0
jne 0x140024696
mov ecx, 1
call fcn.14002c114
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 0x14002e34c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400270d8
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400517d8], rbx
jne 0x14002e452
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14002e527
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002e527
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003d890]
mov rcx, rsi
mov qword [0x1400517d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003d878]
mov rcx, rsi
mov qword [0x1400517e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400517e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400517f8], rax
test rax, rax
je 0x14002e449
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400517f0], rax
jmp 0x14002e459
mov rax, qword [0x1400517f0]
jmp 0x14002e460
mov rax, qword [0x1400517f0]
mov r11, qword [0x1400517f8]
cmp rax, rdi
je 0x14002e4c8
cmp r11, rdi
je 0x14002e4c8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400517f8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14002e4c8
test rax, rax
je 0x14002e4c8
call rsi
test rax, rax
je 0x14002e4c2
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002e4c2
test byte [rsp + 0x38], 1
jne 0x14002e4c8
bts ebp, 0x15
jmp 0x14002e506
mov rcx, qword [0x1400517e0]
cmp rcx, rdi
je 0x14002e506
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002e506
call rax
mov rbx, rax
test rax, rax
je 0x14002e506
mov rcx, qword [0x1400517e8]
cmp rcx, rdi
je 0x14002e506
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002e506
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400517d8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002e527
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14002e529
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400d83d0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x168
mov rax, qword [0x1403f80a0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
movzx r14d, r9b
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rbp, rdx
cmp rcx, 0xffffffffffffffff
je 0x1400d8591
mov qword [rsp + 0x160], rbx
test r9b, r9b
je 0x1400d8548
mov rcx, r8
mov rax, 0xffffffffffffffff
add rcx, 8
cmovb rcx, rax
call fcn.14013ec80
mov rbx, rax
test rax, rax
je 0x1400d8589
mov qword [rax], rdi
lea rdx, [rsi + 0x78]
mov eax, 2
lea rcx, [rsp + 0x40]
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x1400d8450
movzx eax, word [rdx]
xor r10d, r10d
mov word [rcx], ax
test rdi, rdi
je 0x1400d853e
movzx edx, byte [rsp + 0x141]
xor r9d, r9d
movzx r8d, byte [rsp + 0x140]
nop dword [rax]
inc r8b
inc r10d
mov byte [rsp + 0x140], r8b
movzx ecx, r8b
add dl, byte [rsp + rcx + 0x40]
mov byte [rsp + 0x141], dl
movzx eax, dl
movzx edx, byte [rsp + rcx + 0x40]
movzx eax, byte [rsp + rax + 0x40]
mov byte [rsp + rcx + 0x40], al
movzx eax, byte [rsp + 0x141]
mov byte [rsp + rax + 0x40], dl
movzx edx, byte [rsp + 0x141]
movzx r8d, byte [rsp + 0x140]
movzx ecx, byte [rsp + rdx + 0x40]
add cl, byte [rsp + r8 + 0x40]
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x40]
xor cl, byte [r9 + rbp]
mov byte [r9 + rbx + 8], cl
mov r9d, r10d
cmp r9, rdi
jb 0x1400d84d0
mov rcx, qword [rsi + 8]
add rdi, 8
jmp 0x1400d854b
mov rbx, rbp
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov r8d, edi
mov qword [rsp + 0x20], 0
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test r14b, r14b
je 0x1400d8589
test rbx, rbx
je 0x1400d8589
mov rcx, rbx
call fcn.14013ec60
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401304f0
add rsp, 0x168
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400df4d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400df4f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400df573
mov rdi, r14
mov rcx, rbx
call fcn.1400d3110
test rax, rax
jle 0x1400df544
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1401329d0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400df563
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [0x1403129f0]
cmp eax, 0xffffffff
je 0x1400df56b
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400df506
sub r14, rdi
jmp 0x1400df668
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400df58a
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400df58c
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400df5c1
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1401329d0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400df665
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x1400df5fc
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x1400df640
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140146df0
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x1400df67e
cmp rbp, rax
ja 0x1400df610
mov r8, rdi
test rdi, rdi
je 0x1400df665
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140146df0
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x1400df668
Function at 0x1400df690
Capabilities:
Write file on windows

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
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x1400df731
test r8, r8
jle 0x1400df729
mov rcx, rdi
call fcn.1400d74f0
test rax, rax
jle 0x1400df700
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.1401329d0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x1400df721
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
mov rax, qword [rax + 0x18]
call qword [0x1403129f0]
cmp eax, 0xffffffff
je 0x1400df729
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x1400df6c2
sub r14, rbx
mov rax, r14
jmp 0x1400df7a5
mov rax, qword [rcx + 0x40]
mov r9, qword [rax]
test r9, r9
je 0x1400df745
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400df747
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x1400df79f
test ecx, ecx
jle 0x1400df780
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.1401329d0
mov rax, qword [rdi + 0x58]
sub r14, rsi
add rbp, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x1400df79f
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400df79f
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.140146210
sub r14, rax
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400e00b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1403f80a0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400e00e0
xor eax, eax
jmp 0x1400e0230
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400e011a
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400e011a
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400e0230
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xb0], rsi
je 0x1400e0223
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400e015d
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400e016c
movsx ecx, dil
jmp 0x1400e01ca
lea r8, [rsp + 0x50]
mov byte [rsp + 0x60], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x61]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x68]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x60]
call qword [0x1403129f0]
test eax, eax
je 0x1400e01e4
sub eax, 1
je 0x1400e01e4
cmp eax, 2
jne 0x1400e0223
movsx ecx, byte [rsp + 0x60]
mov rdx, qword [rbx + 0x80]
call fcn.1401462b0
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400e0228
mov rsi, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
sub rsi, rax
je 0x1400e0211
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x68]
mov r8, rsi
mov edx, 1
call fcn.140146210
cmp rsi, rax
jne 0x1400e0223
lea rax, [rsp + 0x60]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x58], rax
mov eax, edi
jne 0x1400e0228
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401304f0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x1400e0270
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1403f80a0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400e0350
cmp byte [rcx + 0x71], 0
je 0x1400e0350
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [0x1403129f0]
cmp eax, 0xffffffff
je 0x1400e034c
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1403129f0]
test eax, eax
je 0x1400e0312
sub eax, 1
je 0x1400e0316
cmp eax, 2
jne 0x1400e034c
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401304f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400e0343
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.140146210
cmp rdi, rax
jne 0x1400e034c
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400e02fa
xor al, al
jmp 0x1400e02fa
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401304f0
add rsp, 0x60
pop rbx
ret

Function at 0x1400eaa40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r8, rdx
mov r10, rcx
jb 0x1400eaa50
mov r8, qword [rdx]
mov rax, 0xffffffffffffffff
movabs r9, 0xcbf29ce484222325
inc rax
cmp byte [r8 + rax], 0
jne 0x1400eaa61
xor edx, edx
test rax, rax
je 0x1400eaa94
movabs r11, 0x100000001b3
nop dword [rax]
movzx ecx, byte [rdx + r8]
inc rdx
xor r9, rcx
imul r9, r11
cmp rdx, rax
jb 0x1400eaa80
btr r9d, 0x1f
mov eax, 0x69c16bd
mul r9d
mov r8d, r9d
sub r8d, edx
shr r8d, 1
add r8d, edx
shr r8d, 0x10
imul eax, r8d, 0x1f31d
sub r9d, eax
imul eax, r8d, 0xb14
imul ecx, r9d, 0x41a7
sub ecx, eax
lea eax, [rcx + 0x7fffffff]
cmovns eax, ecx
mov rcx, qword [r10 + 8]
cdqe
dec rcx
add rax, qword [r10 + 0x10]
and rax, rcx
ret