joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005f560
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
xor r14d, r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test eax, eax
je 0x14005f62a
lea r15, [r14 - 1]
nop word [rax + rax]
mov ecx, ebx
mov eax, 2
mul rcx
mov rdi, rax
cmovo rdi, r15
mov rcx, rdi
call fcn.140114b30
mov rbp, rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.140118720
mov qword [rsp + 0x58], rbp
mov rdx, rbp
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14005f622
cmp eax, ebx
jbe 0x14005f5fb
mov rcx, rbp
call fcn.14011460c
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test eax, eax
jne 0x14005f5a0
jmp 0x14005f62a
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
mov r8d, eax
mov rdx, rbp
mov rcx, rsi
call fcn.14004c390
nop
mov rcx, rbp
call fcn.14011460c
jmp 0x14005f640
mov rcx, rbp
call fcn.14011460c
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14005f660
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140185220]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
cmp qword [rcx + 0x10], 0
je 0x14005f72b
cmp qword [rcx + 0x18], 8
jb 0x14005f696
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x14005f72b
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005f6b1
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test eax, eax
jne 0x14005f724
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x14005f724
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14005ee00
nop
mov rcx, rax
call fcn.14005f660
movzx ebx, al
lea rcx, [rsp + 0x20]
call fcn.14004b2f0
test bl, bl
je 0x14005f724
lea ebx, [rsi + 5]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005f701
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test eax, eax
jne 0x14005f718
lea ecx, [rax + 0x32]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, ebx
dec ebx
test eax, eax
je 0x14005f724
test esi, esi
je 0x14005f6f4
test esi, esi
setne al
jmp 0x14005f72d
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401145b0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14005f8b0
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140185220]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
je 0x14005f925
lea rcx, [rsp + 0x20]
call fcn.14005f560
cmp qword [rsp + 0x30], 0
je 0x14005f908
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005f8ff
mov rcx, qword [rbx]
call fcn.14011e7e4
test eax, eax
je 0x14005f91b
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005f915
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x20]
call fcn.14004b2f0
mov rcx, rbx
call fcn.14004b2f0
nop
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401145b0
add rsp, 0x50
pop rbx
ret
Function at 0x140061000
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140185220]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12, r8
mov r15, rdx
mov rbp, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x34], r13d
lea r14, [rcx + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x14006104a
mov rdx, qword [r14]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x50], eax
test eax, eax
jne 0x140061160
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
mov rbx, rax
mov rdi, 0xffffffffffffffff
cmovo rbx, rdi
mov rcx, rbx
call fcn.140114b30
mov rsi, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.140118720
mov qword [rsp + 0x38], rsi
cmp qword [r14 + 0x18], 8
jb 0x1400610b6
mov r14, qword [r14]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r14
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x50], eax
test eax, eax
jne 0x140061158
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1400610f2
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14004c390
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.14004c2b0
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140061158
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061152
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061185
call fcn.14011460c
nop
mov rcx, rsi
call fcn.14011460c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401145b0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14011c9a4
nop
int3

Function at 0x140061190
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov r10, rdx
mov eax, dword [r8 + 0x10]
mov rbx, rcx
lea eax, [rax*2 + 2]
jb 0x1400611b1
mov r8, qword [r8]
cmp qword [rcx + 0x28], 8
lea rdx, [rcx + 0x10]
jb 0x1400611bf
mov rdx, qword [rdx]
mov dword [rsp + 0x28], eax
mov r9d, 1
mov qword [rsp + 0x20], r8
mov rcx, r10
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbx + 0x50], eax
add rsp, 0x30
pop rbx
ret
Function at 0x140062e10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov qword [rsp + 0x30], rbp
mov rsi, rcx
xor edi, edi
test edi, edi
jle 0x140062e48
lea ecx, [rdi - 1]
mov eax, 1
shl eax, cl
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r14
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140062ec8
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rbx, 0xffffffffffffffff
cmp word [rsi + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x140062e62
lea rdx, [rbx*2 + 2]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x140062ec2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140062ec2
lea rdx, [rbx + 1]
mov r8, rsi
mov rcx, rax
call fcn.14011ca1c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbp
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x140062ef0
call qword [sym.imp.USER32.dll_CloseClipboard]
inc edi
cmp edi, 8
jl 0x140062e32
xor al, al
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
jmp 0x140062ed5

Function at 0x140063650
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub rsp, 0x528
mov rax, qword [0x140185220]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov rax, qword [0x14018c2f8]
test rax, rax
jne 0x1400636f1
lea ecx, [rax + 8]
mov qword [rsp + 0x520], rbx
call fcn.1401145d0
xor edx, edx
mov qword [rsp + 0x30], rax
mov r8d, CDefFolderMenu_Create2
lea rcx, [rsp + 0x40]
mov rbx, rax
mov qword [rax], 0
call fcn.140118720
mov edx, 0x104
lea rcx, [rsp + 0x300]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov r9d, CDefFolderMenu_Create2
mov dword [rsp + 0x20], 0x4001
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x300]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov qword [rbx], rax
mov rax, rbx
mov qword [0x14018c2f8], rbx
mov rbx, qword [rsp + 0x520]
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.1401145b0
add rsp, 0x528
ret
Function at 0x140063a30
Capabilities:
Timestomp file
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
cmp qword [rcx], 0
movzx edi, r8b
mov rbp, rdx
mov rsi, rcx
je 0x140063b19
xor r14d, r14d
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r14
mov qword [rax + 0x20], r14
test r8b, r8b
je 0x140063abf
mov qword [rax - 0x38], r14
lea r8d, [r14 + 7]
mov dword [rax - 0x40], 0x8000000
xor r9d, r9d
mov edx, 0x80000000
mov dword [rax - 0x48], 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140063abf
lea r9, [rsp + 0x88]
mov rcx, rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140063b19
mov r8d, dword [rsi + 8]
lea r9, [rsp + 0x70]
mov rdx, qword [rsi]
mov rcx, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140063b31
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
test dil, dil
je 0x140063b51
lea r9, [rsp + 0x88]
mov rcx, rbx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140063b1b
Function at 0x140066800
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140185220]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
mov ecx, 0xfffe
call fcn.140114b30
mov rdi, rax
xor edx, edx
mov r8d, 0xfffe
mov rcx, rax
call fcn.140118720
mov qword [rsp + 0x30], rdi
mov r8d, 0x7fff
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add rsi, 0x50
cmp byte [0x14018c2e4], 0
je 0x14006695f
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x140066870
mov rdx, rdi
mov rcx, rsi
call fcn.14004ca40
mov r9, qword [rsi + 0x10]
mov rdx, rsi
mov r10, qword [rsi + 0x18]
cmp r10, 8
jb 0x14006689a
mov rdx, qword [rsi]
test r9, r9
je 0x1400668d0
lea rcx, [r9 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea r8, [rdx + rax*2]
cmp word [r8], 0x5c
je 0x1400668c8
cmp r8, rdx
je 0x1400668d0
sub r8, 2
cmp word [r8], 0x5c
jne 0x1400668b8
sub r8, rdx
sar r8, 1
jmp 0x1400668d3
mov r8, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
cmp r9, r8
cmovb r8, r9
mov rdx, rsi
cmp r10, 8
jb 0x140066900
mov rdx, qword [rsi]
lea rcx, [rsp + 0x38]
call fcn.14004c390
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14004c2b0
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400669a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066958
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400669f4
call fcn.14011460c
jmp 0x1400669a7
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140066980
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14004ca40
lea rdx, [0x140163ce8]
mov rcx, rsi
call fcn.14004ef90
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400669b4
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str._bookmarks
mov rcx, rsi
call fcn.14004ef90
nop
mov rcx, rdi
call fcn.14011460c
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401145b0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
call fcn.14011c9a4
nop
int3

Function at 0x140066a00
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x60], 0
mov rbx, rcx
jne 0x140066a15
call fcn.140066800
cmp qword [rbx], 0
jne 0x140066a1f
mov byte [rbx + 0x40], 1
lea rdx, [rbx + 0x50]
mov word [rbx + 0x42], 1
cmp qword [rdx + 0x18], 8
jb 0x140066a33
mov rdx, qword [rdx]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140068520
Function at 0x140068520
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x48
mov rax, rdx
mov rbp, rcx
test rdx, rdx
je 0x140068646
cmp word [rdx], 0
je 0x140068646
xor r15d, r15d
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rax
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140068646
mov qword [rsp + 0x70], rdi
lea rdx, [rsp + 0x78]
mov rcx, rax
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x78], r15d
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140068622
cmp dword [rsp + 0x78], r15d
jne 0x140068622
lea rcx, [rbx + 1]
lea rdx, [0x1401530b8]
call fcn.140114b4c
mov rdi, rax
test rax, rax
jne 0x1400685c9
lea ebx, [rax - 2]
jmp 0x140068627
mov byte [rbx + rax], r15b
lea r9, [rsp + 0x80]
mov r8d, ebx
mov dword [rsp + 0x80], r15d
mov rdx, rdi
mov qword [rsp + 0x20], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006861a
mov eax, dword [rsp + 0x80]
cmp eax, ebx
jne 0x14006861a
mov r8d, eax
mov rdx, rdi
mov rcx, rbp
call fcn.140068a40
mov rcx, rdi
mov ebx, eax
call fcn.14011460c
jmp 0x140068627
mov rcx, rdi
call fcn.14011460c
mov ebx, 0xfffffffd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x40]
mov eax, ebx
mov rdi, qword [rsp + 0x70]
add rsp, 0x48
pop r15
pop rsi
pop rbp
pop rbx
ret
mov eax, 0xfffffffd
add rsp, 0x48
pop r15
pop rsi
pop rbp
pop rbx
ret

Function at 0x140068950
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r8, 0xffffffffffffffff
mov dword [rsp + 0x40], eax
inc r8
cmp byte [rdx + r8], al
jne 0x140068961
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x38
ret
Function at 0x140071300
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x28], 8
mov rax, rdx
lea rdx, [rcx + 0x10]
mov dword [rsp + 0x40], 4
mov rbx, rcx
mov dword [rsp + 0x58], 0
jb 0x14007132a
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r8
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbx + 0x50], eax
add rsp, 0x30
pop rbx
ret

Function at 0x140071360
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x28], 8
mov rax, rdx
lea rdx, [rcx + 0x10]
mov rbx, rcx
jb 0x14007137a
mov rdx, qword [rdx]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], r8
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbx + 0x50], eax
add rsp, 0x30
pop rbx
ret

Function at 0x1400726d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140185220]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov edx, 0x361
mov dword [rbp - 0x59], 0x3610300
mov dword [rbp - 0x55], 0x4860483
lea rax, [rbp - 0x57]
mov dword [rbp - 0x51], 0x9030903
mov dword [rbp - 0x4d], 0x940093e
mov dword [rbp - 0x49], 0x94c0949
mov dword [rbp - 0x45], 0x9830982
mov dword [rbp - 0x41], 0x9c009be
mov dword [rbp - 0x3d], 0x9cc09c7
mov dword [rbp - 0x39], 0x9d709d7
mov dword [rbp - 0x35], 0xa400a3e
mov dword [rbp - 0x31], 0xa830a83
mov dword [rbp - 0x2d], 0xac00abe
mov dword [rbp - 0x29], 0xacc0ac9
mov dword [rbp - 0x25], 0xb030b02
mov dword [rbp - 0x21], 0xb3e0b3e
mov dword [rbp - 0x1d], 0xb400b40
mov dword [rbp - 0x19], 0xb4c0b47
mov dword [rbp - 0x15], 0xb570b57
mov dword [rbp - 0x11], 0xb830b83
mov dword [rbp - 0xd], 0xbbf0bbe
mov dword [rbp - 9], 0xbcc0bc1
mov dword [rbp - 5], 0xbd70bd7
mov dword [rbp - 1], 0xc030c01
mov dword [rbp + 3], 0xc440c41
mov dword [rbp + 7], 0xc830c82
mov dword [rbp + 0xb], 0xcbe0cbe
mov dword [rbp + 0xf], 0xcc40cc0
mov dword [rbp + 0x13], 0xccb0cc7
mov dword [rbp + 0x17], 0xcd60cd5
mov dword [rbp + 0x1b], 0xd030d02
mov dword [rbp + 0x1f], 0xd400d3e
mov dword [rbp + 0x23], 0xd4c0d46
mov dword [rbp + 0x27], 0xd570d57
mov dword [rbp + 0x2b], 0xf7f0f7f
mov dword [rbp + 0x2f], 0x20e120d0
mov dword [rbp + 0x33], 0x309a3099
mov qword [rbp + 0x37], 0xfffffffffe23fe20
cmp dx, cx
jae 0x140072809
nop
add rax, 4
cmp word [rax], cx
jb 0x140072800
cmp cx, word [rax - 2]
jb 0x140072817
cmp cx, word [rax]
setbe al
jmp 0x140072819
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401145b0
add rsp, 0xb0
pop rbp
ret
Function at 0x14007ad60
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
cmp rcx, rdx
je 0x14007ad9b
nop dword [rax + rax]
movzx r9d, word [rcx]
mov rax, r8
shl rax, 6
sub r9d, 0x61c88647
add r9, rax
add rcx, 2
mov rax, r8
shr rax, 2
add r9, rax
xor r8, r9
cmp rcx, rdx
jne 0x14007ad70
movabs rax, 0x200000005
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
bts r8d, 0x1e
mov eax, r8d
ret

Function at 0x140091680
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x858
mov rax, qword [0x140185220]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 8], 0
mov rbx, rdx
mov rdi, rcx
je 0x140091712
mov qword [r11 - 0x18], rsi
lea rsi, [r11 + 0x18]
call fcn.1400583e0
mov r9d, 0x400
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x40]
mov r8d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
call fcn.140123290
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rdi + 0x10]
mov rsi, qword [rsp + 0x850]
test rdx, rdx
je 0x140091712
lea rcx, [rsp + 0x40]
call fcn.14012d050
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1401145b0
add rsp, 0x858
pop rdi
pop rbx
ret
Function at 0x1400b0140
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r10, rcx
mov rsi, rdx
movabs rdx, 0x100000001b3
mov rbx, r8
mov r8, qword [r8 + 0x10]
movabs rcx, 0xcbf29ce484222325
mov rax, r8
shr rax, 8
movzx r9d, al
movzx eax, r8b
xor rax, rcx
imul rax, rdx
xor r9, rax
mov rax, r8
imul r9, rdx
shr rax, 0x10
movzx ecx, al
mov rax, r8
xor r9, rcx
shr rax, 0x18
imul r9, rdx
movzx ecx, al
mov rax, r8
xor r9, rcx
shr rax, 0x20
imul r9, rdx
movzx ecx, al
mov rax, r8
xor r9, rcx
shr rax, 0x28
imul r9, rdx
movzx ecx, al
mov rax, r8
xor r9, rcx
shr rax, 0x30
imul r9, rdx
movzx ecx, al
xor r9, rcx
shr r8, 0x38
imul r9, rdx
xor r9, r8
imul r9, rdx
mov rdx, qword [r10 + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1400b0221
cmp rax, rbx
jne 0x1400b0217
mov rax, qword [r10 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400b022c
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1400b022c
cmp rax, rbx
jne 0x1400b022c
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
lea rdx, [rbx + 0x10]
dec qword [r10 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
call fcn.1400b86e0
mov edx, 0x30
mov rcx, rbx
call fcn.14011460c
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b16b0
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, rdx
mov rbx, rcx
xor ebp, ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
cmp qword [rdx + 0x18], 0x10
jb 0x1400b16ea
mov rax, qword [rdx]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400b181f
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov qword [rbx + 0x10], rcx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
je 0x1400b177e
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
mov rcx, rsi
test rax, rax
jne 0x1400b178c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b181f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rbp
mov r8, qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.1400bc010
mov r8, rbp
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.140091e00
mov rcx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov qword [rbx], rcx
mov rdi, qword [rbx + 8]
mov rax, qword [rsp + 0x48]
mov qword [rbx + 8], rax
mov qword [rsp + 0x48], rdi
test rdi, rdi
je 0x1400b1818
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400b1818
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400b1818
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rax, qword [rbx]
mov qword [rbx + 0x18], rax
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret