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

Disassembly:
sub rsp, 0x78
mov rax, rdx
mov dword [rsp + 0x80], 1
mov rdx, qword [rcx]
cmp qword [rdx + 0x18], 0x10
jb 0x14005321f
mov rdx, qword [rdx]
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x90], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xf
lea edx, [rax + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140004870
mov rdx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x3d
mov qword [rsp + 0x48], 0x3f
movups xmm0, xmmword [str._C_Get_Service__Name_WpnUserService__Restart_Service__Force]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400e2718]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400e2728]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [0x1400e2738]
movsd qword [rax + 0x30], xmm1
mov ecx, dword [0x1400e2740]
mov dword [rax + 0x38], ecx
movzx eax, byte [0x1400e2744]
mov byte [rdx + 0x3c], al
mov byte [rdx + 0x3d], 0
mov qword [rsp + 0x60], 0xe
mov qword [rsp + 0x68], 0xf
movsd xmm0, qword [str.powershell.exe]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x1400e2750]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1400e2754]
mov word [rsp + 0x5c], ax
mov byte [rsp + 0x5e], 0
xor r9d, r9d
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140003860
add rsp, 0x78
ret
Function at 0x140053330
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov dword [rbp + 0x20], 4
mov dword [rbp + 0x28], 4
mov qword [rbp - 0x10], 0xc
mov qword [rbp - 8], 0xf
movsd xmm0, qword [str.ToastEnabled]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [0x1400e2760]
mov dword [rbp - 0x18], eax
mov byte [rbp - 0x14], 0
lea rax, [rbp - 0x20]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPushNotifications
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
js 0x140053449
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x28]
xor r8d, r8d
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rbp + 0x18]
test eax, eax
jne 0x1400533f9
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.140053200
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x18]
cmp eax, 1
jbe 0x140053479
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
js 0x140053479
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.140053200
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140053479
xor eax, eax
mov dword [rsp + 0x28], 0x7d0
mov word [rsp + 0x20], ax
mov r9d, 0x1040
lea r8, str.Info
lea rdx, str.Error_Code_4567
xor ecx, ecx
call fcn.1400045c0
call fcn.140004770
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400534b7
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400534b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400534b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008fc44
add rsp, 0x60
pop rbp
ret
Function at 0x140053700
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rbp, rdx
mov rdi, rcx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140003130
mov rbx, rax
mov dword [rsp + 0x98], 1
mov dword [rsp + 0x90], 0xff
lea rdx, [0x1401f1328]
cmp qword [0x1401f1340], 0x10
cmovae rdx, qword [0x1401f1328]
mov rcx, 0xffffffff80000001
call fcn.140053860
mov rsi, rax
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140053770
mov r8, qword [rbx]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov ebp, eax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400537df
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400537da
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140053847
mov rcx, r8
call fcn.14008fc44
xor esi, esi
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov qword [rbx + 0x18], 0xf
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140053826
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140053821
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005384e
mov rcx, r8
call fcn.14008fc44
mov qword [rdi + 0x10], rsi
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov eax, ebp
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
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 0x1400538e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [0x1401f1340], 0x10
mov rbx, rdx
mov rdi, rcx
lea rdx, [0x1401f1328]
cmovae rdx, qword [0x1401f1328]
mov rcx, 0xffffffff80000001
call fcn.140053860
cmp qword [rbx + 0x18], 0x10
mov rsi, rax
mov eax, dword [rbx + 0x10]
mov rcx, rbx
jb 0x140053930
mov rcx, qword [rbx]
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14005393d
mov rdx, qword [rdi]
mov dword [rsp + 0x28], eax
mov r9d, 1
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140053999
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140053994
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140053a06
mov rcx, r8
call fcn.14008fc44
xor esi, esi
mov qword [rdi + 0x10], rsi
mov byte [rdi], sil
mov qword [rdi + 0x18], 0xf
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400539e0
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400539db
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140053a06
mov rcx, r8
call fcn.14008fc44
mov qword [rbx + 0x10], rsi
mov eax, ebp
mov byte [rbx], sil
mov qword [rbx + 0x18], 0xf
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14008edd0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x48]
test al, al
jne 0x14008edeb
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x30]
mov edx, 1
add rsp, 0x20
pop rbx
jmp 0x1400b3e70
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
lea rbx, [rcx + 0x48]
mov rcx, rbx
call qword [sym.imp.CONCRT140.dll_public:_void___cdecl_Concurrency::details::_ReentrantBlockingLock::_Acquire_void____ptr64]
mov rcx, qword [rdi + 0x70]
cmp rcx, 0xffffffffffffffff
jne 0x1400b3ea1
mov rdi, rcx
jmp 0x1400b3ec1
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b3ebf
xor edx, edx
mov rax, qword [rsp + 0x30]
div rsi
mov rdi, rax
jmp 0x1400b3ec1
xor edi, edi
mov rcx, rbx
call qword [sym.imp.CONCRT140.dll_public:_void___cdecl_Concurrency::details::_ReentrantBlockingLock::_Release_void____ptr64]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14009092c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140090976
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140090976
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140090976
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140090976
cmp dword [rcx + 0x84], 0xe
jbe 0x140090976
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140090978
xor al, al
add rsp, 0x28
ret
Function at 0x1400b34e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rsi, r9
mov r15, r8
mov r14, rdx
mov rbp, rcx
mov ecx, 0x30
call fcn.14008fc08
mov rbx, rax
mov qword [rsp + 0xb0], rax
xor edi, edi
test rax, rax
je 0x1400b353c
mov qword [rax + 0x20], r14
lea rax, [0x1400b22f0]
mov qword [rbx + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
jmp 0x1400b353f
mov rbx, rdi
mov qword [rsp + 0xb0], rbx
mov rax, qword [rsp + 0xd0]
mov dword [rbx + 0x10], eax
shr rax, 0x20
mov dword [rbx + 0x14], eax
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_StartThreadpoolIo]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, esi
mov rdx, r15
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
test r12d, r12d
jne 0x1400b359b
cmp eax, 0x3e5
jne 0x1400b359b
mov rbx, rdi
jmp 0x1400b366a
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_CancelThreadpoolIo]
mov rsi, 0xffffffffffffffff
test r12d, r12d
je 0x1400b35e0
mov dword [rsp + 0xd0], edi
xor r9d, r9d
lea r8, [rsp + 0xd0]
mov rdx, rbx
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400b35f3
mov esi, dword [rsp + 0xd0]
jmp 0x1400b3667
cmp r15d, 0x26
jne 0x1400b35f3
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax + 0x18]
jmp 0x1400b366a
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400b3860
mov rdi, rax
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_
lea r8, [0x14010e098]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCopyException_void____ptr64__void_const____ptr64__void_const____ptr64_
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
lea rax, vtable.std::exception.0
mov qword [rdi], rax
lea rcx, [rdi + 8]
call sub.VCRUNTIME140.dll___std_exception_destroy
nop
mov rax, qword [r14]
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
mov rdi, rsi
test rbx, rbx
je 0x1400b367c
mov edx, 0x30
mov rcx, rbx
call fcn.14008fc44
mov rax, rdi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400b36a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rsi, r9
mov r15, r8
mov r14, rdx
mov rbp, rcx
mov ecx, 0x30
call fcn.14008fc08
mov rbx, rax
mov qword [rsp + 0xb0], rax
xor edi, edi
test rax, rax
je 0x1400b36fc
mov qword [rax + 0x20], r14
lea rax, [0x1400b22f0]
mov qword [rbx + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
jmp 0x1400b36ff
mov rbx, rdi
mov qword [rsp + 0xb0], rbx
mov rcx, qword [rsp + 0xd0]
cmp rcx, 0xffffffffffffffff
jne 0x1400b371e
mov eax, 0xffffffff
mov ecx, eax
jmp 0x1400b3725
mov rax, rcx
shr rax, 0x20
mov dword [rbx + 0x10], ecx
mov dword [rbx + 0x14], eax
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_StartThreadpoolIo]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, esi
mov rdx, r15
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
test r12d, r12d
jne 0x1400b376d
cmp eax, 0x3e5
jne 0x1400b376d
mov rbx, rdi
jmp 0x1400b3826
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_CancelThreadpoolIo]
mov rsi, 0xffffffffffffffff
test r12d, r12d
je 0x1400b37af
mov dword [rsp + 0xd0], edi
xor r9d, r9d
lea r8, [rsp + 0xd0]
mov rdx, rbx
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400b37af
mov esi, dword [rsp + 0xd0]
jmp 0x1400b3823
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400b3860
mov rdi, rax
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_
lea r8, [0x14010e098]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCopyException_void____ptr64__void_const____ptr64__void_const____ptr64_
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
lea rax, vtable.std::exception.0
mov qword [rdi], rax
lea rcx, [rdi + 8]
call sub.VCRUNTIME140.dll___std_exception_destroy
nop
mov rax, qword [r14]
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
mov rdi, rsi
test rbx, rbx
je 0x1400b3838
mov edx, 0x30
mov rcx, rbx
call fcn.14008fc44
mov rax, rdi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400b3e70
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x48]
test al, al
jne 0x14008edeb
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x30]
mov edx, 1
add rsp, 0x20
pop rbx
jmp 0x1400b3e70
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
lea rbx, [rcx + 0x48]
mov rcx, rbx
call qword [sym.imp.CONCRT140.dll_public:_void___cdecl_Concurrency::details::_ReentrantBlockingLock::_Acquire_void____ptr64]
mov rcx, qword [rdi + 0x70]
cmp rcx, 0xffffffffffffffff
jne 0x1400b3ea1
mov rdi, rcx
jmp 0x1400b3ec1
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b3ebf
xor edx, edx
mov rax, qword [rsp + 0x30]
div rsi
mov rdi, rax
jmp 0x1400b3ec1
xor edi, edi
mov rcx, rbx
call qword [sym.imp.CONCRT140.dll_public:_void___cdecl_Concurrency::details::_ReentrantBlockingLock::_Release_void____ptr64]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b44d0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rdi, rcx
add rcx, 0x48
call qword [sym.imp.CONCRT140.dll_public:_void___cdecl_Concurrency::details::_ReentrantBlockingLock::_Acquire_void____ptr64]
mov rcx, qword [rdi + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x1400b454e
mov rax, qword [rdi + 0x20]
xor ebp, ebp
test rax, rax
je 0x1400b4528
lea edx, [rbp + 1]
mov rcx, rax
call fcn.14008fc44
mov qword [rdi + 0x20], rbp
mov qword [rdi + 0x30], rbp
mov qword [rdi + 0x38], rbp
mov qword [rdi + 0x28], rbp
mov rcx, qword [rdi + 0x70]
mov qword [rsp + 0x30], rbp
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b454e
xor edx, edx
mov rax, qword [rsp + 0x30]
div rsi
mov rsi, rax
mov qword [rdi], rax
jmp 0x1400b4555
mov rsi, 0xffffffffffffffff
lea rcx, [rdi + 0x48]
call qword [sym.imp.CONCRT140.dll_public:_void___cdecl_Concurrency::details::_ReentrantBlockingLock::_Release_void____ptr64]
nop
mov rax, rsi
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b91b0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x50
mov r14, rdx
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea ecx, [rbp + 0x20]
call fcn.14008fc08
mov rbx, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1400b9214
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
mov qword [rax], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
shr r8, 1
mov rcx, rax
call fcn.140004ab0
jmp 0x1400b9217
mov rbx, rbp
mov qword [r14], rbx
mov dword [rsp + 0x20], 1
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rcx, rax
je 0x1400b9289
sub rax, rcx
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400b923e
mov rcx, qword [rbx]
xor r8d, r8d
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
je 0x1400b92a8
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400b925a
mov rdx, qword [rbx]
mov rax, qword [rsi + 0x18]
mov rcx, qword [rbx + 0x10]
sub rcx, rax
lea rdi, [rdx + rax*2]
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsi + 0x18]
cmp qword [rbx + 0x10], rax
jb 0x1400b92a2
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 8
jb 0x1400b9285
mov rbx, qword [rbx]
mov word [rbx + rax*2], bp
mov rax, r14
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call fcn.140004850
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400b3860
lea rdx, [0x14010e098]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400cba40
Capabilities:
Read http header

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rax - 0x18], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rax - 0x18], 1
mov dword [rax + 0x18], esi
mov qword [rax - 0x20], rsi
lea rax, [rax + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x14]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edx, dword [rsp + 0x60]
mov rax, qword [rbx + 0x10]
cmp rdx, rax
ja 0x1400cbabe
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400cbab8
mov rax, qword [rbx]
mov word [rax + rdx*2], si
jmp 0x1400cbacc
xor r8d, r8d
sub rdx, rax
mov rcx, rbx
call fcn.140095d80
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400cbad9
mov r9, qword [rbx]
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r8 + 0x14]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400cbc0f
mov r9, qword [rbx + 0x18]
cmp r9, 8
jb 0x1400cbb17
mov rax, qword [rbx]
mov rcx, rax
jmp 0x1400cbb1d
mov rax, rbx
mov rcx, rbx
lea rdx, [r8 + r8]
add rax, rdx
cmp word [rcx], 0
jne 0x1400cbb9f
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x1400cbb42
cmp word [rdx], 0
jne 0x1400cbb70
add rdx, 2
cmp rdx, rax
jne 0x1400cbb33
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp r9, 8
jb 0x1400cbb52
mov rax, qword [rbx]
mov word [rax], si
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
sub rax, 2
cmp word [rax], 0
je 0x1400cbb70
sub rax, rdx
lea r8, [rax + 2]
sar r8, 1
mov rcx, rbx
call fcn.140004ab0
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
sub rax, 2
cmp word [rax], 0
jne 0x1400cbc0f
nop dword [rax]
mov rcx, rax
sub rax, 2
cmp word [rax], 0
je 0x1400cbbb0
sub rdx, rcx
mov rax, r8
cmp r9, 8
mov r9, rcx
jb 0x1400cbbd7
sub r9, qword [rbx]
add rdx, qword [rbx]
mov rcx, qword [rbx]
jmp 0x1400cbbe0
sub r9, rbx
add rdx, rbx
mov rcx, rbx
sar r9, 1
sar rdx, 1
sub rax, r9
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rcx + r9*2]
sub r8, rdx
mov qword [rbx + 0x10], r8
sub r8, r9
lea r8, [r8*2 + 2]
lea rdx, [rcx + rdx*2]
call sub.VCRUNTIME140.dll_memmove
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400cbc30
Capabilities:
Read http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1401da428]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov r12, rdx
mov r14, rcx
mov rdi, qword [r8]
mov rbx, qword [rdi + 0x58]
mov r8, qword [rbx + 8]
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x58]
call fcn.14005bb70
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
xor r15d, r15d
mov qword [rdi + 0x60], r15
mov dword [rbp - 0x40], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov edx, dword [rbp - 0x40]
test rdx, rdx
jne 0x1400cbcd1
mov qword [rbp - 0x20], rdx
mov word [rbp + rdx*2 - 0x30], r15w
jmp 0x1400cbcdd
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.140095d80
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rbx, qword [rbp - 0x30]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov r15d, eax
cmp rbx, qword [rbp - 0x38]
je 0x1400cbe3a
cmp dword [rdi], 0x22
je 0x1400cbe47
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400cbd8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cbd8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cbd8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008fc44
mov rax, qword [rsi]
mov word [rax + 0x88], r15w
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.1400cba40
nop
mov rcx, qword [rsi]
add rcx, 0x90
cmp rcx, rax
je 0x1400cbdcd
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400cbdc3
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
call fcn.140004ab0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400cbe10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cbe0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cbe0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008fc44
mov rdx, qword [rsi]
add rdx, 0x58
mov rcx, r12
call fcn.1400a9e30
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400cf5a0
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.invalid_stoi_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, str.stoi_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x1400cf390
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 0x1400cf414
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400eb3f0]
cmp byte [rcx + rax], 0
je 0x1400cf414
dec r8
sub rdx, 1
jne 0x1400cf3fa
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret