joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6c29efe0
Capabilities:
Create directory

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
call sym.strlen
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov edx, eax
mov qword [rsp + 0x20], 0
call dbg.monoeg_g_utf8_to_utf16
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wmktemp]
test rax, rax
mov rbx, rax
je 0x6c29f061
cmp word [rax], 0
je 0x6c29f061
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wmkdir]
test eax, eax
jne 0x6c29f061
mov rcx, rbx
call sym.wcslen
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, rbx
mov qword [rsp + 0x20], 0
call dbg.monoeg_g_utf16_to_utf8
mov rcx, rbx
mov rsi, rax
call sym.libMonoPosixHelper.dll_monoeg_g_free
mov rax, rsi
add rsp, 0x38
pop rbx
pop rsi
ret
mov rcx, rbx
xor esi, esi
call sym.libMonoPosixHelper.dll_monoeg_g_free
mov rax, rsi
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x6c29f080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
test rcx, rcx
mov rbx, rcx
mov esi, edx
je 0x6c29f103
test edx, edx
je 0x6c29f103
call sym.strlen
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, rbx
mov qword [rsp + 0x20], 0
call dbg.monoeg_g_utf8_to_utf16
mov rbp, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, rbp
mov edi, eax
call sym.libMonoPosixHelper.dll_monoeg_g_free
cmp edi, 0xffffffff
je 0x6c29f103
test sil, 0x10
mov ebp, 1
jne 0x6c29f105
test sil, 8
je 0x6c29f110
mov rcx, rbx
call sym.strlen
cmp rax, 4
jbe 0x6c29f103
lea rsi, [rbx + rax - 3]
lea rdi, [0x6c2b2413]
mov ecx, 4
repe cmpsb byte [rsi], byte [rdi]
jne 0x6c29f105
xor ebp, ebp
mov eax, ebp
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
test sil, 1
jne 0x6c29f122
and esi, 4
je 0x6c29f103
and edi, 0x10
je 0x6c29f103
jmp 0x6c29f105
xor ebp, ebp
and edi, 0x50
sete bpl
jmp 0x6c29f105

Function at 0x6c29f130
Capabilities:
Query environment variable

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
call sym.strlen
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, rbx
mov qword [rsp + 0x20], 0
call dbg.monoeg_g_utf8_to_utf16
mov ecx, 0x800
mov rsi, rax
call sym.libMonoPosixHelper.dll_monoeg_malloc
mov r8d, 0x400
mov rbx, rax
mov rdx, rax
mov rcx, rsi
mov rbp, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
call rbp
test eax, eax
mov edi, eax
je 0x6c29f1f3
cmp eax, 0x400
jg 0x6c29f1d0
mov rcx, rbx
call sym.wcslen
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call dbg.monoeg_g_utf16_to_utf8
mov rdi, rax
mov rcx, rsi
call sym.libMonoPosixHelper.dll_monoeg_g_free
mov rcx, rbx
call sym.libMonoPosixHelper.dll_monoeg_g_free
mov rax, rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbx
call sym.libMonoPosixHelper.dll_monoeg_g_free
movsxd rcx, edi
add rcx, rcx
call sym.libMonoPosixHelper.dll_monoeg_malloc
mov r8d, edi
mov rbx, rax
mov rdx, rax
mov rcx, rsi
call rbp
jmp 0x6c29f18b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x6c29f212
mov ecx, 1
call sym.libMonoPosixHelper.dll_monoeg_malloc
mov rdi, rax
mov byte [rax], 0
jmp 0x6c29f1af
xor edi, edi
jmp 0x6c29f1af
Function at 0x6c29f240
Capabilities:
Set environment variable

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rbx, rdx
call sym.strlen
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, rsi
mov qword [rsp + 0x20], 0
call dbg.monoeg_g_utf8_to_utf16
mov rcx, rbx
mov rsi, rax
call sym.strlen
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], 0
mov edx, eax
call dbg.monoeg_g_utf8_to_utf16
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rsi
mov edi, eax
call sym.libMonoPosixHelper.dll_monoeg_g_free
mov rcx, rbx
call sym.libMonoPosixHelper.dll_monoeg_g_free
xor eax, eax
test edi, edi
setne al
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret

Function at 0x6c29f2c0
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call sym.strlen
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], 0
mov edx, eax
call dbg.monoeg_g_utf8_to_utf16
lea rdx, [0x6c2b2420]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp sym.libMonoPosixHelper.dll_monoeg_g_free

Function at 0x6c29f310
Capabilities:
Get geographical location

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
lea rbx, [rsp + 0x20]
mov edi, eax
mov r9d, 9
mov edx, 0x59
mov ecx, eax
mov rsi, qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov r8, rbx
call rsi
lea edx, [rax - 1]
cdqe
mov r9d, 9
lea r8, [rbx + rax]
mov ecx, edi
movsxd rdx, edx
mov byte [rsp + rdx + 0x20], 0x2d
mov edx, 0x5a
call rsi
mov rdx, rbx
mov ecx, dword [rdx]
add rdx, 4
lea eax, [rcx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x6c29f360
mov ecx, eax
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea rcx, [rdx + 2]
mov esi, eax
cmove rdx, rcx
add sil, al
mov rcx, rbx
sbb rdx, 3
sub rdx, rbx
add edx, 1
call dbg.monoeg_g_memdup
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret

Function at 0x6c29f500
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str.USER
call dbg.monoeg_g_getenv
test rax, rax
je 0x6c29f520
add rsp, 0x28
ret
lea rcx, str.USERNAME
add rsp, 0x28
jmp dbg.monoeg_g_getenv
Function at 0x6c29f640
Capabilities:
Enumerate process modules

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0x2000
call sym.libMonoPosixHelper.dll_monoeg_malloc
test rax, rax
mov rsi, rax
je 0x6c29f6f8
lea rbx, [rsp + 0x3c]
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rbp
mov r9, rbx
mov r8d, 0x2000
mov rdx, rsi
mov rcx, rax
call sym.EnumProcessModules
test eax, eax
je 0x6c29f6f0
mov eax, dword [rsp + 0x3c]
cmp eax, 0x2000
ja 0x6c29f705
shr eax, 3
xor ebx, ebx
mov rbp, qword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x6c29f6be
jmp 0x6c29f6f0
mov eax, dword [rsp + 0x3c]
add ebx, 1
shr eax, 3
cmp eax, ebx
jbe 0x6c29f6f0
mov eax, ebx
mov rdx, rdi
mov rcx, qword [rsi + rax*8]
call rbp
test rax, rax
je 0x6c29f6b0
mov rcx, rsi
mov qword [rsp + 0x28], rax
call sym.libMonoPosixHelper.dll_monoeg_g_free
mov rax, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rsi
call sym.libMonoPosixHelper.dll_monoeg_g_free
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rsi
call sym.libMonoPosixHelper.dll_monoeg_g_free
mov ecx, dword [rsp + 0x3c]
mov r12, rcx
call sym.libMonoPosixHelper.dll_monoeg_malloc
test rax, rax
mov rsi, rax
je 0x6c29f6f8
call rbp
mov r9, rbx
mov r8d, r12d
mov rdx, rsi
mov rcx, rax
call sym.EnumProcessModules
test eax, eax
je 0x6c29f6f0
mov eax, dword [rsp + 0x3c]
jmp 0x6c29f694
Function at 0x6c2a01c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x6c2b8c84]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x6c2a02e0
mov rax, qword [0x6c2b8c88]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x6c2a020c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x6c2a02c6
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x6c2a01f0
mov rcx, rsi
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6c2a0318
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x6c2b8c88]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x6c2b8c88]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6c2a02fb
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6c2a02bf
sub eax, 0x40
and eax, 0xffffffbf
je 0x6c2a02bf
add rbx, qword [0x6c2b8c88]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x6c2a02e7
add dword [0x6c2b8c84], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebx, ebx
jmp 0x6c2a0217
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
mov rax, qword [0x6c2b8c88]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call dbg.__report_error
nop
nop dword [rax + rax]

Function at 0x6c2a0a70
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6c2b8f60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6c2b8f40]
test rbx, rbx
je 0x6c2a0ac4
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 0x6c2a0abb
test rsi, rsi
je 0x6c2a0abb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6c2a0aa0
lea rcx, [0x6c2b8f60]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6c2a0d00
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6c2a0d10
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0
Function at 0x6c2a0d20
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 0x6c2a0d61
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 0x6c2a0d58
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x6c2a0d63
add rax, 0x28
cmp rax, r9
jne 0x6c2a0d44
xor eax, eax
repz ret

Function at 0x6c2a0e00
Capabilities:
Enumerate pe sections

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

Function at 0x6c2a0f90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6c2b2830]
xor eax, eax
mov rdx, rcx
cmp word [r8], 0x5a4d
je 0x6c2a0fb0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6c2a0fa8
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 0x6c2a100d
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 0x6c2a1004
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6c2a1014
add rax, 0x28
cmp rax, r9
jne 0x6c2a0ff0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6c2a1030
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6c2b2830]
xor r9d, r9d
mov r8d, ecx
cmp word [r11], 0x5a4d
je 0x6c2a1051
mov rax, r9
add rsp, 0x28
ret
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6c2a1049
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x6c2a1049
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6c2a1049
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov rcx, r9
jb 0x6c2a10a4
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x6c2a10c0
add rdx, 0x28
cmp rdx, r10
jne 0x6c2a1090
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jne 0x6c2a10d8
jmp 0x6c2a10ad
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x6c2a10e6
mov edx, dword [rax + 0xc]
test edx, edx
je 0x6c2a10ad
test r8d, r8d
jg 0x6c2a10d0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x1800019d8
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180001a3c
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180001a2a
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180001a23
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800019f7
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x18007f570]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180001a4c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x18007f590]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x180001a82
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180001ab8
mov eax, 0xa
jmp 0x180001b47
test esi, esi
je 0x180001ada
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180001afb
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180001afb
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180001af5
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180001afb
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x180002198
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800021af
cmp r8b, 0x90
je 0x1800021af
cmp r8b, 0xcc
jne 0x1800021d1
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800021cd
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800021d1
add edx, r10d
cmp edx, r9d
jb 0x1800021bd
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180002538
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x180002582
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18007f580]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x1800025bb
cmp rbx, r14
jb 0x1800025b8
cmp rbx, r12
jae 0x1800025b8
cmp qword [rbx + 8], rsi
jne 0x18000271d
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800025a4
mov r15, rdi
cmp rdi, r14
jb 0x1800026d7
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x180002607
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180002641
cmp dword [rbp - 0x10], 0x10000
je 0x180002611
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x180002641
sub r15, r13
cmp r15, r14
jae 0x1800025dd
jmp 0x180002641
test r15, r15
je 0x180002641
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800026e2
cmp r15, r14
jae 0x1800025cc
test rbx, rbx
jmp 0x1800026d5
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x18000271d
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000271d
cmp dword [rbp - 0x10], 0x10000
je 0x1800026b0
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x18000266d
jmp 0x18000271d
test rdi, rdi
je 0x18000271d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800026e2
cmp rdi, r12
jbe 0x180002649
jmp 0x18000271d
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x1800026ee
mov rax, qword [0x18007f580]
mov qword [rbx], rax
mov qword [0x18007f580], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180003c60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180003e3f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180003b20
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180003e04
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180003d7c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180003df3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180003db9
mov r10, qword [rdx]
cmp r10, rax
je 0x180003db3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180003df3
cmp r9, rdx
je 0x180003dcf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180003e19
cmp r9, rdx
jne 0x180003dc0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180003d00
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180003df3
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x180004800
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180004828
xor eax, eax
lea r8, [0x180004620]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180005a70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0xc50
mov rax, qword [0x180074540]
xor rax, rsp
mov qword [rsp + 0xc40], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x440]
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [rbp + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x180005bae
mov qword [rsp + 0xc68], rbx
lea rdx, [rsp + 0x440]
mov r8d, 0x3ff
mov qword [rsp + 0xc70], rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
cmp qword [0x18007ef50], 0xf
lea rcx, [0x18007ef38]
cmova rcx, qword [0x18007ef38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
xorps xmm0, xmm0
lea rsi, [0x18007d7d0]
mov rbx, rax
lea r8, [0x18003fb18]
xor eax, eax
lea edx, [rbp + 0x45]
mov rcx, rsi
mov dword [0x18007d810], eax
mov byte [0x18007d814], al
movups xmmword [0x18007d7d0], xmm0
movups xmmword [0x18007d7e0], xmm0
movups xmmword [0x18007d7f0], xmm0
movups xmmword [0x18007d800], xmm0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rsp + 0x40]
mov rcx, rsi
lea edx, [rbp + 0x45]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov r8, rbx
lea edx, [rbp + 0x45]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov rbx, qword [rsp + 0xc68]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rbp
nop dword [rax]
inc r8
cmp byte [rsi + r8], bpl
jne 0x180005b90
mov rdx, rsi
mov rcx, rdi
call fcn.180004b70
mov rsi, qword [rsp + 0xc70]
jmp 0x180005bc3
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bpl
mov rax, rdi
mov rcx, qword [rsp + 0xc40]
xor rcx, rsp
call fcn.18003b5a0
mov rbp, qword [rsp + 0xc78]
add rsp, 0xc50
pop rdi
ret