joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010f80
Capabilities:
Parse pe header

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 r14
sub rsp, 0x20
xor r11d, r11d
lea r8, [0x140000000]
mov r9, rdx
test rdx, rdx
jne 0x140010fb1
mov r9, r8
not r9
mov rdx, r9
mov rcx, r8
call fcn.140010cd4
test eax, eax
je 0x1400111b5
mov edx, 0x40
call fcn.140010cd4
test eax, eax
je 0x1400111b5
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400111b5
movsxd rax, dword [0x14000003c]
cmp rax, r9
jae 0x1400111b5
lea rcx, [rax + r8]
mov edx, 0x108
call fcn.140010cd4
test eax, eax
je 0x1400111b5
cmp dword [rcx], 0x4550
jne 0x1400111b5
movzx eax, word [rcx + 0x14]
cmp rax, r9
jae 0x1400111b5
add rcx, 0x18
mov edx, 0x10b
cmp word [rcx], dx
jne 0x14001105a
cmp rax, 0x60
jb 0x1400111b5
mov edx, 0xe0
call fcn.140010cd4
test eax, eax
je 0x1400111b5
mov eax, dword [rcx + 0x5c]
add rcx, 0x70
jmp 0x14001108b
mov edx, 0x20b
cmp word [rcx], dx
jne 0x1400111b5
cmp rax, 0x70
jb 0x1400111b5
mov edx, 0xf0
call fcn.140010cd4
test eax, eax
je 0x1400111b5
mov eax, dword [rcx + 0x6c]
sub rcx, 0xffffffffffffff80
cmp eax, 2
jbe 0x1400111b5
mov eax, dword [rcx]
test rax, rax
je 0x1400111b5
mov edx, dword [rcx + 4]
test rdx, rdx
je 0x1400111b5
lea rdi, [rax + r8]
test rdi, rdi
je 0x1400111b5
mov rcx, rdi
call fcn.140010cd4
test eax, eax
je 0x1400111b5
mov ebp, 0x10
cmp rdx, rbp
jb 0x1400111b5
movzx ebx, word [rdi + 0xe]
test rbx, rbx
je 0x1400111b5
movzx ecx, word [rdi + 0xc]
lea r14d, [rbp - 8]
add rcx, 2
mov rsi, r11
lea rcx, [rdi + rcx*8]
test rbx, rbx
je 0x14001111b
mov rdx, r14
call fcn.140010cd4
test eax, eax
je 0x1400111b5
cmp word [rcx], bp
je 0x14001111b
add rcx, r14
inc rsi
cmp rsi, rbx
jb 0x1400110fb
cmp rsi, rbx
je 0x1400111b5
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x14001119d
mov esi, 0x7fffffff
mov rdx, rbp
and rbx, rsi
add rbx, rdi
mov rcx, rbx
call fcn.140010cd4
test eax, eax
je 0x1400111b5
cmp word [rbx + 0xe], r11w
jne 0x140011153
cmp word [rbx + 0xc], r11w
je 0x1400111b5
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.140010cd4
test eax, eax
je 0x1400111b5
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x14001119d
and rbx, rsi
mov rdx, rbp
add rbx, rdi
mov rcx, rbx
call fcn.140010cd4
test eax, eax
je 0x1400111b5
cmp word [rbx + 0xe], r11w
jne 0x14001118d
cmp word [rbx + 0xc], r11w
je 0x1400111b5
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.140010cd4
test eax, eax
je 0x1400111b5
mov ecx, dword [rcx + 4]
mov rdx, rbp
add rcx, rdi
call fcn.140010cd4
test eax, eax
je 0x1400111b5
mov r11d, dword [rcx]
add r11, r8
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140011728
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
mov rsi, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
lea rdx, str.SoftwareMicrosoftOneSettingsOffline
mov r9d, 0xf003f
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x10]
test eax, eax
sete r15b
test rcx, rcx
je 0x14001177e
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdx, qword [rsi + 0x20]
lea r8, str.RefreshAfter
mov rcx, qword [rsi + 0x70]
xor eax, eax
mov qword [rbp - 8], rax
xor r14d, r14d
lea rax, [rbp + 0x38]
mov dword [rbp + 0x38], 8
mov qword [rsp + 0x30], rax
xor edi, edi
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
lea r9d, [r14 + 0x48]
and qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x1400117d2
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
cmp edi, 0x80070002
jne 0x1400117e0
xor edi, edi
xor ebx, ebx
jmp 0x14001182c
test edi, edi
js 0x14001180e
xor eax, eax
lea rcx, [rbp + 0x40]
mov qword [rbp + 0x40], rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
mov eax, dword [rbp + 0x44]
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x40]
mov dword [rbp + 0x48], eax
mov rax, qword [rbp - 8]
cmp qword [rbp + 0x48], rax
seta r14b
xor edi, edi
mov ebx, edi
test edi, edi
jns 0x140011822
lea rdx, str.OneSettings_IsTimeToRequery_failed
mov ecx, edi
call fcn.14000dde0
cmp r14d, 1
jne 0x1400118be
test r15b, r15b
jne 0x1400118be
lea rdx, str.OneSettings_requery_is_TRUE
mov ecx, edi
call fcn.14000dff8
test edi, edi
js 0x1400118c3
cmp qword [rsi + 0x78], 0
je 0x140011862
cmp qword [rsi + 0x80], 0
je 0x140011862
cmp qword [rsi + 0x88], 0
jne 0x14001187c
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.140011ed8
mov ebx, eax
test eax, eax
jns 0x14001187c
lea rdx, str.OneSettings_OpenWebRequest_failed
jmp 0x140011895
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.1400125e8
mov ebx, eax
cmp eax, 1
jbe 0x14001189e
lea rdx, str.OneSettings_GetCloudSettings_failed
mov ecx, eax
call fcn.14000dde0
jmp 0x1400118c3
mov rcx, rsi
call fcn.140012bd8
mov ebx, eax
test eax, eax
jns 0x1400118c3
lea rdx, str.OneSettings_UpdateNextRefreshTime_failed
mov ecx, eax
call fcn.14000dde0
xor ebx, ebx
jmp 0x1400118c3
mov ebx, 1
mov rcx, rsi
call fcn.140013718
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011ed8
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
mov eax, 0x1050
call fcn.1400205f0
sub rsp, rax
mov rax, qword [0x1400363c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
call fcn.140012d88
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x1000
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rcx, qword [rdi + 0x18]
xor r9d, r9d
and dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rdi + 0x78], rax
mov r14d, 0x80070000
test rax, rax
jne 0x140011f67
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
mov ebx, 0x80004005
or ecx, r14d
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs ebx, ecx
test ebx, ebx
js 0x140012065
mov rcx, qword [rdi + 0x78]
mov edx, 0x2710
mov r9d, edx
mov dword [rsp + 0x20], edx
mov r8d, edx
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x140011f9f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
mov ebx, 0x80004005
or ecx, r14d
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs ebx, ecx
test ebx, ebx
js 0x140012065
mov rcx, qword [rdi + 0x78]
mov r8d, 0x1bb
xor r9d, r9d
mov rdx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rdi + 0x80], rax
test rax, rax
jne 0x140011fe4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
mov ebx, 0x80004005
or ecx, r14d
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs ebx, ecx
test ebx, ebx
js 0x140012065
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14001208c
lea r8, [rsp + 0x40]
xor ecx, ecx
lea rdx, str.The_following_query_string_will_be_used:__s
mov ebx, eax
call fcn.14000dff8
test ebx, ebx
js 0x140012065
mov rcx, qword [rdi + 0x80]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x30], 0x800000
lea rdx, [0x140027258]
and qword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rdi + 0x88], rax
test rax, rax
jne 0x140012065
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
mov ebx, 0x80004005
or ecx, r14d
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs ebx, ecx
mov eax, ebx
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14001f340
mov rbx, qword [rsp + 0x1080]
add rsp, 0x1050
pop r14
pop rdi
pop rsi
ret
Function at 0x14001247c
Capabilities:
Receive http response

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x48
mov qword [rax - 0x38], 0xfffffffffffffffe
xor ebx, ebx
and dword [rax + 0x18], ebx
lea edi, [rbx + 0xa]
mov eax, edi
dec edi
mov dword [rsp + 0x20], edi
test eax, eax
jle 0x1400125a5
mov r14, qword [rsp + 0x70]
lea rdx, [rsp + 0x80]
mov rcx, qword [r14 + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1400124f1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebx, 0x80004005
test ecx, ecx
cmovs ebx, ecx
jmp 0x1400125a5
mov r8d, dword [rsp + 0x80]
mov ecx, ebx
test r8d, r8d
je 0x140012599
lea rdx, str.You_are_reading__d_bytes
call fcn.14000dff8
mov ecx, dword [rsp + 0x80]
inc ecx
lea rdx, [0x140036e60]
call fcn.1400203c8
mov rsi, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x140012539
mov ebx, 0x8007000e
jmp 0x1400125a5
lea r9, [rsp + 0x80]
mov r8d, dword [rsp + 0x80]
mov rdx, rsi
mov rcx, qword [r14 + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400124ce
mov eax, dword [rsp + 0x80]
mov byte [rax + rsi], 0
mov rdx, rsi
mov rcx, qword [rsp + 0x78]
call fcn.1400143d0
nop
jmp 0x14001258c
mov rcx, rsi
call fcn.14001fe5c
jmp 0x1400124a0
lea rdx, str.You_have_completed_reading_as_dataSize_is_0
call fcn.14000dff8
test edi, edi
jne 0x1400125c9
cmp dword [rsp + 0x80], edi
jbe 0x1400125c9
mov ebx, 0x8000ffff
lea r8d, [rdi + 0xa]
lea rdx, str.You_exceeded_the_maximum_number_of_reads_of__d._Something_is_probably_wrong_creating_a_read_loop_or_data_in_OneSettings_too_large
mov ecx, ebx
call fcn.14000dff8
test ebx, ebx
je 0x1400125db
lea rdx, str.An_error_occurrred_during_the_read_of_OneSettings_data
mov ecx, ebx
call fcn.14000dff8
mov eax, ebx
add rsp, 0x48
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400129f8
Capabilities:
Read http header

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
lea rax, [r11 + 8]
mov r15, r9
mov qword [r11 - 0x30], rbx
mov r13, r8
mov qword [r11 - 0x38], rax
mov r12, rdx
mov rsi, rcx
mov rcx, qword [rcx + 0x88]
lea edx, [rbx + 0x36]
xor r9d, r9d
xor r8d, r8d
mov edi, ebx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ebp, 0x80070000
test eax, eax
jne 0x140012a74
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x7a
je 0x140012a74
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
mov edi, 0x80004005
or ecx, ebp
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs edi, ecx
mov ecx, dword [rsp + 0x60]
lea rdx, [0x140036e60]
call fcn.1400203c8
mov r14, rax
mov eax, 0x8007000e
test r14, r14
cmove edi, eax
test edi, edi
js 0x140012ade
xor r8d, r8d
mov word [r14], bx
mov rcx, qword [rsi + 0x88]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov r9, r14
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x36]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140012ade
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
mov edi, 0x80004005
or ecx, ebp
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs edi, ecx
mov rdx, r14
mov rcx, r12
call fcn.1400105a0
mov rax, qword [r12]
or rbp, 0xffffffffffffffff
test rax, rax
jne 0x140012afa
mov esi, ebx
jmp 0x140012b1b
mov rsi, rbp
inc rsi
cmp word [rax + rsi*2], bx
jne 0x140012afd
mov eax, esi
cmp rax, rsi
je 0x140012b1b
mov ecx, 0x216
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
or esi, 0xffffffff
cmp qword [r15], rbx
je 0x140012b2c
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [r15], rbx
mov eax, esi
lea rcx, [rax + rax]
cmp rcx, rax
jbe 0x140012b5b
mov esi, ecx
cmp rsi, rcx
jne 0x140012b5b
mov ecx, esi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov qword [r15], rax
test rax, rax
je 0x140012b5b
mov r8d, esi
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
test edi, edi
js 0x140012bae
mov rax, qword [r12]
test rax, rax
je 0x140012b8a
inc rbp
cmp word [rax + rbp*2], bx
jne 0x140012b68
mov eax, ebp
cmp rax, rbp
je 0x140012b88
mov ecx, 0x216
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
or ebx, 0xffffffff
jmp 0x140012b8a
mov ebx, ebp
mov r9, qword [r15]
lea rdx, str._lu:_s
mov r8, r13
mov dword [rsp + 0x20], ebx
mov rcx, r14
call fcn.140020378
cmp eax, 1
mov ecx, 0x8000ffff
cmovle edi, ecx
mov rcx, r14
call fcn.14001fe5c
mov rbx, qword [rsp + 0x68]
mov eax, edi
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140012bd8
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
xor eax, eax
lea rcx, [rbp + 0x30]
mov qword [rbp + 0x30], rax
xor edi, edi
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
and qword [rsp + 0x40], rdi
xor eax, eax
and qword [rbp + 0x38], rax
xor r9d, r9d
mov eax, dword [rbp + 0x34]
xor r8d, r8d
mov rdx, qword [rbx + 0x20]
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x30]
mov dword [rbp + 0x28], eax
mov eax, dword [rbx + 0x90]
imul rcx, rax, 0x23c34600
lea rax, [rbp + 0x38]
add qword [rbp + 0x28], rcx
mov rcx, qword [rbx + 0x70]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov ebx, 0x80070000
test eax, eax
je 0x140012c65
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
js 0x140012c9e
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x28]
mov dword [rsp + 0x28], 8
lea rdx, str.RefreshAfter
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x140012c9e
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140012cad
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
add rsp, 0x50
pop rdi
pop rbx
pop rbp
ret

Function at 0x140012cb8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor esi, esi
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rsi
mov rdi, rdx
mov rdx, qword [rcx + 0x20]
xor r9d, r9d
mov rcx, qword [rcx + 0x70]
xor r8d, r8d
mov qword [r11 - 0x20], rax
mov ebx, esi
mov qword [r11 - 0x28], rsi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
mov qword [r11 + 8], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
je 0x140012d19
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140012d63
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], si
jne 0x140012d1d
mov rcx, qword [rsp + 0x60]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.ETag
mov r9d, 1
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x140012d63
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140012d73
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140012fd8
Capabilities:
Set http header

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400363c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
xor esi, esi
mov qword [rbp - 0x39], rsi
lea rdx, [rbp - 0x39]
call fcn.140019e74
mov ebx, eax
test eax, eax
jns 0x140013030
lea rdx, str.Failed_to_get_MSA_ticket
mov ecx, eax
call fcn.14000dff8
mov ebx, esi
jmp 0x140013162
lea rdx, str.Finish_get_MSA_ticket
xor ecx, ecx
call fcn.14000dff8
xor edx, edx
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
movdqa xmm0, xmmword [0x14002b0f0]
movdqu xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x17], si
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.140009b18
nop
movdqa xmm0, xmmword [0x14002b0f0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], si
lea rdx, str.Authorization:_MsaToken
lea rcx, [rbp - 0x29]
call fcn.140009b18
nop
mov rax, qword [rbp - 0x11]
mov r9, qword [rbp - 0x19]
sub rax, r9
cmp qword [rbp + 0x27], rax
jbe 0x1400130c1
mov rax, qword [rbp + 0x2f]
sub rax, qword [rbp + 0x27]
cmp rax, r9
jb 0x1400130c1
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae r8, qword [rbp - 0x29]
lea rcx, [rbp + 0x17]
call fcn.140014da8
jmp 0x1400130ce
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x29]
call fcn.140014c98
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rbp - 0x29]
call fcn.140009aa4
nop
lea rcx, [rbp + 0x17]
call fcn.140009aa4
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov r9d, 0x20000000
or r8d, 0xffffffff
mov rcx, qword [rdi]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x140013158
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebx, 0x80004005
test ecx, ecx
cmovs ebx, ecx
lea rdx, str.Failed_to_add_MSA_token_header_to_request
mov ecx, ebx
call fcn.14000dde0
lea rcx, [rbp - 9]
call fcn.140009aa4
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140013171
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14001f340
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140014030
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

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
cmp qword [r8 + 0x18], 8
mov rdi, rdx
mov r11, qword [r8 + 0x10]
mov rbx, rcx
mov r10, r8
jb 0x140014060
mov r10, qword [r8]
lea rdx, [r11 + r11]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140014093
movzx eax, byte [rcx + r10]
movabs rsi, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rsi
cmp rcx, rdx
jb 0x140014075
mov rcx, qword [rbx + 0x30]
mov r15, qword [rbx + 0x18]
and rcx, r9
mov r10, qword [rbx + 8]
mov rax, rcx
add rax, rax
lea r12, [rcx + rcx]
mov rax, qword [r15 + rax*8]
cmp qword [r15 + r12*8], r10
jne 0x1400140bb
mov rcx, r10
jmp 0x1400140c3
mov rcx, qword [r15 + r12*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140014180
cmp qword [r8 + 0x18], 8
lea rcx, [rax + 0x10]
mov rdx, r8
jb 0x1400140dd
mov rdx, qword [r8]
mov r14, qword [rcx + 0x18]
mov r9, rcx
cmp r14, 8
jb 0x1400140ed
mov r9, qword [rcx]
mov rbp, qword [rcx + 0x10]
cmp rbp, r11
jne 0x14001411e
mov rsi, rbp
test rbp, rbp
je 0x140014118
sub r9, rdx
movzx ecx, word [rdx + r9]
movzx ebx, word [rdx]
cmp cx, bx
jne 0x140014123
add rdx, 2
sub rsi, 1
jne 0x140014101
xor ecx, ecx
test ecx, ecx
je 0x14001412c
mov rax, qword [rax]
jmp 0x1400140b0
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x14001411a
lea rcx, [rax + 0x10]
cmp r14, 8
jb 0x140014139
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x140014143
mov r8, qword [r8]
cmp r11, rbp
jne 0x14001416f
test r11, r11
je 0x140014169
sub r8, rcx
movzx edx, word [rcx + r8]
movzx r9d, word [rcx]
cmp dx, r9w
jne 0x140014177
add rcx, 2
sub r11, 1
jne 0x140014150
xor ecx, ecx
test ecx, ecx
je 0x140014172
mov rax, r10
mov qword [rdi], rax
jmp 0x140014183
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x14001416b
mov qword [rdi], r10
mov rbx, qword [rsp + 0x20]
mov rax, rdi
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
pop r15
pop r14
pop r12
ret
Function at 0x140014218
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push r14
sub rsp, 0x40
and qword [rax - 0x10], 0
mov r14, r9
lea r9, [rax - 0x10]
mov rcx, 0xffffffff80000002
mov rbp, r8
xor ebx, ebx
call fcn.1400145a4
mov esi, eax
test eax, eax
jns 0x14001425b
mov ecx, eax
jmp 0x140014310
and dword [rsp + 0x50], ebx
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x14001429a
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x1400142ca
test rbx, rbx
jne 0x1400142d5
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400142ce
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14001425f
mov esi, 0x8007000e
mov ecx, esi
jmp 0x140014310
mov esi, 0x8000ffff
jmp 0x1400142ca
cmp dword [rsp + 0x30], 4
je 0x1400142e3
mov esi, 0x8007000d
jmp 0x1400142ca
xor ebp, ebp
cmp dword [rsp + 0x50], 4
je 0x1400142fc
mov esi, 0x8007000d
mov ecx, esi
mov ebp, esi
call fcn.14000e70c
jmp 0x140014301
mov eax, dword [rbx]
mov dword [r14], eax
mov ecx, ebp
call fcn.14000e728
mov esi, ebp
test ebp, ebp
jns 0x140014315
mov ecx, ebp
call fcn.14000e70c
mov ecx, esi
call fcn.14000e728
test rbx, rbx
je 0x140014335
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
cmp qword [rsp + 0x38], 0
je 0x140014348
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x1400154c4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov r10, qword [rsi + 0x10]
jb 0x1400154f7
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x140015526
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x140015508
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14001555e
cmp qword [rcx + rdx*8], rdi
jne 0x140015553
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x140015557
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14001556b
cmp qword [rcx + rdx*8], rdi
jne 0x14001556b
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x20]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.140009aa4
mov rcx, rsi
call fcn.140009aa4
mov rcx, rdi
call fcn.14001f324
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret