joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180051ca0
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [rcx]
mov r8d, 0xc350
cmp ax, r8w
ja 0x180051e11
cmp word [rcx + 2], r8w
ja 0x180051e11
cmp word [rcx + 4], r8w
ja 0x180051e11
cmp word [rcx + 6], r8w
ja 0x180051e11
cmp word [rcx + 8], r8w
ja 0x180051e11
cmp word [rcx + 0xa], r8w
ja 0x180051e11
cmp word [rcx + 0xc], r8w
ja 0x180051e11
cmp word [rcx + 0xe], r8w
ja 0x180051e11
movsd xmm2, qword [0x1801b1ff0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [rdx], xmm0
movzx eax, word [rcx + 2]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rdx + 4], xmm0
movzx eax, word [rcx + 4]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rdx + 8], xmm0
movzx eax, word [rcx + 6]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rdx + 0xc], xmm0
movzx eax, word [rcx + 8]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rdx + 0x10], xmm0
movzx eax, word [rcx + 0xa]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rdx + 0x14], xmm0
movzx eax, word [rcx + 0xc]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rdx + 0x18], xmm0
movzx eax, word [rcx + 0xe]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rdx + 0x1c], xmm0
movzx eax, word [rcx + 0x12]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x1801b1ff8]
cvtpd2ps xmm0, xmm1
movss dword [rdx + 0x24], xmm0
movzx eax, word [rcx + 0x10]
mov word [rdx + 0x20], ax
movzx eax, word [rcx + 0x14]
mov word [rdx + 0x28], ax
movzx eax, word [rcx + 0x16]
mov word [rdx + 0x2a], ax
movzx eax, byte [rcx + 0x18]
mov byte [rdx + 0x2c], al
movzx eax, byte [rcx + 0x19]
mov byte [rdx + 0x2d], al
mov al, 1
ret
xor al, al
ret
Function at 0x1800cab00
Capabilities:
Terminate thread

Disassembly:
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1800cab00
xor eax, eax
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rdi, rcx
lea rdx, [rcx + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1800c9050
mov rcx, qword [rdi + 0x10]
xor ebx, ebx
test rcx, rcx
je 0x1800cab5a
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi + 0x10]
test eax, eax
jne 0x1800cab49
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rbx
jmp 0x1800cab5a
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x1800cab5a
mov ebx, 0xffffffff
lea rcx, [rsp + 0x20]
call fcn.1800c9320
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800caca0
Capabilities:
Create thread

Disassembly:
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1800caca0
mov eax, 0xffffffff
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
lea rdx, [rcx + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1800c9050
nop
mov rcx, qword [rbx + 0x10]
xor edi, edi
test rcx, rcx
je 0x1800cacef
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1800cae13
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rdi
mov byte [rbx + 0x60], dil
lea rsi, [rbx + 0x18]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x1800cb0b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1800cad29
mov dword [rsi], edi
mov edi, 0xffffffff
jmp 0x1800cae13
movsxd rsi, dword [rbx + 0x1c]
lea rdx, [rbx + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1800c9050
nop
mov dword [rbx + 0x1c], esi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800cae08
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1800cad6b
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rdi
jmp 0x1800cae08
cmp esi, 5
ja case.0x1800cad81.0
lea rdx, [0x180000000]
mov ecx, dword [rdx + rsi*4 + 0xcae38]
add rcx, rdx
jmp rcx
xor edx, edx
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x1800cae08
mov edx, 0xfffffffe
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x1800cae08
mov edx, 2
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x1800cae08
mov edx, 0xf
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x1800cae08
mov edx, 1
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x1800cae08
mov dword [rsp + 0x30], esi
mov rax, qword [rbx + 8]
mov qword [rsp + 0x28], rax
lea rax, str.AJAThread__p_::SetPriority:_t_bad_thread_priority__d
mov qword [rsp + 0x20], rax
mov r9d, 0xc5
lea r8, str.D:_aobs_depsobs_depswindows_build_templibajantv2_ajabase_systemwindows_threadimpl.cpp
mov edx, 3
xor ecx, ecx
call fcn.1800ca4f0
nop
lea rcx, [rsp + 0x40]
call fcn.1800c9320
nop
lea rcx, [rsp + 0x50]
call fcn.1800c9320
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x18014db10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180232200]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18014dbe3
cmp byte [rcx + 0x71], 0
je 0x18014dbe3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18014dbdf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18014dba4
sub eax, 1
je 0x18014dba8
cmp eax, 2
jne 0x18014dbdf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180187870
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18014dbd6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18014dbdf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18014db8c
xor al, al
jmp 0x18014db8c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180187870
add rsp, 0x60
pop rbx
ret
Function at 0x18014dd80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x180232200]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x18014ddad
xor eax, eax
jmp 0x18014df16
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x18014dded
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x18014dded
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x18014df0e
cmp qword [rdi + 0x80], 0
je 0x18014df09
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x18014de27
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x18014de52
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x18014df0e
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18014dec1
sub eax, 1
je 0x18014dec1
cmp eax, 2
jne 0x18014df09
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x18014df0e
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x18014deef
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x18014df09
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x18014df0e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180187870
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18014e660
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x18014e691
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x18014e6af
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x18014e6f9
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x18014e771
mov rcx, rbp
call fcn.18014dc20
cmp rbx, 0xfff
jbe 0x18014e751
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x18014e792
cmp rbx, rax
ja 0x18014e720
test rdi, rdi
je 0x18014e771
mov r9, qword [rbp + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x18014e774
Function at 0x18014e7a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18014e7c8
add rsp, 0x20
pop r14
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x18014e83c
test rax, rax
jle 0x18014e81c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x18014e83c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18014e83c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x1801796d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x180232200]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor eax, eax
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0xf
mov byte [rcx], al
mov dword [rsp + 0x30], 1
lea rcx, str.SystemDrive
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r15, 0xffffffffffffffff
mov r8, r15
inc r8
cmp byte [rax + r8], 0
jne 0x180179736
mov rdx, rax
mov rcx, rsi
call fcn.180015e20
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 7
jb 0x180179792
lea rax, [rcx + 7]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x180179773
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8d, 7
lea rdx, str.Users_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 7], 0
jmp 0x1801797b2
mov qword [rsp + 0x20], 7
lea r9, str.Users_
xor r8d, r8d
mov edx, 7
mov rcx, rsi
call fcn.180041ae0
mov r14, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1801797bf
mov r14, qword [rdi]
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x1801798cc
mov r8, rbx
mov edx, 0x5c
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1801798cc
sub rax, r14
cmp rax, r15
je 0x1801798cc
mov r14, rdi
mov r8, rbx
cmp qword [rdi + 0x18], 0xf
jbe 0x180179801
mov r14, qword [rdi]
mov edx, 0x5c
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
mov rdx, rax
sub rdx, r14
mov rax, r15
test rcx, rcx
cmovne rax, rdx
inc rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp rbx, rax
jb 0x18017990a
sub rbx, rax
cmp rbx, r15
cmovb r15, rbx
cmp qword [rdi + 0x18], 0xf
jbe 0x180179852
mov rdi, qword [rdi]
lea rdx, [rdi + rax]
mov r8, r15
lea rcx, [rsp + 0x40]
call fcn.18000d910
mov dword [rsp + 0x30], 3
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rsi
call fcn.180015e20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1801798e4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801798c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801798c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180187890
jmp 0x1801798e4
cmp qword [rdi + 0x18], 0xf
jbe 0x1801798d6
mov rdi, qword [rdi]
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.180015e20
mov rax, rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180187870
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.180015f40
int3
Function at 0x18017cef0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xf
jbe 0x18017cefe
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
lea eax, [rcx - 1]
add rsp, 0x28
ret

Function at 0x18017d380
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], rdx
xor ebp, ebp
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x40], rbx
cmp qword [rdx + 0x18], 0xf
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x34], 4
jbe 0x18017d3b8
mov rdx, qword [rdx]
lea rax, [rsp + 0x40]
mov r9d, 0x101
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18017d414
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x18017d3e2
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rdi + 0x18]
mov esi, dword [rsp + 0x30]
cmp rdx, 0xf
jbe 0x18017d44e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x18017d449
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18017d4b4
mov rcx, r8
call fcn.180187890
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bpl
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18017d493
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18017d48e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18017d4b4
mov rcx, r8
call fcn.180187890
mov qword [rbx + 0x10], rbp
mov eax, esi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], bpl
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18017d4c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x180232200]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r9
mov rdi, r8
mov rax, rdx
mov rsi, rcx
mov qword [rbp - 0x71], rcx
mov qword [rbp - 0x69], r8
mov qword [rbp - 0x61], rbx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r14b
mov dword [rsp + 0x30], 1
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x34], 0x80
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x18017d558
mov rdx, qword [r8]
lea rcx, [rbp - 0x79]
mov qword [rsp + 0x20], rcx
mov r9d, 0x101
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18017d5e1
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18017d584
mov rdx, qword [rbx]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18017d5d6
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18017d5c0
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.180012bb0
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x18017d617
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x18017d612
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18017d688
mov rcx, r8
call fcn.180187890
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18017d65c
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18017d657
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18017d68f
mov rcx, r8
call fcn.180187890
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180187870
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180183dc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x180232200]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x18023ae70]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x180183e08
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x180183dfc
mov rax, qword [rax + 0x10]
jmp 0x180183e02
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180183df0
cmp byte [rcx + 0x19], 0
jne 0x180183ee4
cmp dword [rcx + 0x20], 4
jg 0x180183ee4
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x180183e31
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x180183e63
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x180183e50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180183790
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180183e9e
cmp rcx, qword [rbx + 8]
je 0x180183e9e
cmp qword [rbx + 0x10], 1
jne 0x180183ea2
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180187870
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x180183e88
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.180183f10
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.18006bdf0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180183d60
lea rdx, [0x18021f8b0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.invalid_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3

Function at 0x18018761c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180187656
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18018765b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1801876a4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1801f9b50]
cmp byte [rcx + rax], 0
je 0x1801876a4
dec r8
sub rdx, 1
jne 0x18018768a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret