joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7bd180
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x7bd1b0
lea eax, [rdx - 1]
lea r9, [rcx + rax + 1]
xor eax, eax
nop
movsx r8d, byte [rcx]
lea edx, [rax*8]
add rcx, 1
xor edx, r8d
xor eax, edx
cmp r9, rcx
jne 0x7bd190
and eax, 0x7fffffff
ret
xor eax, eax
ret

Function at 0x7bd8f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor ebx, ebx
lea rdi, [rsp + 0x20]
mov rsi, r8
mov ebp, edx
movsxd r8, edx
mov rcx, rsi
xor edx, edx
call sym.memset
mov rcx, rdi
call qword [sym.GetSystemTime]
lea r9, [rsp + 0x30]
mov rax, rdi
xor r8d, r8d
lea edx, [rbx + 1]
movzx ecx, byte [rax]
xor byte [rsi + rbx], cl
cmp ebp, edx
cmovle edx, r8d
add rax, 1
cmp r9, rax
movsxd rbx, edx
jne 0x7bd925
call qword [sym.GetCurrentProcessId]
lea r9, [rdi + 4]
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rax, rdi
lea edx, [rbx + 1]
movzx ecx, byte [rax]
xor byte [rsi + rbx], cl
cmp ebp, edx
cmovle edx, r8d
add rax, 1
cmp r9, rax
movsxd rbx, edx
jne 0x7bd954
call qword [sym.GetTickCount]
lea r9, [rdi + 4]
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rax, rdi
lea edx, [rbx + 1]
movzx ecx, byte [rax]
xor byte [rsi + rbx], cl
cmp ebp, edx
cmovle edx, r8d
add rax, 1
cmp r9, rax
movsxd rbx, edx
jne 0x7bd983
mov rcx, rdi
call qword [sym.QueryPerformanceCounter]
lea r9, [rdi + 8]
mov rcx, rdi
xor r8d, r8d
lea eax, [rbx + 1]
movzx edx, byte [rcx]
xor byte [rsi + rbx], dl
cmp ebp, eax
cmovle eax, r8d
add rcx, 1
cmp r9, rcx
movsxd rbx, eax
jne 0x7bd9b1
cmp ebp, 0x20
mov eax, 0x20
cmovle eax, ebp
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x7bf020
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
test edx, edx
mov rbx, rcx
jle 0x7bf060
mov rcx, rbx
xor eax, eax
movsx r9d, byte [rcx]
lea r8d, [rax*8]
add rcx, 1
xor r8d, r9d
xor eax, r8d
mov r8d, ebx
sub r8d, ecx
add r8d, edx
test r8d, r8d
jg 0x7bf031
and eax, 0x7fffffff
add rsp, 0x20
pop rbx
ret
call sym.strlen
mov rcx, rax
mov edx, eax
xor eax, eax
test ecx, ecx
jg 0x7bf02c
add rsp, 0x20
pop rbx
ret
Function at 0x7dd420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rdi, [0x00c583a0]
mov r14, rcx
mov rcx, qword [r8]
mov r9d, edx
mov rsi, r8
movzx eax, word [rcx + 8]
and eax, 0x3f
cmp byte [rdi + rax], 5
je 0x7dd510
cmp edx, 1
jle 0x7dd4f1
mov rdx, qword [r8 + 8]
movzx eax, word [rdx + 8]
and eax, 0x3f
cmp byte [rdi + rax], 5
je 0x7dd510
mov rax, qword [r14 + 8]
lea ebp, [r9 - 2]
mov ebx, 1
xor r15d, r15d
mov r8, qword [r14 + 0x18]
add rbp, 1
mov r13, qword [rax + 8]
movsxd rax, dword [r14 + 0x20]
mov r10, qword [r8 + 0x88]
lea rax, [rax + rax*2]
lea rax, [r10 + rax*8]
mov r12, qword [rax - 8]
jmp 0x7dd4cd
mov rdx, qword [rsi + rbx*8 + 8]
add rbx, 1
movzx eax, word [rdx + 8]
and eax, 0x3f
cmp byte [rdi + rax], 5
je 0x7dd510
movsxd rax, r15d
mov rcx, qword [rsi + rax*8]
mov r8, r12
call dbg.sqlite3MemCompare
xor edx, edx
test r13, r13
setne dl
neg edx
xor edx, eax
cmovns r15d, ebx
cmp rbx, rbp
jne 0x7dd4b0
movsxd r15, r15d
mov rcx, qword [rsi + r15*8]
mov rdx, rcx
mov rcx, qword [r14]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp dbg.sqlite3VdbeMemCopy
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x7ee130
Capabilities:
Create thread

Disassembly:
mov rax, qword [rcx + 0x48]
test rax, rax
je 0x7ee160
mov r8d, dword [rax + 0x20]
test r8d, r8d
je 0x7ee154
lea rdx, [dbg.vdbePmaReaderBgIncrInit]
mov r8, rcx
mov rcx, qword [rax]
jmp dbg.sqlite3ThreadCreate
jmp dbg.vdbePmaReaderIncrMergeInit
xor eax, eax
ret
Function at 0x854a90
Capabilities:
Reference sql statements

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov esi, r8d
mov dword [rsp + 0x20], r8d
mov r9, rdx
mov r8, rdx
mov rbx, rdx
mov rdi, rcx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
call dbg.sqlite3NestedParse
test esi, esi
je 0x854ac3
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov r8, rbx
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp dbg.sqlite3NestedParse
Function at 0x857dd0
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov edi, edx
mov rbp, r8
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov r12, r9
mov qword [rsp + 0x48], rax
movsxd rax, edx
lea rsi, [rcx + rax*8]
cmp qword [rsi + 0x28], 0
je 0x857e63
mov ecx, dword [rbx + 0x40]
test ecx, ecx
je 0x857e20
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rsi + 0x28]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call sym.sqlite3_bind_int64
mov rcx, rsi
call dbg.sqlite3_step
cmp eax, 0x65
je 0x857e80
cmp eax, 0x64
je 0x857eb0
mov rcx, rsi
call dbg.sqlite3_reset
mov edx, dword [rbx + 0x40]
test edx, edx
jne 0x857e12
mov dword [rbx + 0x40], eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [rsp + rax*8 + 0x40]
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
call dbg.rtreeCheckPrepare
mov qword [rsi + 0x28], rax
jmp 0x857e0b
test edi, edi
mov r9, r12
mov r8, rbp
lea rdx, str.__parent
mov rcx, rbx
lea rax, str.__rowid
cmove rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call dbg.rtreeCheckAppendMsg
jmp 0x857e46
xor edx, edx
mov rcx, rsi
call dbg.sqlite3_column_int64
cmp r12, rax
je 0x857e46
test edi, edi
mov qword [rsp + 0x30], r12
mov r9, rax
mov r8, rbp
lea rcx, str.__parent
mov qword [rsp + 0x28], rbp
lea rdx, str.__rowid
cmove rdx, rcx
mov rcx, rbx
mov qword [rsp + 0x20], rdx
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
call dbg.rtreeCheckAppendMsg
jmp 0x857e46
Function at 0x85e5a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0xa], 0
mov rbx, rcx
jne 0x85e5c3
mov rcx, rbx
call sym.rtreeSearchPointPop
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp dbg.rtreeStepToLeaf
mov byte [rcx + 0xa], 0
mov rcx, qword [rcx + 0x38]
call dbg.sqlite3_reset
jmp 0x85e5ae
Function at 0x86d5c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.DLL_CreateEventA]
test rax, rax
mov qword [0x00ccc1d0], rax
je 0x86d5f5
lea rcx, [0x00ccc1e0]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, [0x00c5e6e0]
lea r9, [rax + 0x60]
mov r8d, 0x3d
mov edx, 1
call sym.fwrite
call sym.abort
nop
nop dword [rax]

Function at 0x86d750
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
call sym._cgo_maybe_run_preinit
lea rcx, [0x00ccc1e0]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea rcx, [0x00ccc1e0]
mov dword [0x00ccc1c8], 1
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rcx, qword [0x00ccc1d0]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
test eax, eax
je 0x86d793
add rsp, 0x28
ret
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.runtime:_failed_to_signal_runtime_initialization_complete._n
lea r9, [rax + 0x60]
mov r8d, 0x3b
mov edx, 1
call sym.fwrite
call sym.abort
nop
nop word [rax + rax]

Function at 0x86d8c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x18
call sym.malloc
test rax, rax
je 0x86d8fa
mov rdx, qword [rbx]
mov rcx, rax
mov qword [rax], rdx
mov rdx, qword [rbx + 8]
mov qword [rax + 8], rdx
mov rdx, qword [rbx + 0x10]
mov qword [rax + 0x10], rdx
add rsp, 0x20
pop rbx
jmp dbg._cgo_sys_thread_start
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.runtime_cgo:_out_of_memory_in_thread_start_n
lea r9, [rax + 0x60]
mov r8d, 0x2b
mov edx, 1
call sym.fwrite
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x86d980
Capabilities:
Create thread

Disassembly:
mov rdx, rcx
lea rcx, [dbg.threadentry]
jmp sym._cgo_beginthread
Function at 0x86ded0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00ccc824]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x86e058
mov rax, qword [0x00ccc828]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x86df1c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x86dfa5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x86df00
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x86e08d
mov rax, qword [0x00ccc828]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00ccc828]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.DLL_VirtualQuery]
test rax, rax
je 0x86e070
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x86df9e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x86e000
add dword [0x00ccc824], 1
cmp edi, 8
jae 0x86dfd3
test dil, 4
jne 0x86e044
test edi, edi
je 0x86dfc8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x86e05f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x86dfc8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x86dfec
jmp 0x86dfc8
add rsi, qword [0x00ccc828]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
jne 0x86df9e
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x86dfc8
xor esi, esi
jmp 0x86df27
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x86dfc8
mov rax, qword [0x00ccc828]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x86e7e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00cccb00]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x00cccae0]
test rbx, rbx
je 0x86e834
mov rbp, qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.DLL_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x86e82b
test rsi, rsi
je 0x86e82b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x86e810
lea rcx, [0x00cccb00]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
Function at 0x86ea70
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x86ea80
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x86ea90
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x86ead1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x86eac8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x86ead3
add rax, 0x28
cmp rax, r9
jne 0x86eab4
xor eax, eax
ret

Function at 0x86eb70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00c5eb00]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x86ebdd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x86ebdd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x86ebdd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x86ebd4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x86ebdf
add rax, 0x28
cmp rax, r9
jne 0x86ebc0
xor eax, eax
add rsp, 0x28
ret

Function at 0x86ece0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00c5eb00]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x86ed00
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x86ecf8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x86ed5d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x86ed54
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x86ed64
add rax, 0x28
cmp rax, r9
jne 0x86ed40
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x86ed80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x00c5eb00]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x86edee
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x86edee
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x86edee
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x86edee
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x86ede5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x86edf5
add rcx, 0x28
cmp rcx, rax
jne 0x86edd0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x86ee08
jmp 0x86edee
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x86ee16
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x86edee
test r9d, r9d
jg 0x86ee00
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x86f4d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400084f0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400a8a40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140008518
lea rax, [0x1400a8a40]
jmp 0x14000851a
xor eax, eax
add rsp, 0x28
ret
Function at 0x140009710
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14005a078]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140009744
xor eax, eax
jmp 0x14000993a
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140009775
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14000a9b0
jmp 0x14000993a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.14000dec0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140009823
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140009950
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.14000e0e0
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14000f120
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.14000e040
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x14000992a
mov rcx, qword [rsp + 0x80]
call fcn.14000d7b0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1400098d8
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.14002a180
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1400098d3
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x14000993a
jmp 0x14000984f
cmp qword [rsp + 0x50], 0
jbe 0x14000992a
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.14002a180
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001fab0
add rsp, 0x78
ret
Function at 0x140019e90
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov dword [rax + 0x40], 0
mov rax, qword [rsp + 8]
mov qword [rax + 0x48], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x5be0cd19
mov rax, qword [rsp + 8]
ret
Function at 0x14001a730
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x40], 0x38
jae 0x14001a75c
mov dword [rsp + 0x24], 0x38
jmp 0x14001a764
mov dword [rsp + 0x24], 0x40
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov byte [rax], pe_nt_image_headers64
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x20]
cmp qword [rsp + 0x28], rax
jae 0x14001a7bb
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x14001a78d
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x40], 0x38
jb 0x14001a7e3
mov rcx, qword [rsp + 0x40]
call fcn.14001a2d0
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x40]
shl eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x48], rax
mov eax, 1
imul rax, rax, 0x3f
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
movzx edx, byte [rdx + 0x48]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 8
mov ecx, 1
imul rcx, rcx, 0x3e
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x10
mov ecx, 1
imul rcx, rcx, 0x3d
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x18
mov ecx, 1
imul rcx, rcx, 0x3c
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x20
mov ecx, 1
imul rcx, rcx, 0x3b
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x28
mov ecx, 1
imul rcx, rcx, 0x3a
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x30
mov ecx, 1
imul rcx, rcx, 0x39
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x38
mov ecx, 1
imul rcx, rcx, 0x38
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rcx, qword [rsp + 0x40]
call fcn.14001a2d0
add rsp, 0x30
pop rdi
ret
Function at 0x14001c920
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001c9a4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400454a0]
cmp byte [rcx + rax], 0
je 0x14001c9a4
dec r8
sub rdx, 1
jne 0x14001c98a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140020954
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002099e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002099e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002099e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002099e
cmp dword [rcx + 0x84], 0xe
jbe 0x14002099e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400209a0
xor al, al
add rsp, 0x28
ret

Function at 0x14002fb1c
Capabilities:
Parse pe header

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