joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003bfd0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov r8, qword [rdx]
mov r15, rdx
mov rbp, rcx
mov edi, 0x1505
movzx eax, byte [r8]
test al, al
je 0x14003c017
nop word [rax + rax]
imul rdi, rdi, 0x21
movsx rax, al
lea r8, [r8 + 1]
add rdi, rax
movzx eax, byte [r8]
test al, al
jne 0x14003c000
mov rcx, qword [rcx + 0x38]
xor r13d, r13d
mov rax, qword [rbp + 0x20]
and rcx, rdi
add rcx, rcx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r12
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [rbp + 0x10]
je 0x14003c0d7
mov rsi, qword [rax + rcx*8]
lea r12, [0x1400561a3]
nop dword [rax]
mov rax, qword [rbx + 0x10]
mov rdx, r12
test rax, rax
mov rcx, r12
cmovne rdx, rax
mov rax, qword [r15]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x14003c080
cmp rbx, rsi
je 0x14003c0d7
mov rbx, qword [rbx + 8]
jmp 0x14003c050
test rbx, rbx
je 0x14003c0d7
mov rdx, qword [rbp + 0x38]
and rdx, rdi
shl rdx, 4
add rdx, qword [rbp + 0x20]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14003c0b9
cmp rax, rbx
jne 0x14003c0af
mov rax, qword [rbp + 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14003c0c4
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x14003c0c4
cmp rax, rbx
jne 0x14003c0c4
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14003cdf0
mov ecx, 1
jmp 0x14003c0da
mov rcx, r13
mov r12, qword [rsp + 0x58]
test rcx, rcx
mov rsi, qword [rsp + 0x50]
mov eax, 0x490
mov rbx, qword [rsp + 0x60]
cmovne eax, r13d
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret

Function at 0x14003c110
Capabilities:
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov r9, qword [rdx]
mov rbx, rcx
add rcx, 8
mov r8d, 0x1505
movzx eax, byte [r9]
test al, al
je 0x14003c147
nop
imul r8, r8, 0x21
movsx rax, al
lea r9, [r9 + 1]
add r8, rax
movzx eax, byte [r9]
test al, al
jne 0x14003c130
call fcn.140040e50
cmp qword [rbx + 0x10], rax
je 0x14003c15c
add rax, 0x18
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14003c170
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rdx]
mov rbx, rcx
add rcx, 8
mov rdi, r8
mov r8d, 0x1505
movzx eax, byte [r9]
test al, al
je 0x14003c1b7
nop word [rax + rax]
imul r8, r8, 0x21
movsx rax, al
lea r9, [r9 + 1]
add r8, rax
movzx eax, byte [r9]
test al, al
jne 0x14003c1a0
call fcn.140040e50
cmp qword [rbx + 0x10], rax
jne 0x14003c1d2
mov eax, 0x490
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rax + 0x18]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov qword [rdi], rcx
add rsp, 0x20
pop rdi
ret
Function at 0x140041390
Capabilities:
Hash data using djb2

Disassembly:
push rbx
push r13
sub rsp, 0x38
movabs rax, 0xfffffffffffffff
mov r13, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x1400413c6
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbp
mov rbp, qword [r13 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x58], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x30], r12
shl rbx, cl
lea rcx, [r13 + 0x18]
lea rdx, [rbx + rbx]
call fcn.14003cce0
lea rax, [rbx - 1]
mov qword [r13 + 0x38], rbx
mov qword [r13 + 0x30], rax
mov rbx, qword [r13 + 8]
mov rbx, qword [rbx]
mov rsi, rbx
cmp rbx, rbp
je 0x140041555
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
mov eax, 0x1505
mov rsi, qword [rsi]
mov rdx, r8
movzx ecx, byte [r8]
test cl, cl
je 0x140041466
nop word [rax + rax]
imul rax, rax, 0x21
movsx rcx, cl
lea rdx, [rdx + 1]
add rax, rcx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140041450
mov r14, qword [r13 + 0x30]
and r14, rax
shl r14, 4
add r14, qword [r13 + 0x18]
cmp qword [r14], rbp
jne 0x140041486
mov qword [r14], rbx
mov qword [r14 + 8], rbx
jmp 0x14004153a
mov rdi, qword [r14 + 8]
lea rdx, [0x1400561a3]
mov rcx, r8
mov rax, qword [rdi + 0x10]
test rax, rax
cmovne rdx, rax
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
jne 0x1400414d8
mov r8, qword [rdi]
cmp r8, rbx
je 0x1400414d2
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r14 + 8], rbx
jmp 0x14004153a
mov r15, rdi
cmp qword [r14], rdi
je 0x140041516
mov rdi, qword [rdi + 8]
lea rcx, [0x1400561a3]
mov rdx, rcx
mov r15, rdi
mov rax, qword [rdi + 0x10]
test rax, rax
cmovne rdx, rax
mov rax, qword [rbx + 0x10]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x14004156c
cmp qword [r14], rdi
jne 0x1400414e0
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r15
mov rax, qword [r15 + 8]
mov qword [rax], rbx
mov qword [r15 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r14], rbx
mov rbx, rsi
cmp rsi, rbp
jne 0x140041430
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x30]
add rsp, 0x38
pop r13
pop rbx
ret
mov r8, qword [rdi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x14004153a
Function at 0x140043a90
Capabilities:
Extract resource via kernel32 functions
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov dword [rcx + 0x474], r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r8, str.debug
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], 4
mov rbp, r9
mov qword [rsp + 0x20], rax
mov r14, rdx
mov dword [rsp + 0x70], 0
mov rbx, rcx
mov dword [rsp + 0x60], 4
lea r9, [rsp + 0x30]
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareBitdefender_bdhtml
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [rsp + 0x70], 1
jne 0x140043b07
mov byte [rbx + 0x479], 1
movzx edx, word [rbx + 0x474]
mov r8d, 0x17
mov rcx, qword [rbx + 0x248]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140043b45
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x260], eax
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rbx + 0x248]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140043b29
mov rcx, rax
mov qword [rsp + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140043b86
mov rcx, qword [rbx + 0x248]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
jne 0x140043b99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x260], eax
xor eax, eax
jmp 0x140043c39
lea eax, [rdi + 2]
mov qword [rbx + 0x10], r14
mov ecx, eax
mov dword [rbx + 0x30], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rbx + 0x30]
xor edx, edx
mov rcx, rax
mov qword [rbx + 0x28], rax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [rbx + 0x30]
mov r9, rdi
mov rcx, qword [rbx + 0x28]
mov r8, rsi
call fcn.140003660
add dword [rbx + 0x30], 0xfffffffe
test rbp, rbp
je 0x140043be1
lea rcx, [rbx + 0x34]
mov r8, rbp
jmp 0x140043c25
cmp word [0x14006b1d0], 0
jne 0x140043bf0
call fcn.140044f30
lea rcx, [rbx + 0x34]
test rcx, rcx
je 0x140043c30
lea r8, [0x14006b1d0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r8 + rax*2], 0
jne 0x140043c10
cmp eax, 0x104
jge 0x140043c30
lfence
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx - 0x28]
call fcn.140043c50
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x140044270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140068010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
je 0x14004440a
cmp word [r8], 0
je 0x14004440a
lea rdx, str.sciter:
mov rcx, r8
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
cmp rax, rsi
je 0x140044406
mov edx, 0x2f
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x14004440a
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea r8, [rdi + 2]
mov edx, 0x104
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov edx, 0x2e
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x140044390
xor eax, eax
mov word [rdi], ax
add rdi, 2
je 0x140044390
lea rdx, str.HTML
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140044390
lea rdx, [0x140058670]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rdx, [rsp + 0x30]
test eax, eax
jne 0x14004438b
mov rcx, qword [rbx + 0x278]
lea r8, [0x140058670]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140044382
mov rbx, qword [rbx + 0x278]
jmp 0x1400443b7
lea r8, [0x140058670]
jmp 0x140044396
mov r8, rdi
jmp 0x14004439b
mov r8d, 0x17
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0x270]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140044406
mov rbx, qword [rbx + 0x270]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14004440a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14004440a
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test eax, eax
je 0x14004440a
call fcn.14002a900
mov r9d, ebx
mov r8, rbp
mov rdx, rsi
mov rcx, r14
mov rax, qword [rax + 0x18]
call qword [case.0x14004448e.0]
xor eax, eax
jmp 0x14004440f
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140047f60
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140045230
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140068010]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], 7
mov word [rbp + 0x2f], di
mov rbx, 0xffffffff80000001
lea rcx, [rbp + 7]
call fcn.1400436a0
nop
cmp byte [rbp + 0x27], dil
je 0x1400452c3
mov rbx, 0xffffffff80000003
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400452a0
lea rcx, [rbp + 0x2f]
call fcn.140002660
mov edx, 0x5c
lea rcx, [rbp + 0x2f]
call fcn.140002a80
nop
lea rcx, [rbp + 7]
call fcn.140014be0
lea rdx, str.SoftwareBitdefender_bdhtml
lea rcx, [rbp + 0x2f]
call fcn.1400029f0
mov qword [rbp - 1], rdi
mov dword [rbp - 5], 4
mov dword [rbp - 9], edi
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rdx, qword [rbp + 0x2f]
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004535a
lea rax, [rbp - 5]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.dark
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp - 9]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [rbp - 9], ecx
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 9], 1
sete bl
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x1400453a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004539f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004539f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004846c
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140047f60
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140045400
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140068010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
lea rdx, str..DEFAULTSoftwareSetId
xorps xmm0, xmm0
mov qword [r11 - 0x40], rax
movups xmmword [rsp + 0x40], xmm0
mov rbx, rcx
mov r9d, 0x20019
movups xmmword [rsp + 0x50], xmm0
mov qword [r11 - 0x18], rax
xor r8d, r8d
lea rax, [r11 - 0x40]
mov rcx, 0xffffffff80000003
mov qword [r11 - 0x58], rax
xor sil, sil
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov ebp, 1
test eax, eax
jne 0x1400454ac
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x34], ebp
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.wslibsite_lang
mov dword [rsp + 0x30], 0x26
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400454bc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1400454f0
cmp qword [rbx + 0x18], 8
jb 0x1400454ca
mov rbx, qword [rbx]
lea rdx, [rsp + 0x40]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x1400454e5
add rbx, 2
test eax, eax
jne 0x1400454d2
test ecx, ecx
movzx eax, sil
cmove eax, ebp
jmp 0x1400454f4
movzx eax, sil
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140047f60
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002374
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rdx, rcx
mov rcx, qword [rcx + 0x10]
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002479
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
xor r8d, r8d
mov eax, 0x4550
cmp dword [rcx], eax
cmove r8, rcx
mov qword [rdx + 0x18], r8
cmp dword [r8], eax
jne 0x140002401
mov eax, 0x10b
cmp word [r8 + 0x18], ax
jne 0x1400023ce
mov byte [rdx + 0x20], 0
mov rax, qword [r8 + 0x30]
jmp 0x1400023e2
mov eax, 0x20b
cmp word [r8 + 0x18], ax
jne 0x14000243d
mov byte [rdx + 0x20], 1
mov eax, dword [r8 + 0x34]
mov qword [rdx + 0x28], rax
mov eax, dword [r8 + 0x50]
mov dword [rdx + 0x30], eax
mov eax, dword [r8 + 0x54]
mov dword [rdx + 0x34], eax
mov eax, dword [r8 + 0x28]
mov dword [rdx + 0x38], eax
add rsp, 0x50
pop rbp
ret
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000a000
and dword [rbp - 0xc], 0
lea rdx, [0x14008f100]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000007b
and dword [rbp - 0xc], 0
lea rdx, [0x14008f100]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000012f
and dword [rbp - 0xc], 0
lea rdx, [0x14008f100]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x140003250
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov ebp, ecx
mov rsi, qword [rax + 0x18]
test rsi, rsi
je 0x1400032c0
add rsi, 0x10
xor edi, edi
mov rbx, qword [rsi]
call qword [sym.imp.ntdll.dll_RtlAcquirePebLock]
jmp 0x1400032a5
movzx edx, word [rbx + 0x58]
mov rcx, qword [rbx + 0x60]
shr rdx, 1
call fcn.1400032d8
xor eax, 0x66d29210
cmp eax, ebp
je 0x1400032ac
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x140003289
jmp 0x1400032af
mov rdi, rbx
call qword [sym.imp.ntdll.dll_RtlReleasePebLock]
test rdi, rdi
je 0x1400032c0
mov rax, qword [rdi + 0x30]
jmp 0x1400032c2
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400032d8
Capabilities:
Hash data using fnv

Disassembly:
mov r8, rcx
test rcx, rcx
je 0x14000332b
movzx r9d, word [rcx]
test r9w, r9w
je 0x14000332b
mov r10d, 0x811c9dc5
lea eax, [r9 - 0x41]
cmp ax, 0x19
lea ecx, [r9 + 0x20]
lea r8, [r8 + 2]
cmova cx, r9w
movzx r9d, word [r8]
movzx eax, cx
xor eax, r10d
imul r10d, eax, 0x1000193
test r9w, r9w
je 0x140003327
mov rcx, rdx
dec rdx
test rcx, rcx
jne 0x1400032f0
mov eax, r10d
ret
xor eax, eax
ret

Function at 0x1400043e8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor r14d, r14d
mov dword [rbp - 9], 0x4b005c
mov qword [rbp + 0x7f], r14
mov rsi, r8
mov dword [rbp - 5], 0x6f006e
mov rdi, rcx
mov dword [rbp - 1], 0x6e0077
mov dword [rbp + 3], 0x6c0044
mov dword [rbp + 7], 0x73006c
mov dword [rbp + 0xb], 0x320033
mov word [rbp + 0xf], r14w
test dl, dl
jne 0x140004447
mov word [rbp + 0xb], r14w
or rbx, 0xffffffffffffffff
lea rcx, [rbp - 9]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140004452
add ax, ax
mov dword [rbp + 0x17], 0x30
mov word [rbp - 0x29], ax
lea r8, [rbp + 0x17]
add ax, 2
mov qword [rbp + 0x1f], r14
mov word [rbp - 0x27], ax
lea rcx, [rbp + 0x7f]
lea rax, [rbp - 9]
mov dword [rbp + 0x2f], 0x40
mov qword [rbp - 0x21], rax
xorps xmm0, xmm0
lea rax, [rbp - 0x29]
mov edx, 3
mov qword [rbp + 0x27], rax
movdqu xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ntdll.dll_ZwOpenDirectoryObject]
test eax, eax
js 0x14000450f
inc rbx
cmp word [rdi + rbx*2], r14w
jne 0x1400044ac
mov rax, qword [rbp + 0x7f]
lea r8, [rbp + 0x17]
add bx, bx
mov qword [rbp + 0x1f], rax
mov word [rbp - 0x19], bx
lea rax, [rbp - 0x19]
xorps xmm0, xmm0
mov qword [rbp + 0x27], rax
add bx, 2
mov qword [rbp - 0x11], rdi
mov edx, 0xf
mov word [rbp - 0x17], bx
mov rcx, rsi
mov dword [rbp + 0x17], 0x30
mov dword [rbp + 0x2f], 0x40
movdqu xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ntdll.dll_ZwOpenSection]
mov rcx, qword [rbp + 0x7f]
mov ebx, eax
call qword [0x140068658]
mov eax, ebx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

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

Disassembly:
mov r8, rcx
test rcx, rcx
je 0x1400046b7
mov r9b, byte [rcx]
test r9b, r9b
je 0x1400046b7
mov r10d, 0x811c9dc5
movzx edx, r9b
sub r9b, 0x41
cmp r9b, 0x19
lea eax, [rdx + 0x20]
movzx ecx, al
cmova ecx, edx
inc r8
movsx eax, cl
xor eax, r10d
imul r10d, eax, 0x1000193
mov r9b, byte [r8]
test r9b, r9b
jne 0x140004686
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1400046bc
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor edi, edi
xor r12d, r12d
xor r15d, r15d
mov rax, r9
mov r10, rcx
mov ebp, 0xc0000225
test rcx, rcx
je 0x140004849
test rax, rax
je 0x140004849
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140004842
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140004842
mov ecx, 0x10b
cmp word [rax + 0x18], cx
je 0x140004740
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x140004842
mov ecx, 0x88
jmp 0x140004745
mov ecx, 0x78
mov esi, dword [rcx + rax]
test esi, esi
je 0x14000483b
mov r13d, dword [rcx + rax + 4]
test r13d, r13d
je 0x14000483b
lea r9, [r10 + rsi]
cmp dword [r9 + 0x1c], edi
je 0x14000476f
mov edi, dword [r9 + 0x1c]
add rdi, r10
cmp dword [r9 + 0x24], r12d
je 0x14000477c
mov r12d, dword [r9 + 0x24]
add r12, r10
cmp dword [r9 + 0x20], r15d
je 0x140004789
mov r15d, dword [r9 + 0x20]
add r15, r10
test edx, edx
je 0x140004793
mov r14d, dword [r9 + 0x18]
jmp 0x140004797
mov r14d, dword [r9 + 0x14]
xor r11d, r11d
test r14d, r14d
je 0x140004837
test edx, edx
je 0x1400047dc
mov ecx, dword [r15 + r11*4]
add rcx, r10
mov ebx, r11d
call fcn.1400049c0
mov edx, dword [rsp + 0x68]
mov r8d, eax
xor eax, 0x66d29210
cmp byte [rsp + 0x88], 0
cmove eax, r8d
cmp edx, eax
jne 0x1400047e5
movzx eax, word [r12 + r11*2]
mov ecx, dword [rdi + rax*4]
jmp 0x1400047f6
mov ecx, dword [r9 + 0x10]
add ecx, r11d
je 0x1400047ef
inc r11d
cmp r11d, r14d
jae 0x140004837
jmp 0x1400047a3
mov ecx, dword [rdi + r11*4]
mov ebx, r11d
cmp ecx, esi
jb 0x140004828
lea eax, [rsi + r13]
cmp ecx, eax
jae 0x140004828
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140004821
mov r8d, dword [r15 + rbx*4]
mov edx, 0x80
add r8, r10
call qword [sym.imp.msvcrt.dll_strcpy_s]
mov ebp, 0xc000036f
jmp 0x140004837
mov eax, ecx
mov rcx, qword [rsp + 0x78]
add rax, r10
xor ebp, ebp
mov qword [rcx], rax
mov eax, ebp
jmp 0x14000484e
mov eax, 0xc000047c
jmp 0x14000484e
mov eax, 0xc000007b
jmp 0x14000484e
mov eax, 0xc000000d
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
test rcx, rcx
je 0x1400049e7
mov al, byte [rcx]
mov edx, 0x811c9dc5
test al, al
je 0x1400049e7
inc rcx
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [rcx]
test al, al
jne 0x1400049d0
mov eax, edx
ret
xor eax, eax
ret
Function at 0x140008c2c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
lea rdi, [0x140097aa0]
mov qword [rax + 8], rdi
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlAcquireSRWLockExclusive]
nop
cmp qword [0x1400969d0], 0
jne 0x140008ca4
mov edx, 0x104
lea rcx, [0x1400969c0]
call fcn.140008f2c
lea rcx, [0x1400969c0]
cmp qword [0x1400969d8], 8
cmovae rcx, qword [0x1400969c0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140008cc6
mov edx, eax
lea rcx, [0x1400969c0]
call fcn.140008f2c
nop
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlReleaseSRWLockExclusive]
and qword [rsp + 0x90], 0
lea rax, [0x1400969c0]
add rsp, 0x80
pop rdi
ret
lea rcx, [rsp + 0x28]
call fcn.140008980
lea rdx, [0x14008f1a0]
lea rcx, [rsp + 0x28]
call sub.msvcrt.dll__CxxThrowException
int3