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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x140009530
jmp 0x14000951f
jae 0x1400095f0
cmp r8, 0x201
jae 0x140009530
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140009588
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14000955f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14002cbb0
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400095b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009658
mov r8d, r14d
cmp r15, r8
jne 0x140009510
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140009685
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000951f
jmp 0x140009530
cmp rsi, r8
jb 0x14000969f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14000c150
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x140009641
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140002670
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140009629
jmp 0x140009641
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.14002d5a0
jmp 0x1400096b4
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14002d9f0
ud2
Function at 0x14000f990
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.14002bf40
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r12, rcx
lea r13, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r13
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xfe8]
xorps xmm6, xmm6
lea rbx, [rbp + 0xffc]
lea rsi, [0x1400157b0]
lea r15, [rbp + 0xfb0]
mov r14, qword [sym.imp.KERNEL32.dll_WriteFileEx]
mov rdi, qword [sym.imp.KERNEL32.dll_SleepEx]
mov qword [rbp + 0x1010], r12
mov r9d, 0x1000
mov rdx, r12
mov r8, r13
call fcn.140015230
cmp qword [rbp + 0xfe8], 0
jne 0x14000fb67
mov r12, qword [rbp + 0xff0]
test r12, r12
je 0x14000fb33
cmp r12, 0x1000
ja 0x14000fb89
xor r13d, r13d
nop word cs:[rax + rax]
mov r8d, r12d
sub r8d, r13d
lea rdx, [r13 - 0x50]
add rdx, rbp
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], rbx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rbp + 0x1008]
mov r9, r15
call r14
test eax, eax
je 0x14000fb07
nop word [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x14000fab0
movsxd rax, dword [rbp + 0x1000]
test rax, rax
jne 0x14000fb0d
mov eax, dword [rbp + 0x1004]
add r13, rax
cmp r13, r12
je 0x14000faf0
jbe 0x14000fa60
jmp 0x14000fb75
mov r12, qword [rbp + 0x1010]
lea r13, [rbp - 0x50]
lea rcx, [rbp + 0xfe8]
jmp 0x14000fa15
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe0], rax
mov qword [rbp + 0xfd8], 1
lea rcx, [rbp + 0xfe0]
call fcn.140003a40
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xff0]
call fcn.140003a40
jmp 0x14000fb33
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r13
mov rdx, r12
call fcn.14002da70
jmp 0x14000fb9d
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r12
call fcn.14002d9f0
ud2
Function at 0x140012de0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140030eb8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140012e24
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x140012e83
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x140012e92
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140012eca
cmp eax, 0x103
je 0x140012ed4
test eax, eax
js 0x140012eaf
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x140012eca
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14000bbc0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140004040
mov ecx, 7
int 0x29
ud2
Function at 0x140012f40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140030eb8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140012f84
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140012fea
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140013021
test eax, eax
js 0x140012ffb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140013014
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14000bbc0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140004040
mov ecx, 7
int 0x29
ud2
Function at 0x140015c70
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
cmp qword [rdx], 0
jne 0x140015dc3
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x140015ca7
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x140015d88
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140015da6
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x2c], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x2c]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140015d09
mov ecx, dword [rsp + 0x2c]
mov eax, 2
test rcx, rcx
je 0x140015d3b
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov byte [rsi + 1], 1
jmp 0x140015d3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x40], rcx
cmp eax, 0x3e5
je 0x140015d43
cmp eax, 0x6d
jne 0x140015d6e
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
jmp 0x140015d48
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x140015d74
lea rax, [rsp + 0x30]
mov qword [rax], 0
lea rcx, [rsp + 0x40]
call fcn.140003a40
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rax, rax
je 0x140015d7e
cmp rax, 1
je 0x140015cf2
mov qword [rsi + 8], rcx
mov al, 1
mov byte [rsi], al
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov eax, 1
jmp 0x140015cfc
mov r8d, 0x10
mov rcx, rbx
call fcn.14002ca40
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x140015cb4
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.14002ca40
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x140015cb4
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14002c9b0
int3
Function at 0x14001b050
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.14001d450

Function at 0x14001bf90
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14001bfd3
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x14000a030]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syspalwindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.14002d4d0
ud2
Function at 0x14002adc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14002ae3a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14002ae30
cmp r11, r10
ja 0x14002aec5
cmp r10, rdx
ja 0x14002aed7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14002ae32
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14002ae10
jmp 0x14002aea7
ja 0x14002ae3a
mov r11, r10
cmp rax, r8
jne 0x14002ade2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14002aeab
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14002ae80
mov r8, r10
sub ecx, r9d
jns 0x14002ae9e
jmp 0x14002aead
cmp r10, rdx
je 0x14002aeb9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14002aead
xor al, 1
cmp r8, rdx
jne 0x14002ae60
jmp 0x14002aead
xor eax, eax
jmp 0x14002aead
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14002d440
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14002da70
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002d9f0
int3

Function at 0x14002c470
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002c4ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002c4ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002c4ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002c4ba
cmp dword [rcx + 0x84], 0xe
jbe 0x14002c4ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002c4bc
xor al, al
add rsp, 0x28
ret
Function at 0x1800050d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18002c040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r8
mov r15, rdx
mov qword [rsp + 0x28], rdx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], rcx
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], rcx
mov dword [rsp + 0x20], 1
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov ebp, dword [rcx + rbx + 0x88]
add rbp, rbx
cmp rbp, rbx
je 0x1800051b9
mov r11d, dword [rbp + 0x18]
test r11d, r11d
je 0x1800051b9
mov r14d, dword [rbp + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
lea rcx, [r14 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
mov r10d, 0x76296a62
movzx r8d, byte [r9]
inc r9
test r8b, r8b
je 0x1800051b4
movsx ecx, r8b
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
movzx r8d, byte [r9]
lea r9, [r9 + 1]
test r8b, r8b
jne 0x180005180
cmp r10d, 0x9923b3ec
je 0x1800051c1
test r11d, r11d
jne 0x180005160
mov rax, qword [rax]
jmp 0x180005130
mov ecx, dword [rbp + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rbp + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
mov rcx, rdi
call rax
lea rbp, [rdi + rax]
mov qword [rsp + 0x30], rdi
cmp rdi, rbp
jae 0x180005310
mov rax, rdi
cmp byte [rdi], 0x3f
jne 0x180005216
inc rax
mov qword [rsp + 0x30], rax
cmp byte [rax], 0x3f
jne 0x18000520c
inc rax
mov qword [rsp + 0x30], rax
mov edx, 0xffffffff
jmp 0x1800052ef
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x1800052bc
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1800052bc
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
lea rcx, [r14 + r11*4]
mov ecx, dword [rcx + rbx]
add rcx, rbx
mov r10d, 0x1aa145da
movzx r9d, byte [rcx]
inc rcx
test r9b, r9b
je 0x1800052b7
nop
movsx edx, r9b
sub r9b, 0x41
mov r8d, edx
or r8d, 0x20
cmp r9b, 0x19
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
movzx r9d, byte [rcx]
lea rcx, [rcx + 1]
test r9b, r9b
jne 0x180005280
cmp r10d, 0xc173b705
je 0x1800052c4
test r11d, r11d
jne 0x180005260
mov rax, qword [rax]
jmp 0x180005230
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
mov r8d, 0x10
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
call rax
mov edx, eax
mov rcx, r15
call fcn.180006990
mov rdi, qword [rsp + 0x30]
inc rdi
mov qword [rsp + 0x30], rdi
mov rax, rdi
cmp rdi, rbp
jb 0x1800051f2
mov rax, r15
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800076d0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180005340
Capabilities:
Access peb ldr_data

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, 0x20
movdqa xmm1, xmmword [0x180028a00]
mov cl, 0x5e
movd r9d, xmm1
mov r8b, 0x64
movdqu xmmword [rbp - 0x20], xmm1
movzx ebx, r8b
mov byte [rbp - 4], 0
xor byte [rbp - 0x1e], r9b
xor bl, r9b
xor byte [rbp - 0x1d], r9b
xor cl, r9b
xor byte [rbp - 0x1c], r9b
mov r10b, 0x7d
xor byte [rbp - 0x1b], r9b
movzx r11d, r10b
xor byte [rbp - 0x1a], r9b
xor r11b, r9b
xor byte [rbp - 0x19], r9b
mov r15b, 0x68
xor byte [rbp - 0x18], r9b
movzx r13d, r15b
xor byte [rbp - 0x17], r9b
xor r8b, r9b
xor byte [rbp - 0x16], r9b
xor r10b, r9b
xor byte [rbp - 0x15], r9b
xor r15b, r9b
xor byte [rbp - 0x14], r9b
xor r13b, r9b
xor byte [rbp - 0x13], r9b
movdqa xmm0, xmm1
xor byte [rbp - 0x12], r9b
mov dl, 0x65
xor byte [rbp - 0x11], r9b
xor dl, r9b
mov byte [rbp - 0xb], bl
mov dil, 0x63
xor dil, r9b
psrldq xmm0, 1
movd eax, xmm0
mov sil, 0x6a
xor sil, r9b
mov byte [rbp - 0x10], cl
mov r14b, 0x23
mov byte [rbp - 0xc], r11b
xor al, r9b
mov byte [rbp - 0xf], dl
xor r14b, r9b
mov byte [rbp - 0x1f], al
mov rax, qword gs:[0x30]
mov r12b, 0x75
xor r12b, r9b
mov byte [rbp - 0xe], r8b
mov byte [rbp - 0xd], r10b
mov byte [rbp - 0xa], dil
mov rcx, qword [rax + 0x60]
mov byte [rbp - 9], sil
mov byte [rbp - 8], r14b
mov byte [rbp - 7], r15b
mov rbx, qword [rcx + 0x18]
add rbx, 0x20
mov byte [rbp - 6], r12b
mov byte [rbp - 5], r13b
mov r11, qword [rbx]
cmp r11, rbx
je 0x1800054a0
mov r9, qword [r11 + 0x50]
lea r10, [rbp - 0x1f]
test r9, r9
je 0x180005498
movsx eax, byte [r10]
lea r10, [r10 + 1]
movzx r8d, word [r9]
lea r9, [r9 + 2]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x18000547d
add ax, 0x20
lea ecx, [r8 - 0x41]
cmp cx, 0x19
lea edx, [r8 + 0x20]
cmova dx, r8w
test ax, ax
je 0x1800054ca
cmp ax, dx
je 0x180005460
mov r11, qword [r11]
cmp r11, rbx
jne 0x180005453
mov qword [0x18002ded0], 0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, qword [r11 + 0x20]
mov qword [0x18002ded0], rax
jmp 0x1800054ad
Function at 0x180006990
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
sub rsp, 0x28
mov rax, qword [rcx + 8]
mov ebp, edx
mov r15, rcx
cmp qword [rcx + 0x10], rax
jne 0x180006ac1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x20], r14
test rax, rax
jne 0x1800069d0
mov eax, 1
jmp 0x1800069d3
add rax, rax
mov qword [rcx + 8], rax
lea r12, [rax*4]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x180006a7d
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x180006a7d
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x37dfcab9
lea rcx, [r14 + r11*4]
mov ecx, dword [rcx + rbx]
add rcx, rbx
movzx r9d, byte [rcx]
inc rcx
test r9b, r9b
je 0x180006a78
nop
movsx edx, r9b
lea rcx, [rcx + 1]
sub r9b, 0x41
mov r8d, edx
or r8d, 0x20
cmp r9b, 0x19
movzx r9d, byte [rcx - 1]
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test r9b, r9b
jne 0x180006a40
cmp r10d, 0x7439f921
je 0x180006a85
test r11d, r11d
jne 0x180006a20
mov rax, qword [rax]
jmp 0x1800069f0
mov ecx, dword [rsi + 0x24]
mov rdx, r12
add rcx, rbx
movzx r8d, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + r8*4]
mov rcx, qword [r15]
add rax, rbx
call rax
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov qword [r15], rax
mov rcx, qword [r15 + 0x10]
mov rax, qword [r15]
mov dword [rax + rcx*4], ebp
inc qword [r15 + 0x10]
add rsp, 0x28
pop r15
pop rbp
ret
Function at 0x180006ae0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
mov r15, rcx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov rbx, qword [rax + 0x30]
movsxd rdx, dword [rbx + 0x3c]
mov esi, dword [rdx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x180006b9c
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x180006b9c
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
lea rcx, [r14 + r11*4]
mov ecx, dword [rcx + rbx]
add rcx, rbx
mov r10d, 0xbac374a7
movzx r9d, byte [rcx]
inc rcx
test r9b, r9b
je 0x180006b97
nop
movsx edx, r9b
sub r9b, 0x41
mov r8d, edx
or r8d, 0x20
cmp r9b, 0x19
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
movzx r9d, byte [rcx]
lea rcx, [rcx + 1]
test r9b, r9b
jne 0x180006b60
cmp r10d, 0xeeecfd45
je 0x180006ba4
test r11d, r11d
jne 0x180006b40
mov rax, qword [rax]
jmp 0x180006b10
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
mov rcx, qword [r15]
call rax
nop
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x1800073d0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800075ad
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18002dfb8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18002dfc8]
lea rdx, [rdi + rdi]
call fcn.180006f70
mov rax, qword [0x18002dfb8]
lea r9, [rdi - 1]
mov qword [0x18002dfe0], r9
mov qword [0x18002dfe8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800075a2
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18002dfc8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800074eb
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180007563
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180007528
mov r10, qword [rdx]
cmp r10, rax
je 0x180007522
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 0x180007563
cmp r9, rdx
je 0x18000753f
nop dword [rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180007577
cmp r9, rdx
jne 0x180007530
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
je 0x18000759d
mov r9, qword [0x18002dfe0]
jmp 0x180007470
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 0x180007563
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18000769c
int3