joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0xc4f400
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xc4f40d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xc4f41d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xc4f405
lea eax, [rcx + 1]
jmp 0xc4f42b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xc4f43e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xc4f424
sub eax, 3
jb 0xc4f45e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xc4f4ad
sar eax, 1
movsxd rbp, eax
jb 0xc4f494
jmp 0xc4f46c
add ebx, ebx
jne 0xc4f46a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xc4f494
inc ecx
add ebx, ebx
jne 0xc4f47a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xc4f494
call r11
adc ecx, ecx
add ebx, ebx
jne 0xc4f48d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xc4f47c
add ecx, 2
jmp 0xc4f499
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00c4f3c2
jmp 0xc4f40d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x372000
mov dl, 0x6b
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xc4f4f9
cmp rsi, rcx
jae 0xc4f501
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xc4f4e0
cmp al, 0x8f
ja 0xc4f4e0
cmp byte [rsi - 2], 0xf
je 0xc4f4e6
sub al, 0xe8
cmp al, 1
ja 0xc4f4ca
cmp rsi, rcx
jae 0xc4f501
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xc4f4d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xc4f501
lodsb al, byte [rsi]
jmp 0xc4f4e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x845000]
mov eax, dword [rdi]
or eax, eax
je 0xc4f55e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x857b10]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xc4f50e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xc4f558
mov qword [rbx], rax
add rbx, 8
jmp 0xc4f52e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xc4f5a2
cmp al, 0xef
ja 0xc4f58a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xc4f56a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xc4f579
mov eax, dword [rdi]
add rdi, 4
jmp 0xc4f579
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xc4f5f6
sub rsp, 0xffffffffffffff80
jmp 0x4695e0
Function at 0x140010e70
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
sub rsp, 0x60
xor r13d, r13d
mov byte [rcx], 0
mov qword [rcx + 2], r13
mov rbp, rdx
mov qword [rcx + 0xa], r13
mov rdi, rcx
test rdx, rdx
je 0x140010fbf
cmp word [rdx], r13w
je 0x140010fbf
lea rdx, [rax + 8]
mov qword [rax - 0x38], r14
mov rcx, rbp
mov dword [rax + 8], r13d
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x140010fba
mov r8d, dword [0x1400658d0]
lea rax, str.C:_buildslaveunity_buildPlatformDependent_Win_FileInformation.cpp
mov qword [rsp + 0x58], rbx
lea edx, [r13 + 0x10]
mov qword [rsp + 0x50], rsi
xor r9d, r9d
mov qword [rsp + 0x48], r12
mov ecx, r14d
mov dword [rsp + 0x28], 0x25
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x20], rax
call fcn.140002010
mov r8d, r14d
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.140043610
xor edx, edx
lea rcx, [rdi + 0x12]
mov r8d, 0x410
call fcn.140043610
xor edx, edx
lea rcx, [rdi + 0x422]
mov r8d, 0x410
call fcn.140043610
xor edx, edx
lea rcx, [rdi + 0x832]
mov r8d, 0x410
call fcn.140043610
mov edx, dword [rsp + 0x80]
mov r9, rsi
mov r8d, r14d
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
mov rcx, rsi
test eax, eax
je 0x140011041
lea r9, [rsp + 0x88]
mov qword [rsp + 0x98], r13
lea r8, [rsp + 0x98]
mov dword [rsp + 0x88], r13d
lea rdx, [0x140065954]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140010fcb
mov edx, dword [0x1400658d0]
mov rcx, rsi
call fcn.140002000
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x60
pop r13
pop rdi
pop rbp
ret
mov rcx, qword [rsp + 0x98]
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x90]
lea rdx, [0x140065958]
movzx eax, word [rcx + 0xa]
mov word [rdi + 2], ax
movzx eax, word [rcx + 8]
mov word [rdi + 4], ax
movzx eax, word [rcx + 0xe]
mov word [rdi + 6], ax
movzx eax, word [rcx + 0xc]
mov word [rdi + 8], ax
movzx eax, word [rcx + 0x12]
mov word [rdi + 0xa], ax
movzx eax, word [rcx + 0x10]
mov word [rdi + 0xc], ax
movzx eax, word [rcx + 0x16]
mov word [rdi + 0xe], ax
movzx eax, word [rcx + 0x14]
mov rcx, rsi
mov word [rdi + 0x10], ax
mov qword [rsp + 0x90], r13
call sub.VERSION.dll_VerQueryValueW
mov rcx, rsi
test eax, eax
jne 0x14001104c
mov edx, dword [0x1400658d0]
jmp 0x140010fa1
mov rdx, qword [rsp + 0x90]
lea r9, [rdi + 0x12]
lea r8, str.ProductName
call fcn.140012240
mov rdx, qword [rsp + 0x90]
lea r9, [rdi + 0x422]
lea r8, str.CompanyName
mov rcx, rsi
call fcn.140012240
mov rdx, qword [rsp + 0x90]
lea r9, [rdi + 0x832]
lea r8, str.FileDescription
mov rcx, rsi
call fcn.140012240
mov edx, dword [0x1400658d0]
mov rcx, rsi
call fcn.140002000
mov byte [rdi], 1
jmp 0x140010fa6
Function at 0x1400110c0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov byte [rsp + 0x20], r9b
push rbx
push rdi
push r12
push r13
push r14
sub rsp, 0x40
xor edi, edi
mov dword [rcx + 8], 0x47
mov qword [rcx], rdi
lea rax, [0x140065704]
mov qword [rcx + 0x10], rdi
mov r13d, r8d
mov qword [rcx + 0x18], rdi
mov r14d, edx
mov qword [rcx + 0x20], rax
mov rbx, rcx
mov qword [rcx + 0x28], rdi
mov dword [rcx + 0x34], edi
mov dword [rcx + 0x38], 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, r14d
lea ecx, [rdi + 4]
cmp r14d, eax
cmove edx, edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
movzx ecx, byte [rsp + 0x90]
mov byte [rbx + 0x4d], cl
mov qword [rbx + 0x40], rax
mov dword [rbx + 0x48], r14d
mov byte [rbx + 0x4c], dil
cmp rax, 0xffffffffffffffff
je 0x140011276
mov qword [rsp + 0x80], r15
test r14d, r14d
je 0x14001115c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp r14d, eax
je 0x14001115c
xor r15b, r15b
jmp 0x14001115f
mov r15b, 1
mov rcx, qword [rbx + 0x40]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x140011221
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
cmp dword [rsp + 0x20], 0x10
jb 0x1400111f9
cmp dword [rsp + 0x2c], r14d
jne 0x1400111f9
mov r8d, dword [rsp + 0x28]
mov ecx, r13d
or ecx, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x1400111f9
test r15b, r15b
je 0x1400111c1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1400111f9
mov rdi, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
shr rax, 1
lea rsi, [rdi + 1]
cmp rsi, rax
jbe 0x1400111dd
mov rcx, rbx
call fcn.140014530
mov rax, qword [rbx]
lea rdx, [rsp + 0x28]
mov qword [rbx + 0x10], rsi
lea rcx, [rbx + 0x20]
mov qword [rax + rdi*8], rbp
call fcn.140011530
mov qword [rax], rbp
mov rcx, qword [rbx + 0x40]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140011187
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
cmp byte [rsp + 0x88], 0
mov r15, qword [rsp + 0x80]
je 0x140011276
cmp qword [rbx + 0x40], 0xffffffffffffffff
je 0x140011276
cmp byte [rbx + 0x4c], 0
jne 0x140011276
mov rdi, qword [rbx]
mov rax, qword [rbx + 0x10]
lea rcx, [rdi + rax*8]
cmp rdi, rcx
je 0x140011276
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne al
add rdi, 8
or byte [rbx + 0x4c], al
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
cmp rdi, rcx
jne 0x140011250
mov rax, rbx
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
Function at 0x1400113c0
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x40], 0xffffffffffffffff
mov rbx, rcx
je 0x14001145f
movzx edx, byte [rcx + 0x4c]
mov qword [rsp + 0x30], rdi
test dl, dl
je 0x140011423
cmp byte [rcx + 0x4d], 0
je 0x140011423
mov rdi, qword [rcx]
mov rax, qword [rcx + 0x10]
lea rcx, [rdi + rax*8]
cmp rdi, rcx
je 0x140011420
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
sete dl
add rdi, 8
or dl, byte [rbx + 0x4c]
mov byte [rbx + 0x4c], dl
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
cmp rdi, rcx
jne 0x1400113f7
mov byte [rbx + 0x4d], dl
mov rdi, qword [rbx]
mov rax, qword [rbx + 0x10]
lea rcx, [rdi + rax*8]
cmp rdi, rcx
je 0x140011450
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
add rdi, 8
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
cmp rdi, rcx
jne 0x140011433
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x20]
lea rax, [0x140065704]
cmp rcx, rax
je 0x140011477
mov edx, dword [rbx + 0x38]
call fcn.140002000
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140007da0

Function at 0x1400117c0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov r9b, 1
jmp 0x1400117d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rsi, r8
movzx ebx, r9b
mov r14, rdx
mov r15, rcx
xor ebx, 1
xor edx, edx
mov rcx, rsi
lea edi, [rbx*4 + 0x10]
mov r8d, edi
mov ebp, edi
call fcn.140043610
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400118b9
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea edx, [rbx + 0x8003]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400118ac
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400118a6
lea r9, [rsp + 0x98]
mov dword [rsp + 0x98], edi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1400118bd
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x1400118e7
mov r8, rbp
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140042af0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400117d0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov r9b, 1
jmp 0x1400117d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rsi, r8
movzx ebx, r9b
mov r14, rdx
mov r15, rcx
xor ebx, 1
xor edx, edx
mov rcx, rsi
lea edi, [rbx*4 + 0x10]
mov r8d, edi
mov ebp, edi
call fcn.140043610
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400118b9
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea edx, [rbx + 0x8003]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400118ac
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400118a6
lea r9, [rsp + 0x98]
mov dword [rsp + 0x98], edi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1400118bd
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x1400118e7
mov r8, rbp
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140042af0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14001cb90
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x260
mov rax, qword gs:[0x58]
mov rbp, rcx
mov edx, dword [0x14008a3a0]
mov ecx, 4
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x140088258], eax
jg 0x14001cdaa
cmp qword [0x140087058], 0
jne 0x14001cd8f
mov qword [rsp + 0x270], rbx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x280], rsi
mov ecx, 0x105
mov qword [rsp + 0x288], rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
movdqa xmm0, xmmword [0x140067d90]
lea rax, [rsp + 0x50]
xor esi, esi
mov rbx, 0xffffffffffffffff
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x14001cc20
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14002a200
lea rcx, [0x140087048]
call fcn.140011350
movups xmm0, xmmword [rsp + 0x30]
lea rcx, str.Shell32.dll
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [0x140087048], xmm0
movups xmmword [0x140087058], xmm1
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14001cd77
lea rdx, str.SHGetKnownFolderPath
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001ccf4
lea r9, [rsp + 0x278]
mov qword [rsp + 0x278], rsi
xor r8d, r8d
lea rcx, [0x14006c6f8]
xor edx, edx
call rax
mov rcx, qword [rsp + 0x278]
test eax, eax
js 0x14001cce3
cmp word [rcx], si
je 0x14001cce3
nop word [rax + rax]
inc rbx
cmp word [rcx + rbx*2], si
jne 0x14001ccc0
mov rdx, rcx
mov r8, rbx
lea rcx, [0x140087048]
call fcn.14002a200
mov rcx, qword [rsp + 0x278]
test rcx, rcx
je 0x14001cd6e
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14001cd6e
lea rdx, str.SHGetFolderPathW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14001cd6e
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x20a
call fcn.140043610
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call rsi
test eax, eax
js 0x14001cd6e
cmp eax, 1
je 0x14001cd6e
cmp word [rsp + 0x50], 0
je 0x14001cd6e
lea rax, [rsp + 0x50]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14001cd50
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [0x140087048]
call fcn.14002a200
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x288]
lea rdx, [0x140087048]
mov rcx, rbp
call fcn.140018de0
mov rax, rbp
add rsp, 0x260
pop rbp
ret
lea rcx, [0x140088258]
call fcn.14003fb18
cmp dword [0x140088258], 0xffffffff
jne 0x14001cbc3
lea rcx, [0x140062370]
call fcn.14003f8c8
lea rcx, [0x140088258]
call fcn.14003fab8
jmp 0x14001cbc3
Function at 0x14001f7a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rdi, rdx
mov qword [rsp + 0x40], r14
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14001f7ee
xor dil, dil
jmp 0x14001f878
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x60], rbp
mov rcx, rbx
mov dword [rsp + 0x70], r14d
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp dword [rsp + 0x70], r14d
je 0x14001f814
xor dil, dil
jmp 0x14001f873
mov qword [rsp + 0x68], rsi
mov r8, rdi
mov rsi, qword [rdi + 8]
mov rcx, rdi
sub rsi, qword [rdi]
lea rdx, [rsi + rbp]
call fcn.140017500
mov rdx, qword [rdi]
lea r9, [rsp + 0x78]
add rdx, rsi
mov dword [rsp + 0x78], r14d
mov r8d, ebp
mov qword [rsp + 0x20], r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001f86b
mov edx, dword [rsp + 0x78]
mov r8, rdi
add rdx, rsi
mov rcx, rdi
call fcn.140017500
xor dil, dil
jmp 0x14001f86e
mov dil, 1
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x40]
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14001f890
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, dil
add rsp, 0x48
pop rdi
pop rbx
ret
Function at 0x14002d530
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, r9
mov rsi, r8
mov r15, rdx
mov r14, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
jb 0x14002d572
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
mov qword [rsp + 0x20], rcx
xor edx, edx
movabs r10, 0x100000001b3
mov qword [rsp + 0x28], rdx
cmp rdx, r9
jae 0x14002d5b2
movzx eax, byte [rdx + r8]
xor rcx, rax
mov qword [rsp + 0x20], rcx
imul rcx, r10
mov qword [rsp + 0x20], rcx
inc rdx
jmp 0x14002d58d
mov r12, qword [r14 + 0x30]
and r12, rcx
mov qword [rsp + 0x48], r12
mov rbx, qword [r14 + 8]
mov r9, r12
shl r9, 4
mov qword [rsp + 0x38], r9
mov r13, qword [r14 + 0x18]
add r13, r9
cmp qword [r13], rbx
je 0x14002d5e7
mov rbx, qword [r13 + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], rbx
nop dword [rax]
cmp rbx, qword [r13]
je 0x14002d67f
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x30], rbx
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0x10
jb 0x14002d612
mov rdx, qword [rbx + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14002d61f
mov rcx, qword [rsi]
mov r8, qword [rsi + 0x10]
cmp r8, qword [rbx + 0x20]
jne 0x14002d67a
call fcn.1400437d0
test eax, eax
jne 0x14002d67a
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + 8], rcx
dec qword [r14 + 0x10]
lea rcx, [rdi + 0x10]
call fcn.1400198d0
mov qword [rsp + 0x58], 0x50
mov edx, 0x50
mov rcx, rdi
call fcn.14003f61c
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14002d723
jmp 0x14002d5f0
mov rax, qword [rdi]
cmp rbx, rax
je 0x14002d6b4
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rax, qword [r14 + 8]
mov r8, qword [r14 + 0x18]
mov rdx, r12
add rdx, rdx
add r12, r12
mov r9, qword [rsp + 0x38]
cmp qword [r9 + r8], rax
jne 0x14002d6df
mov qword [r8 + r12*8], rdi
mov rax, qword [r14 + 0x18]
mov qword [rax + rdx*8 + 8], rdi
jmp 0x14002d70f
cmp qword [r8 + r12*8], rbx
jne 0x14002d6eb
mov qword [r8 + rdx*8], rdi
jmp 0x14002d70f
mov rax, qword [r8 + rdx*8 + 8]
mov rcx, qword [rax]
mov qword [r8 + rdx*8 + 8], rcx
cmp rcx, rdi
je 0x14002d70f
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + r9 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r9 + 8], rcx
mov rcx, r14
call fcn.140037f60
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14002f240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x40], r12
mov rsi, r8
mov r12, qword [r8 + 0x10]
mov rbp, rcx
mov qword [rsp + 0x38], r13
mov r10, r8
mov r13, qword [r8 + 0x18]
cmp r13, 0x10
jb 0x14002f279
mov r10, qword [r8]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r12, r12
je 0x14002f2b4
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, r12
jb 0x14002f2a0
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
mov r14, qword [rbp + 8]
and rax, r9
mov rbx, rax
mov qword [rsp + 0x48], rdi
add rax, rax
add rbx, rbx
mov rdx, qword [rcx + rax*8]
inc rax
mov rbx, qword [rcx + rbx*8]
mov qword [rsp + 0x90], rdx
lea rax, [rcx + rax*8]
mov qword [rsp + 0x98], rax
cmp rdx, r14
jne 0x14002f2fa
mov rax, r14
jmp 0x14002f300
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x14002f378
lea rdi, [rbx + 0x10]
mov rdx, rsi
cmp r13, 0x10
jb 0x14002f315
mov rdx, qword [rsi]
mov r15, qword [rdi + 0x18]
mov rcx, rdi
cmp r15, 0x10
jb 0x14002f325
mov rcx, qword [rdi]
mov rbp, qword [rdi + 0x10]
cmp rbp, r12
jne 0x14002f33a
mov r8, rbp
call fcn.1400437d0
test eax, eax
je 0x14002f34f
mov rbx, qword [rbx]
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
jmp 0x14002f2f0
cmp r15, 0x10
jb 0x14002f358
mov rdi, qword [rdi]
mov rcx, rsi
cmp r13, 0x10
jb 0x14002f364
mov rcx, qword [rsi]
cmp r12, rbp
jne 0x14002f378
mov r8, r12
mov rdx, rdi
call fcn.1400437d0
test eax, eax
je 0x14002f37b
mov rbx, r14
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
cmp rbx, r14
jne 0x14002f431
mov rbx, qword [r14]
lea rax, [rsp + 0x90]
mov rbp, qword [rsp + 0x80]
lea r9, [0x140067e2e]
mov qword [rsp + 0x28], rax
mov rdx, rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x98], rsi
mov rdi, qword [rbx + 8]
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 8]
call fcn.14002d2e0
mov rdx, rax
movabs rcx, 0x333333333333332
mov rax, qword [rbp + 0x10]
sub rcx, rax
cmp rcx, 1
jb 0x14002f455
inc rax
mov rcx, rbp
mov qword [rbp + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [rdi], rdx
mov r9, qword [rbp + 8]
mov rdx, qword [rsp + 0x88]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.14002d530
mov rax, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x48]
add rsp, 0x50
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
mov r15, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x48]
mov rax, r15
mov qword [r15], rbx
mov byte [r15 + 8], 0
add rsp, 0x50
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.list_T__too_long
call fcn.140040850
int3