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

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400163e0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140008346
cmp eax, 0x104
ja 0x140008346
lea rcx, [rsp + 0x131]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x130], 0
call sub.MSVCR100.dll_memset
lea r8, [rsp + 0x20]
lea rdx, [0x140010b74]
lea rcx, [rsp + 0x130]
mov r9, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x140008348
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000c970
add rsp, 0x250
pop rbx
ret

Function at 0x14000836c
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x58
test rcx, rcx
jne 0x140008379
xor eax, eax
jmp 0x1400083c9
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
add rsp, 0x58
ret

Function at 0x1400083dc
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
test rdx, rdx
jne 0x1400083e9
xor eax, eax
jmp 0x140008446
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
add rsp, 0x68
ret
Function at 0x14000885c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x750]
sub rsp, 0x850
mov rax, qword [0x1400163e0]
xor rax, rsp
mov qword [rbp + 0x740], rax
mov rbx, rcx
mov edi, r8d
mov r12, rdx
lea rcx, [rsp + 0x41]
xor esi, esi
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x40], sil
call sub.MSVCR100.dll_memset
mov r9, rbx
mov ebx, 0x400
lea r8, str.SOFTWAREClassesCLSID_sInprocServer32
lea rcx, [rsp + 0x40]
mov edx, ebx
call qword [sym.imp.MSVCR100.dll_sprintf_s]
lea rax, [rsp + 0x30]
neg edi
sbb rcx, rcx
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
add rcx, 0xffffffff80000002
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400088f8
cmp eax, 2
sete sil
jmp 0x140008949
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x340]
lea rdx, [0x140010a72]
mov dword [rsp + 0x38], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14000892d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000894b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x340]
mov rcx, r12
call qword [sym.imp.MSVCR100.dll__mbscmp]
test eax, eax
setne sil
mov eax, esi
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.14000c970
add rsp, 0x850
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140008bdc
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rsi, rcx
xor edi, edi
mov word [rcx], di
mov dword [rax - 0x38], 0x104
mov r9, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [0x14000fbd0]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
jns 0x140008c3b
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.14000aa84
xor edx, edx
mov ecx, ebx
call fcn.14000d7f0
nop
jmp 0x140008c46
test ebx, ebx
jns 0x140008cc7
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
jns 0x140008c7f
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.14000aa84
xor edx, edx
mov ecx, ebx
call fcn.14000d7f0
nop
jmp 0x140008c8a
test ebx, ebx
jns 0x140008cc7
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
test eax, eax
jns 0x140008cc1
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.14000aa84
xor edx, edx
mov ecx, ebx
call fcn.14000d7f0
nop
jmp 0x140008cc7
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14000a884
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [0x1400163e0]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov rbx, rcx
mov rdi, rdx
mov r12d, 0x3ff
lea rcx, [rbp + 0x361]
xor r13d, r13d
xor edx, edx
mov r8d, r12d
mov byte [rbp + 0x360], r13b
call sub.MSVCR100.dll_memset
or r14, 0xffffffffffffffff
lea edx, [r12 + 1]
lea rcx, [rbp + 0x360]
mov r8, r14
mov r9, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.MSVCR100.dll__vsnprintf_s]
movzx ecx, byte [rbp + 0x75f]
test eax, eax
mov byte [rsp + 0x40], r13b
cmovs ecx, r13d
xor eax, eax
lea edi, [rax + 0x20]
mov byte [rbp + 0x75f], cl
lea rcx, [rsp + 0x40]
mov edx, edi
mov qword [rsp + 0x41], rax
mov qword [rsp + 0x49], rax
mov qword [rsp + 0x51], rax
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
call fcn.14000a7d4
lea r8, [0x140011334]
lea rcx, [rsp + 0x40]
mov edx, edi
call qword [sym.imp.MSVCR100.dll_strcat_s]
lea rcx, [rsp + 0x61]
mov r8d, r12d
xor edx, edx
mov byte [rsp + 0x60], r13b
call sub.MSVCR100.dll_memset
xor eax, eax
mov rcx, r14
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 6
jbe 0x14000a99b
lea rcx, [rbx + rcx - 6]
lea rdx, str.__08x_
call qword [sym.imp.MSVCR100.dll__mbscmp]
lea edx, [r13 + 1]
test eax, eax
je 0x14000a99e
mov edx, r13d
xor eax, eax
lea rdi, [rsp + 0x40]
mov rcx, r14
repne scasb al, byte [rdi]
lea rax, [0x1400112ca]
test edx, edx
not rcx
lea rbx, str.Error:
lea rsi, [rcx - 1]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rbp + 0x360]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rbx
sub r12, rsi
lea rcx, [rsp + rsi + 0x60]
lea r9, str.P:_04d_T:_04d__s_s
mov r8, r14
mov rdx, r12
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call qword [sym.imp.MSVCR100.dll__snprintf_s]
mov edx, dword [rbp + 0x35b]
mov ecx, 0x2e2e2e
test eax, eax
mov r8, rsi
cmovs edx, ecx
lea rcx, [rsp + 0x60]
mov dword [rbp + 0x35b], edx
lea rdx, [rsp + 0x40]
call sub.MSVCR100.dll_memcpy
xor eax, eax
lea rdi, [rsp + 0x60]
mov rcx, r14
repne scasb al, byte [rdi]
movzx eax, word [0x14001139c]
lea rcx, [rsp + 0x60]
mov word [rdi - 1], ax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.14000c970
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14000aafc
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x1400163e0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor ebx, ebx
cmp dword [0x140017e50], ebx
je 0x14000ab29
mov eax, dword [0x140017e4c]
jmp 0x14000ab74
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, DllRegisterServer
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], DllRegisterServer
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov r11d, 1
jne 0x14000ab65
cmp dword [rsp + 0x24], 6
jb 0x14000ab65
mov ebx, r11d
mov dword [0x140017e4c], ebx
mov dword [0x140017e50], r11d
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000c970
add rsp, 0xd0
pop rbx
ret
Function at 0x14000ab9c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x1770]
mov eax, 0x1870
call fcn.14000c9b0
sub rsp, rax
mov rax, qword [0x1400163e0]
xor rax, rsp
mov qword [rbp + 0x1760], rax
mov rdi, rcx
mov r12d, edx
xor ebx, ebx
mov r14d, 0x7ff
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, r14d
mov esi, ebx
mov byte [rsp + 0x60], bl
call sub.MSVCR100.dll_memset
lea rcx, [rbp + 0x761]
mov r8d, r14d
xor edx, edx
mov byte [rbp + 0x760], bl
call sub.MSVCR100.dll_memset
lea rax, [rsp + 0x48]
lea rdx, [0x140011680]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x800
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000ad63
xor edx, edx
jmp 0x14000ad32
lea rax, [rsp + 0x60]
lea r9, str.SOFTWAREJavaSoftJava_Runtime_Environment
lea r8, str._s_s
lea rcx, [rbp + 0x760]
mov edx, 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCR100.dll_sprintf_s]
lea r11, [rsp + 0x50]
lea rdx, [rbp + 0x760]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000ad26
lea rcx, [rbp + 0xf61]
mov r8, r14
xor edx, edx
mov byte [rbp + 0xf60], bl
call sub.MSVCR100.dll_memset
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
lea rdx, str.RuntimeLib
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000ad26
cmp dword [rsp + 0x40], ebx
jbe 0x14000ad26
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400116f0]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], r12d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
inc esi
mov dword [rsp + 0x40], 0x800
mov edx, esi
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x14000ac46
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
dec rcx
setne bl
mov eax, ebx
mov rcx, qword [rbp + 0x1760]
xor rcx, rsp
call fcn.14000c970
mov rbx, qword [rsp + 0x18b0]
add rsp, 0x1870
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000adac
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], r8d
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
mov qword [rax - 0x18], rbx
mov dword [rax + 0x20], 1
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x14000adf5
mov edx, dword [rsp + 0x60]
mov r8, rax
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_strcpy_s]
test eax, eax
sete bl
jmp 0x14000ae6a
call fcn.14000aafc
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
mov r9d, 0x20019
test eax, eax
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000001
cmovne rdx, qword [str.SOFTWAREAppDataLowSOFTWAREJavaSoftDeploymentPropertiespending]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000ae33
xor eax, eax
jmp 0x14000ae6c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000ae5f
lea ebx, [rax + 1]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14000b0bc
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
mov qword [rax + 0x18], rbx
call fcn.14000ae8c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [rax + 1]
call fcn.14000aafc
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
test eax, eax
lea rax, [rsp + 0x50]
mov r9d, 0x20006
cmovne rdx, qword [str.SOFTWAREAppDataLowSOFTWAREJavaSoftDeploymentPropertiespending]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000b12b
xor eax, eax
jmp 0x14000b15f
mov rcx, qword [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000b152
lea ebx, [rax + 1]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000bc04
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
test rcx, rcx
je 0x14000bc34
mov rdx, rcx
lea rcx, str.USER_JPI_PROFILE
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
movzx ebx, bl
mov edx, 1
test eax, eax
cmovne ebx, edx
mov al, bl
add rsp, 0x20
pop rbx
ret

Function at 0x14000bcf8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, r8
mov r10, rdx
lea rcx, [rsp + 0x38]
mov rdi, r9
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rax
mov rcx, r10
mov r9d, 0x20019
mov dword [rsp + 0x30], 0x104
mov ebx, 0x80004005
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000bd76
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb ecx, ecx
and ebx, ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14000cfe7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400163e0]
jne 0x14000c98a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000c986
repz ret
ror rcx, 0x10
jmp 0x14000cf40
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140017f30]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140018028]
mov qword [rsp + 0x58], rax
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 0x14000cfc5
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, [0x140017f30]
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 0x14000cfe7
mov rax, qword [rsp + 0x88]
mov qword [0x140018028], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140017fc8], rax
mov rax, qword [0x140018028]
mov qword [0x140017ea0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140017fb0], rax
mov dword [0x140017e90], 0xc0000409
mov dword [0x140017e94], 1
mov rax, qword [0x1400163e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400163e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140017f28], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140011ad0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140017f28], 0
jne 0x14000d06e
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
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 0x140003af0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x140003bac
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x140003bac
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xffffffff
call qword [0x14000f510]
cmp eax, 0xffffffff
je 0x140003baa
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [0x14000f510]
cmp eax, 3
je 0x140003bc3
cmp eax, 1
je 0x140003b79
test eax, eax
jne 0x140003baa
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140003ba0
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140003baa
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x140003bac
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000ac20
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x140003bac
Function at 0x14000b204
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b24e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b24e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b24e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b24e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b24e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000b250
xor al, al
add rsp, 0x28
ret
Function at 0x140003960
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, qword [rcx]
mov qword [rsp + 0x50], rbx
movsxd rdx, dword [rdx]
mov rcx, qword [rbx + 0x18]
mov rcx, qword [rcx + 0x40]
call fcn.14003dec0
mov rdx, rax
mov rcx, qword [rbx + 0x10]
test byte [rax + 8], 0xf
jne 0x1400039a7
mov byte [rcx + 8], 0
jmp 0x1400039b4
mov rax, qword [rax]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140012520
mov r10, rax
mov r13, rax
shr r13, 0x38
mov rcx, rax
shr rcx, 0x30
movzx r12d, cl
mov rcx, rax
shr rcx, 0x28
movzx r14d, cl
mov rdx, rax
shr rdx, 0x20
movzx ebp, dl
mov rdx, rax
shr rdx, 0x18
movzx esi, dl
shr rax, 0x10
movzx edi, al
mov rax, r10
shr rax, 8
movzx ebx, al
movzx r15d, r10b
mov edx, 0xfffffffe
mov rcx, qword [rsp + 0x50]
call fcn.140011f50
nop
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rax, 0x100000001b3
imul r15, rax
xor r15, rbx
imul r15, rax
xor r15, rdi
imul r15, rax
xor r15, rsi
imul r15, rax
xor r15, rbp
imul r15, rax
xor r15, r14
imul r15, rax
xor r15, r12
imul r15, rax
xor r15, r13
imul rax, r15
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140007b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push r14
sub rsp, 0x68
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov r14, rcx
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140007b9b
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x90], rbp
lea rax, [rdx - 1]
mov rbp, qword [r14 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x60], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x58], rdi
shl rbx, cl
mov qword [rsp + 0x40], r15
lea r15, [r14 + 0x18]
mov rcx, r15
lea rdx, [rbx + rbx]
call fcn.1400060b0
mov qword [r14 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r14 + 0x30], rax
mov rdi, qword [r14 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140007d5f
mov qword [rsp + 0x50], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x48], r13
movabs r10, 0x100000001b3
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movaps xmmword [rsp + 0x30], xmm0
test r8, r8
je 0x140007c54
mov r9, qword [rsp + 0x30]
nop dword [rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r10
cmp rdx, r8
jb 0x140007c40
mov r13, qword [r14 + 0x30]
and r13, rax
shl r13, 4
add r13, qword [r15]
mov r12, qword [r13]
cmp r12, rbp
jne 0x140007c78
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x140007d3b
mov rbx, qword [r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x140007cc3
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007cc3
mov r8, qword [rbx]
cmp r8, rdi
je 0x140007cbd
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x140007d31
mov r14, rbx
cmp r12, rbx
je 0x140007d07
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov r15, qword [rsp + 0x38]
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x140007d02
mov rdx, qword [rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140007d7e
cmp r12, rbx
jne 0x140007ce0
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
mov r14, qword [rsp + 0x20]
movabs r10, 0x100000001b3
lea r15, [r14 + 0x18]
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
cmp rsi, rbp
jne 0x140007c20
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
add rsp, 0x68
pop r14
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x140007d2c
Function at 0x140007e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
movups xmm0, xmmword [r8 + 0x10]
mov r11, qword [r8 + 0x18]
mov rdi, rdx
xor edx, edx
mov r10, rcx
movaps xmmword [rsp + 0x20], xmm0
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140007ed3
mov rcx, qword [rsp + 0x20]
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
inc rdx
xor r9, rax
imul r9, rbx
cmp rdx, r11
jb 0x140007ec0
mov rdx, qword [r10 + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x140007f07
cmp rax, r8
jne 0x140007efd
mov rax, qword [r10 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140007f12
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x140007f12
cmp rax, r8
jne 0x140007f12
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov edx, Ordinal_60
dec qword [r10 + 0x10]
mov rcx, qword [r8 + 8]
mov qword [rcx], rbx
mov rcx, qword [r8 + 8]
mov qword [rbx + 8], rcx
mov rcx, r8
call fcn.1401924c0
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret