joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023320
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x60
lea rax, [r11 + 0x18]
mov rdi, rcx
mov qword [r11 - 0x28], rax
lea rdx, str.SOFTWAREAMDhyprGCTPatchedApps
xor ecx, ecx
lea rax, [r11 - 0x18]
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov qword [r11 - 0x38], rcx
xor r8d, r8d
mov qword [r11 - 0x18], rcx
mov dword [r11 + 0x18], ecx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test eax, eax
je 0x1400233ea
cmp eax, 0xb7
je 0x1400233ea
lea rdx, str.Hypr_:_setPatched_:_RegCreateKeyEx_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, ebx
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x140046098]
lea rcx, [0x140059050]
call fcn.140001800
lea rdx, [0x1400060d0]
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x78]
lea rcx, [0x140059020]
call fcn.14000dca0
test ebx, ebx
sete al
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
cmp qword [rdi + 0x18], 0x10
mov dword [rsp + 0x88], 1
jb 0x1400233ff
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x88]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test eax, eax
je 0x14002348b
lea rdx, str.Hypr_:_setPatched_:_RegSetValueEx_failed._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, ebx
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x140046098]
lea rcx, [0x140059050]
call fcn.140001800
lea rdx, [0x1400060d0]
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x78]
lea rcx, [0x140059020]
call fcn.14000dca0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x70]
sete al
add rsp, 0x60
pop rdi
ret
Function at 0x1400235b0
Capabilities:
Link many functions at runtime

Disassembly:
xor r9d, r9d
xor r8d, r8d
xor edx, edx
jmp 0x1400235c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 8], 0
movzx ebp, r9b
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
jne 0x140023678
lea rcx, str.amdadlx64.dll
call fcn.1400237c0
mov qword [rbx + 8], rax
test rax, rax
je 0x140023678
lea rdx, str.ADLXQueryFullVersion
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [rbx + 8]
lea rdx, str.ADLXQueryVersion
mov qword [rbx + 0x30], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [rbx + 8]
lea rdx, str.ADLXInitializeWithCallerAdl
mov qword [rbx + 0x38], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [rbx + 8]
lea rdx, str.ADLXInitializeWithIncompatibleDriver
mov qword [rbx + 0x40], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [rbx + 8]
lea rdx, str.ADLXInitialize
mov qword [rbx + 0x48], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [rbx + 8]
lea rdx, str.ADLXTerminate
mov qword [rbx + 0x50], rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [rbx + 0x58], rax
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x140023700
cmp qword [rbx + 0x38], 0
je 0x140023700
cmp qword [rbx + 0x40], 0
je 0x140023700
cmp qword [rbx + 0x48], 0
je 0x140023700
cmp qword [rbx + 0x50], 0
je 0x140023700
cmp qword [rbx + 0x58], 0
je 0x140023700
lea rcx, [rbx + 0x10]
call rax
lea rcx, [rbx + 0x18]
call qword [rbx + 0x38]
test rsi, rsi
je 0x1400236dd
test rdi, rdi
je 0x1400236dd
mov rax, qword [rbx + 0x40]
lea r8, [rbx + 0x28]
lea rdx, [rbx + 0x20]
mov qword [rsp + 0x20], rdi
mov r9, rsi
movabs rcx, 0x100000005001e
call rax
jmp 0x140023705
lea rdx, [rbx + 0x20]
movabs rcx, 0x100000005001e
test bpl, bpl
je 0x1400236f8
mov rax, qword [rbx + 0x48]
call rax
jmp 0x140023705
mov rax, qword [rbx + 0x50]
call rax
jmp 0x140023705
mov eax, 3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400235c0
Capabilities:
Link many functions at runtime

Disassembly:
xor r9d, r9d
xor r8d, r8d
xor edx, edx
jmp 0x1400235c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 8], 0
movzx ebp, r9b
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
jne 0x140023678
lea rcx, str.amdadlx64.dll
call fcn.1400237c0
mov qword [rbx + 8], rax
test rax, rax
je 0x140023678
lea rdx, str.ADLXQueryFullVersion
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [rbx + 8]
lea rdx, str.ADLXQueryVersion
mov qword [rbx + 0x30], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [rbx + 8]
lea rdx, str.ADLXInitializeWithCallerAdl
mov qword [rbx + 0x38], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [rbx + 8]
lea rdx, str.ADLXInitializeWithIncompatibleDriver
mov qword [rbx + 0x40], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [rbx + 8]
lea rdx, str.ADLXInitialize
mov qword [rbx + 0x48], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [rbx + 8]
lea rdx, str.ADLXTerminate
mov qword [rbx + 0x50], rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [rbx + 0x58], rax
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x140023700
cmp qword [rbx + 0x38], 0
je 0x140023700
cmp qword [rbx + 0x40], 0
je 0x140023700
cmp qword [rbx + 0x48], 0
je 0x140023700
cmp qword [rbx + 0x50], 0
je 0x140023700
cmp qword [rbx + 0x58], 0
je 0x140023700
lea rcx, [rbx + 0x10]
call rax
lea rcx, [rbx + 0x18]
call qword [rbx + 0x38]
test rsi, rsi
je 0x1400236dd
test rdi, rdi
je 0x1400236dd
mov rax, qword [rbx + 0x40]
lea r8, [rbx + 0x28]
lea rdx, [rbx + 0x20]
mov qword [rsp + 0x20], rdi
mov r9, rsi
movabs rcx, 0x100000005001e
call rax
jmp 0x140023705
lea rdx, [rbx + 0x20]
movabs rcx, 0x100000005001e
test bpl, bpl
je 0x1400236f8
mov rax, qword [rbx + 0x48]
call rax
jmp 0x140023705
mov rax, qword [rbx + 0x50]
call rax
jmp 0x140023705
mov eax, 3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140038930
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov ebx, r8d
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 4
jb 0x140038953
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0xb0]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
cmove ebx, dword [rsp + 0x40]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x140038990
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r15, r9
mov r14, r8
mov rsi, rdx
mov r13, rcx
xor r12d, r12d
mov dword [rax + 0x18], r12d
mov dword [rax + 8], r12d
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400389ca
mov rdx, qword [r8]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0xa0]
xor r8d, r8d
mov rcx, qword [rcx + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [rsp + 0x90]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov rbx, r12
mov rdi, r12
test rbp, rbp
je 0x140038a71
cmp rbp, 0x1000
jb 0x140038a46
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x140038b39
call fcn.140040f40
test rax, rax
je 0x140038b32
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140038a51
mov rcx, rbp
call fcn.140040f40
mov rbx, rax
mov qword [rsp + 0x38], rbx
lea rdi, [rbx + rbp]
mov qword [rsp + 0x48], rdi
mov r8, rbp
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x40], rdi
cmp qword [r14 + 0x18], 0x10
jb 0x140038a7b
mov r14, qword [r14]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [r13 + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140038ad7
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140038ac0
mov rdx, rbx
mov rcx, rsi
call fcn.140002150
jmp 0x140038ae3
mov rdx, r15
mov rcx, rsi
call fcn.14000baf0
nop
test rbx, rbx
je 0x140038b17
sub rdi, rbx
cmp rdi, 0x1000
jb 0x140038b0c
add rdi, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x140038b32
mov rbx, rax
mov rdx, rdi
mov rcx, rbx
call fcn.140040f7c
mov rax, rsi
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
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
call fcn.1400139c0
int3
Function at 0x140038b50
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 0x10
mov rbx, rdx
mov rdx, r8
jb 0x140038b6a
mov rdx, qword [r8]
mov eax, dword [r8 + 0x10]
mov r10, rbx
inc eax
cmp qword [rbx + 0x18], 0x10
jb 0x140038b7d
mov r10, qword [rbx]
mov rcx, qword [rcx + 0xb0]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test eax, eax
je 0x140038c33
lea rdx, str.Hypr_:_setValue_failed_for_
lea rcx, [0x140059050]
call fcn.140001800
cmp qword [rbx + 0x18], 0x10
mov r8, qword [rbx + 0x10]
jb 0x140038bca
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [0x140059050]
call fcn.1400038f0
lea rdx, str.._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, edi
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x140046098]
lea rcx, [0x140059050]
call fcn.140001800
lea rdx, [0x1400060d0]
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x40]
lea rcx, [0x140059020]
call fcn.14000dca0
mov rbx, qword [rsp + 0x48]
test edi, edi
sete al
add rsp, 0x30
pop rdi
ret
Function at 0x140038c50
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov rbx, rdx
jb 0x140038c6c
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0xb0]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test eax, eax
je 0x140038d28
lea rdx, str.Hypr_:_setValue_failed_for_
lea rcx, [0x140059050]
call fcn.140001800
cmp qword [rbx + 0x18], 0x10
mov r8, qword [rbx + 0x10]
jb 0x140038cbf
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [0x140059050]
call fcn.1400038f0
lea rdx, str.._Error
lea rcx, [0x140059050]
call fcn.140001800
mov edx, edi
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x140046098]
lea rcx, [0x140059050]
call fcn.140001800
lea rdx, [0x1400060d0]
lea rcx, [0x140059050]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x40]
lea rcx, [0x140059020]
call fcn.14000dca0
mov rbx, qword [rsp + 0x48]
test edi, edi
sete al
add rsp, 0x30
pop rdi
ret
Function at 0x14003d340
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400593e8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov r15d, r9d
mov r14, rdx
mov rsi, rcx
mov rdx, rbp
lea rcx, str.APPDATA
mov r8d, r9d
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
mov edi, 0x80070057
cmovne edi, r13d
je 0x14003d3aa
lea r8, str.MicrosoftWindowsStart_MenuPrograms_
mov edx, r15d
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
neg eax
sbb edi, edi
and edi, 0x80070057
mov qword [rsp + 0x58], r12
test edi, edi
js 0x14003d4fe
cmp qword [rsi + 0x18], 8
jb 0x14003d3c1
mov rsi, qword [rsi]
mov r8, rsi
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x14004a440]
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r12, qword [r14 + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, 4
jb 0x14003d521
cmp qword [r14 + 0x18], 8
jb 0x14003d40b
mov r14, qword [r14]
lea rsi, [r12 + 4]
mov ebx, 7
lea rdi, [rsp + 0x28]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x28], xmm0
movdqu xmmword [rsp + 0x38], xmm1
cmp rsi, rbx
jbe 0x14003d463
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x14003d441
mov rbx, rcx
jmp 0x14003d44d
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x28]
call fcn.140035df0
mov rdi, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x40], rbx
mov rdx, r14
lea rbx, [r12 + r12]
mov qword [rsp + 0x38], rsi
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x6b006e006c002e
lea r8, [rsp + 0x28]
mov qword [rbx + rdi], rax
mov rdx, r15
mov word [rdi + rsi*2], r13w
mov rcx, rbp
cmp qword [rsp + 0x40], 8
cmovae r8, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov rdx, qword [rsp + 0x40]
neg eax
sbb edi, edi
and edi, 0x80070057
cmp rdx, 8
jb 0x14003d4fe
mov rcx, qword [rsp + 0x28]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d4f9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d4f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140040f7c
mov r12, qword [rsp + 0x58]
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140041580
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140014140
int3
Function at 0x14003d7f0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, str.SHELL32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14003d8ea
lea rdx, str.SetCurrentProcessExplicitAppUserModelID
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d948], rax
test rax, rax
je 0x14003d8ea
lea rcx, str.PROPSYS.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14003d8ea
lea rdx, str.PropVariantToString
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d950], rax
test rax, rax
je 0x14003d8ea
lea rcx, str.COMBASE.DLL
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14003d8e5
lea rdx, str.RoGetActivationFactory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d958], rax
test rax, rax
je 0x14003d8e5
lea rdx, str.WindowsCreateStringReference
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d960], rax
test rax, rax
je 0x14003d8e5
lea rdx, str.WindowsGetStringRawBuffer
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d968], rax
test rax, rax
je 0x14003d8e5
lea rdx, str.WindowsDeleteString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d970], rax
mov rbx, qword [rsp + 0x20]
cmp qword [0x14005d948], 0
je 0x14003d923
cmp qword [0x14005d950], 0
je 0x14003d923
cmp qword [0x14005d958], 0
je 0x14003d923
cmp qword [0x14005d960], 0
je 0x14003d923
cmp qword [0x14005d970], 0
je 0x14003d923
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x140040634
Capabilities:
Get geographical location

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

Function at 0x140041bb8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140041c02
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140041c02
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140041c02
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140041c02
cmp dword [rcx + 0x84], 0xe
jbe 0x140041c02
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140041c04
xor al, al
add rsp, 0x28
ret
Function at 0x140003ea0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x280
movdqa xmmword [rsp + 0x2e0], xmm6
movdqa xmmword [rsp + 0x2f0], xmm7
movdqa xmmword [rsp + 0x300], xmm8
movdqa xmmword [rsp + 0x310], xmm9
movdqa xmmword [rsp + 0x320], xmm10
movdqa xmmword [rsp + 0x330], xmm11
movdqa xmmword [rsp + 0x340], xmm12
movdqa xmmword [rsp + 0x350], xmm13
movdqa xmmword [rsp + 0x360], xmm14
movdqa xmmword [rsp + 0x370], xmm15
mov eax, dword [0x1402aee28]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x280]
mov qword [rdx + 8], r8
call fcn.1400d49e0
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x1402aee28]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x140004030
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x14000404c
cmp rcx, r8
jl 0x14000403f
mov qword [rdx + 0x80], rcx
test dword [0x1402a8028], 1
je 0x14000407b
cmp byte [rsp + 0xd0], 0
je 0x14000407b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140003ba0
mov rsp, r8
jmp rax