joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027db0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b754
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b754
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f00
cmp rax, 0xffffffffffffffff
je 0x140027f00
xor edi, edi
test rbp, rbp
jle 0x140027eab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dd40
mov rbx, rax
test rax, rax
jne 0x140027e38
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027ea1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400158f8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c430
cmp eax, 0xffffffff
je 0x140027e81
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027e48
mov edx, r15d
mov ecx, r14d
call fcn.1400158f8
jmp 0x140027ea1
cmp byte [rsi + 0x38], dil
je 0x140027e98
cmp dword [rsi + 0x34], 5
jne 0x140027e98
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027ea1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019e18
jmp 0x140027f14
jns 0x140027f14
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b754
cmp rax, 0xffffffffffffffff
jne 0x140027ecc
cmp byte [rsi + 0x30], dil
je 0x140027f14
mov edi, dword [rsi + 0x2c]
jmp 0x140027f14
mov ecx, r14d
call fcn.140016ef8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027f14
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f0d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f12
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b754
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180024440
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test edx, edx
je 0x18002445d
mov eax, 1
cmp edx, eax
jne 0x18002449f
mov qword [0x180075668], rcx
add rsp, 0x28
ret
cmp qword [0x180060a70], 0
je 0x18002449a
cmp qword [0x180060a78], 8
lea rcx, [0x180060a60]
cmovae rcx, qword [0x180060a60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
lea rdx, [0x180034acc]
lea rcx, [0x180060a60]
call fcn.1800014a0
mov eax, 1
add rsp, 0x28
ret

Function at 0x180593241
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x10]
je 0x18056aa71
mov ebx, 0x9f9d3c90
push r8
add bx, bx
movzx r8d, bl
lea rbx, [0x180573630]
movzx r8d, byte [r10]
push 0x1595d7b7
xor r8d, r11d
and r8d, 0xff
mov r8d, dword [rbx + r8*4]
shr r11d, 8
xor r11d, r8d
sal dword [rsp + 4], 0xc3
inc r10
xor r11d, 0x2b0e0ba4
dec rcx
lea rsp, [rsp + 8]
jne 0x180593261
jmp 0x18056aa6f
Function at 0x203e718
Capabilities:
Encode data using xor

Disassembly:
jmp 0x203e722
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x203e74b
pop rbp
sub rbp, 0x33
sub rbp, 0x1c3e718
sub rsp, 0x20
jmp 0x203e76a
mov rax, 0x1c3e718
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffc77fb45d
xor byte [rax], dl
inc rax
dec rcx
jne 0x203e789
jmp 0x203e7a0
adc eax, 0xd4d6b4d4
invalid
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00404520]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x00404530]
mov dword [rax], 1
mov rax, qword [0x00404540]
mov dword [rax], 1
mov rax, qword [0x00404510]
mov dword [rax], 1
mov rax, qword [0x00404400]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010c0
mov rax, qword [0x00404500]
mov dword [0x0040700c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x4010b0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x004044c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00404390]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067

Function at 0x401560
Capabilities:
Shutdown system

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
call dbg.__main
mov edx, 0x80000000
mov ecx, 0xc
mov rax, qword [sym.imp.USER32.dll_ExitWindowsEx]
call rax
test eax, eax
sete al
test al, al
je 0x4015b2
lea rdx, str.Lo_siento__pero_no_te_sabes_el_lore_de_FNAF.
mov rcx, qword [sym.imp.libstdc_6.dll_std::cerr]
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [0x004043b0]
mov rcx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov eax, 1
jmp 0x4015b7
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x401b20
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x401b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00407634]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x401d38
mov rax, qword [0x00407638]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x401bdc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401c67
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x401bc0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x401d72
mov rax, qword [0x00407638]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00407638]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401d81
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401c60
sub eax, 4
and eax, 0xfffffffb
jne 0x401cf0
add dword [0x00407634], 1
cmp ebx, 8
jae 0x401c98
test bl, 4
jne 0x401d40
test ebx, ebx
je 0x401c89
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x401d60
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x401c89
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x401cca
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00407638]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401c60
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor edi, edi
jmp 0x401be7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x401c89
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x401c89
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
mov rax, qword [0x00407638]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
nop
nop dword [rax]
Function at 0x402560
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407920]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00407900]
test rbx, rbx
je 0x4025b4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4025ab
test r12, r12
je 0x4025ab
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402590
lea rcx, [0x00407920]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4027e0
Capabilities:
Parse pe header

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

Function at 0x402800
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 0x402845
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x40283c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x402847
add rax, 0x28
cmp rax, r9
jne 0x402828
xor eax, eax
ret

Function at 0x4028f0
Capabilities:
Enumerate pe sections

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

Function at 0x402a50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x00404400]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x402abf
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402abf
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x402abd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x402ab4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402ac8
add rax, 0x28
cmp rax, r9
jne 0x402aa0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x402ae0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x00404400]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x402b58
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402b58
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x402b58
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402b58
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x402b4c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x402b60
add rdx, 0x28
cmp rdx, r10
jne 0x402b38
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x402b70
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x402b7e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x402b55
test r8d, r8d
jg 0x402b68
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x140007f00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
lea rax, vtable.CThread.0
mov rsi, rcx
mov dword [rcx + 0x1c], r9d
mov qword [rcx], rax
mov ecx, 0x10
mov rbx, r8
mov rdi, rdx
call fcn.14004fc48
lea rdx, [rsi + 0x18]
mov qword [rsp + 0x28], rdx
mov qword [rax + 8], rbx
mov qword [rax], rdi
mov r8d, dword [rsi + 0x1c]
mov r9, rax
xor edx, edx
and r8d, 4
xor ecx, ecx
mov rbp, rax
mov dword [rsp + 0x20], r8d
lea r8, [0x140002a80]
call fcn.1400776d0
mov qword [rsi + 0x10], rax
test rax, rax
je 0x140007f8f
cmp rax, 0xffffffffffffffff
je 0x140007f8f
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rax, rsi
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov rcx, rbp
call fcn.14004fc8c
lea rcx, [rsp + 0x30]
call fcn.14007623c
lea rdx, [0x1400cb140]
lea rcx, [rsp + 0x30]
call fcn.140076800
int3
Function at 0x14001b5d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [rcx + 0x798], rdx
mov rcx, qword [rcx + 0x48]
call fcn.140014b00
lea rax, [rsp + 0x40]
xor esi, esi
mov qword [rsp + 0x28], rax
lea r8, [0x1400184f0]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x40], esi
call fcn.1400776d0
mov rcx, qword [rbx + 0x50]
mov rdi, rax
test rcx, rcx
je 0x14001b62f
call qword [0x1400996e8]
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x50], rdi
cmp rdi, 0xffffffffffffffff
jne 0x14001b67f
lea ecx, [rdi + 9]
call fcn.14004fc48
mov rbx, rax
test rax, rax
je 0x14001b665
mov eax, 0x1007
mov word [rbx], ax
mov eax, 0x1c5
mov word [rbx + 2], ax
call qword [0x1400996b8]
mov dword [rbx + 4], eax
jmp 0x14001b668
mov rbx, rsi
lea rdx, [0x1400cb170]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
call fcn.140076800
int3
lea rax, [rsp + 0x40]
lea r8, [0x14001b590]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call fcn.1400776d0
mov rcx, qword [rbx + 0xe8]
mov rdi, rax
test rcx, rcx
je 0x14001b6bc
call qword [0x1400996e8]
mov qword [rbx + 0xe8], rsi
mov qword [rbx + 0xe8], rdi
cmp rdi, 0xffffffffffffffff
jne 0x14001b70f
lea ecx, [rdi + 9]
call fcn.14004fc48
mov rbx, rax
test rax, rax
je 0x14001b6f5
mov eax, 0x1007
mov word [rbx], ax
mov eax, 0x1cd
mov word [rbx + 2], ax
call qword [0x1400996b8]
mov dword [rbx + 4], eax
jmp 0x14001b6f8
mov rbx, rsi
lea rdx, [0x1400cb170]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
call fcn.140076800
int3
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14001b720
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov rsi, rcx
mov dword [rsp + 0x48], 0
test edx, edx
je 0x14001b7e9
mov ecx, 0x10
call fcn.1400768d4
mov rdi, rax
test rax, rax
jne 0x14001b767
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rax + 8], rsi
mov qword [rax], 0
test rbx, rbx
je 0x14001b782
cmp rbx, 0xffffffffffffffff
je 0x14001b782
mov qword [rax], rbx
jmp 0x14001b789
mov rax, qword [rsi + 0x40]
mov qword [rdi], rax
lea rax, [rsp + 0x48]
lea r8, [0x14001b5a0]
mov r9, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.1400776d0
cmp rax, 0xffffffffffffffff
je 0x14001b7cf
mov rcx, rax
call qword [0x1400996e8]
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140076894
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
jne 0x14001b7f2
mov rbx, qword [rcx + 0x40]
mov rdx, rbx
call fcn.14001a3f0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14002b3c0
Capabilities:
Persist via run registry key

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x180
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400d1358]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov r13d, esi
mov byte [rsp + 0x60], sil
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x61]
call fcn.140076150
mov rcx, rbx
call fcn.14002b140
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [0x140099658]
test eax, eax
jne 0x14002b456
mov rcx, rbx
call fcn.140060f5c
mov eax, dword [rbx + 0x160]
jmp 0x14002b5f4
lea rdi, [rsp + 0x60]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.__auto_start]
mov qword [rdi - 1], rax
mov eax, dword [0x14009d9c0]
mov dword [rdi + 7], eax
movzx eax, byte [0x14009d9c4]
mov byte [rdi + 0xb], al
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
lea r14, [rcx - 1]
lea r8, [rsp + 0x38]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [0x140099028]
test eax, eax
je 0x14002b4c5
mov rcx, rbx
call fcn.140060f5c
mov eax, dword [rbx + 0x160]
jmp 0x14002b5f4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14009adc8]
mov rcx, qword [rsp + 0x38]
call qword [0x140099088]
test eax, eax
jne 0x14002b564
mov edi, 1
mov r13d, edi
mov ecx, dword [rsp + 0x30]
inc ecx
call fcn.1400768d4
mov r12, rax
test rax, rax
je 0x14002b569
mov r8d, dword [rsp + 0x30]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.140076150
lea r11, [rsp + 0x30]
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14009adc8]
mov rcx, qword [rsp + 0x38]
call qword [0x140099088]
test eax, eax
jne 0x14002b55a
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140079098
test eax, eax
cmove esi, edi
mov rcx, r12
call fcn.140076894
jmp 0x14002b569
mov edi, 1
bt dword [rbx + 0x14c], 0xb
jae 0x14002b5a5
test esi, esi
jne 0x14002b5bd
test r14d, r14d
je 0x14002b5bd
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, [0x14009adc8]
mov rcx, qword [rsp + 0x38]
call qword [0x140099040]
jmp 0x14002b5bd
cmp r13d, 1
jne 0x14002b5bd
lea rdx, [0x14009adc8]
mov rcx, qword [rsp + 0x38]
call qword [0x140099030]
mov rcx, qword [rsp + 0x38]
call qword [0x140099090]
cmp qword [rbx + 0x140], 0
je 0x14002b5e6
mov rcx, qword [rbx + 0x140]
call fcn.14001a090
nop
jmp 0x14002b5e6
mov rcx, rbx
call fcn.140060f5c
mov eax, dword [rbx + 0x160]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400767e0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x18000fbc0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
mov r8, qword [r9 + 8]
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov r11, qword [rdx + 8]
mov rbx, r11
cmp r11, r8
je 0x18000fc74
mov rax, qword [r10]
mov rcx, qword [rdx]
cmp rax, qword [r11 + 0x10]
je 0x18000fc76
cmp rbx, rcx
je 0x18000fc74
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x18000fc63
jmp 0x18000fc76
xor ebx, ebx
test rbx, rbx
je 0x18000fce7
mov rax, qword [rdx]
cmp r11, rbx
jne 0x18000fc9b
cmp rax, rbx
jne 0x18000fc91
mov qword [rdx], r8
mov qword [rdx + 8], r8
jmp 0x18000fca6
mov r8, qword [rbx + 8]
mov qword [rdx + 8], r8
jmp 0x18000fca6
cmp rax, rbx
jne 0x18000fca6
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18000fccf
mov edx, 0x10
call fcn.1800b0f48
mov edx, 0x20
mov rcx, rbx
call fcn.1800b0f48
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x180010b20
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180010cfb
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180010150
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 0x180010cc4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [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 0x180010c3c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180010cb3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180010c79
mov r10, qword [rdx]
cmp r10, rax
je 0x180010c73
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 0x180010cb3
cmp r9, rdx
je 0x180010c8f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180010cd5
cmp r9, rdx
jne 0x180010c80
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 0x180010bc0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x180010cb3
lea rcx, str.invalid_hash_bucket_count
call fcn.1800b03bc
int3