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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
xor edi, edi
mov r11, r8
mov qword [rsp + 0x48], rdi
mov edx, edi
test r9, r9
je 0x14000e7ed
mov edx, 0xc350
mov rax, r9
mov r10d, edx
cmp word [rax], di
je 0x14000e7ce
add rax, 2
sub r10, 1
jne 0x14000e7bf
mov rax, r10
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test r10, r10
je 0x14000e7e8
sub rdx, r10
jmp 0x14000e7f2
mov rdx, rdi
jmp 0x14000e7f2
mov ebx, 0x80070057
test ebx, ebx
js 0x14000e7fb
add rdx, rdx
jmp 0x14000e7fe
mov rdx, rdi
test ebx, ebx
jns 0x14000e81d
mov rcx, qword [rsp + 0x38]
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblib_ruximutils.cpp
mov r9d, ebx
mov edx, 0xbb
call fcn.140003b08
jmp 0x14000e850
add rdx, 2
xor r8d, r8d
mov dword [rsp + 0x28], edx
mov rdx, r11
mov qword [rsp + 0x20], r9
mov r9d, 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000e866
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000e87c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x30
and qword [r11 + 0x10], 0
lea rdx, [r11 + 0x20]
mov rax, r8
mov dword [rsp + 0x28], 8
mov qword [r11 - 0x18], rdx
mov r9d, 0xb
mov rdx, rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test rcx, rcx
je 0x14000e8e0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14000e8f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
and qword [r11 - 0x18], 0
mov rdi, r9
mov rsi, r8
test rdx, rdx
je 0x14000e944
lea rax, [r11 - 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov qword [r11 - 0x28], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000e999
mov rcx, qword [rsp + 0x30]
and dword [rsp + 0x50], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
mov dword [rsp + 0x58], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000e999
cmp dword [rsp + 0x50], 4
je 0x14000e997
mov ebx, 0x8007139f
jmp 0x14000e999
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000e9af
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14000e9c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov r15, r9
mov r14, r8
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 0x18], r12
mov ebx, 0x80070000
test rdx, rdx
je 0x14000ea3b
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x18]
mov qword [r11 - 0x58], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14000eb32
mov rsi, qword [rbp - 0x18]
mov dword [rbp + 0x38], r12d
mov dword [rbp + 0x30], r12d
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x38]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14000eb32
cmp dword [rbp + 0x38], 1
je 0x14000ea8c
mov edi, 0x8007139f
jmp 0x14000eb32
mov eax, dword [rbp + 0x30]
inc eax
mov dword [rbp + 0x30], eax
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140042eec
mov rbx, rax
mov qword [rbp - 8], rax
test rax, rax
jne 0x14000eac4
mov edi, 0x8007000e
jmp 0x14000eb1f
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x30]
mov dword [rbp - 0x20], eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x38]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14000eb1f
mov eax, dword [rbp + 0x30]
dec eax
mov word [rbx + rax*2], r12w
mov rdx, rbx
mov rcx, r15
call fcn.1400082d4
mov edi, r12d
test rbx, rbx
je 0x14000eb32
mov edx, 2
mov rcx, rbx
call fcn.14004243c
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14000eb47
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000eb6c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x40
and qword [r11 - 0x18], 0
lea rdx, [r11 + 8]
and dword [rsp + 0x58], 0
mov rax, r8
mov qword [r11 - 0x20], rdx
xor r8d, r8d
mov qword [r11 - 0x28], r9
mov rdx, rax
lea r9, [r11 + 0x10]
mov dword [rsp + 0x50], 8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000ebdf
mov eax, dword [rsp + 0x58]
add eax, 0xfffffffd
test eax, 0xfffffff7
jne 0x14000ebd6
cmp dword [rsp + 0x50], 8
je 0x14000ebdd
mov ebx, 0x8007139f
jmp 0x14000ebdf
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000ebf5
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x140012728
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 0x140012759
mov r9, r8
not r9
mov rdx, r9
mov rcx, r8
call fcn.140012450
test eax, eax
je 0x14001295d
mov edx, 0x40
call fcn.140012450
test eax, eax
je 0x14001295d
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14001295d
movsxd rax, dword [0x14000003c]
cmp rax, r9
jae 0x14001295d
lea rcx, [rax + r8]
mov edx, 0x108
call fcn.140012450
test eax, eax
je 0x14001295d
cmp dword [rcx], 0x4550
jne 0x14001295d
movzx eax, word [rcx + 0x14]
cmp rax, r9
jae 0x14001295d
add rcx, 0x18
mov edx, 0x10b
cmp word [rcx], dx
jne 0x140012802
cmp rax, 0x60
jb 0x14001295d
mov edx, 0xe0
call fcn.140012450
test eax, eax
je 0x14001295d
mov eax, dword [rcx + 0x5c]
add rcx, 0x70
jmp 0x140012833
mov edx, 0x20b
cmp word [rcx], dx
jne 0x14001295d
cmp rax, 0x70
jb 0x14001295d
mov edx, 0xf0
call fcn.140012450
test eax, eax
je 0x14001295d
mov eax, dword [rcx + 0x6c]
sub rcx, 0xffffffffffffff80
cmp eax, 2
jbe 0x14001295d
mov eax, dword [rcx]
mov edx, dword [rcx + 4]
test rax, rax
je 0x14001295d
test rdx, rdx
je 0x14001295d
lea rdi, [rax + r8]
test rdi, rdi
je 0x14001295d
mov rcx, rdi
call fcn.140012450
test eax, eax
je 0x14001295d
mov ebp, 0x10
cmp rdx, rbp
jb 0x14001295d
movzx ebx, word [rdi + 0xe]
test rbx, rbx
je 0x14001295d
movzx ecx, word [rdi + 0xc]
lea r14d, [rbp - 8]
add rcx, 2
mov rsi, r11
lea rcx, [rdi + rcx*8]
test rbx, rbx
je 0x1400128c3
mov rdx, r14
call fcn.140012450
test eax, eax
je 0x14001295d
cmp word [rcx], bp
je 0x1400128c3
add rcx, r14
inc rsi
cmp rsi, rbx
jb 0x1400128a3
cmp rsi, rbx
je 0x14001295d
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x140012945
mov esi, 0x7fffffff
mov rdx, rbp
and rbx, rsi
add rbx, rdi
mov rcx, rbx
call fcn.140012450
test eax, eax
je 0x14001295d
cmp word [rbx + 0xe], r11w
jne 0x1400128fb
cmp word [rbx + 0xc], r11w
je 0x14001295d
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.140012450
test eax, eax
je 0x14001295d
mov ebx, dword [rcx + 4]
test ebx, ebx
jns 0x140012945
and rbx, rsi
mov rdx, rbp
add rbx, rdi
mov rcx, rbx
call fcn.140012450
test eax, eax
je 0x14001295d
cmp word [rbx + 0xe], r11w
jne 0x140012935
cmp word [rbx + 0xc], r11w
je 0x14001295d
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.140012450
test eax, eax
je 0x14001295d
mov ecx, dword [rcx + 4]
mov rdx, rbp
add rcx, rdi
call fcn.140012450
test eax, eax
je 0x14001295d
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 0x140013558
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14005e0f0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov rbx, rcx
movdqa xmm0, xmmword [0x14004da30]
movdqu xmmword [rbp + 0x27], xmm0
xor r14d, r14d
mov word [rbp + 0x17], r14w
lea rdx, str._OneSettings__IsTimeToRequery
lea rcx, [rbp + 0x17]
call fcn.1400082d4
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae r8, qword [rbp + 0x17]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140009b0c
nop
mov byte [rsi], r14b
xor eax, eax
mov qword [rbp - 0x21], rax
movdqa xmm0, xmmword [0x14004da30]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r14w
lea rdx, str._OneSettings__GetNextRefreshTime
lea rcx, [rbp - 9]
call fcn.1400082d4
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r8, qword [rbp - 9]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140009b0c
nop
mov edi, r14d
mov dword [rbp - 0x29], 8
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 0x48]
lea r8, str.RefreshAfter
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14001366a
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r8, qword [rbp - 9]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140009b0c
lea rcx, [rbp - 9]
call fcn.140008164
cmp edi, 0x80070002
jne 0x14001369c
mov byte [rsi], 1
jmp 0x1400136cd
test edi, edi
js 0x1400136d0
mov qword [rbp - 0x29], r14
lea rcx, [rbp - 0x29]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov eax, dword [rbp - 0x25]
mov dword [rbp - 0x15], eax
mov eax, dword [rbp - 0x29]
mov dword [rbp - 0x19], eax
mov rax, qword [rbp - 0x21]
cmp qword [rbp - 0x19], rax
seta al
mov byte [rsi], al
mov edi, r14d
lea rax, str.True
lea r8, str.False
cmp byte [rsi], r14b
cmovne r8, rax
lea rdx, str._OneSettings__Time_to_requery_:__s
mov ecx, edi
call fcn.140009b0c
nop
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae r8, qword [rbp + 0x17]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140009b0c
lea rcx, [rbp + 0x17]
call fcn.140008164
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140041d90
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400146c4
Capabilities:
Read http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov rax, qword [0x14005e0f0]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r12, r9
mov rsi, r8
mov r15d, edx
mov r14, rcx
movdqa xmm0, xmmword [0x14004da30]
movdqu xmmword [rbp - 0x28], xmm0
xor r13d, r13d
mov word [rbp - 0x38], r13w
lea rdx, str._OneSettings__GetHeaderFromRequest
lea rcx, [rbp - 0x38]
call fcn.1400082d4
lea r8, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae r8, qword [rbp - 0x38]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140009b0c
nop
mov ebx, r13d
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rsi
mov edx, r15d
mov rcx, qword [r14 + 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
nop dword [rax + rax]
test eax, eax
jne 0x1400147a2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
je 0x1400147a2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebx, 0x80004005
test ecx, ecx
cmovs ebx, ecx
mov ecx, dword [rbp - 0x48]
lea rdx, [0x14005ec11]
call fcn.140042ef8
mov rdi, rax
mov eax, 0x8007000e
test rdi, rdi
cmove ebx, eax
test ebx, ebx
js 0x140014819
mov word [rdi], r13w
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov edx, r15d
mov rcx, qword [r14 + 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
nop dword [rax + rax]
test eax, eax
jne 0x140014819
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov ebx, 0x80004005
test edx, edx
cmovs ebx, edx
mov rdx, rdi
mov rcx, r12
call fcn.140011c08
mov r9, rdi
mov r8, rsi
lea rdx, str._OneSettings__GetHeaderFromRequest_:_headerName__s___headerValue__s
mov ecx, ebx
call fcn.140009b0c
mov rcx, rdi
call fcn.14004243c
lea r8, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae r8, qword [rbp - 0x38]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140009b0c
lea rcx, [rbp - 0x38]
call fcn.140008164
mov eax, ebx
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140041d90
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140014cf8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14005e0f0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
movdqa xmm0, xmmword [0x14004da30]
movdqu xmmword [rbp + 0x17], xmm0
xor r15d, r15d
mov word [rbp + 7], r15w
lea rdx, str._OneSettings__SaveHeaderToRegistry
lea rcx, [rbp + 7]
call fcn.1400082d4
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140009b0c
nop
mov edi, r15d
mov qword [rbp - 9], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, 0x80070000
test eax, eax
je 0x140014dca
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
test edi, edi
js 0x140014e12
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r15w
jne 0x140014dce
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140014e12
movzx edi, ax
or edi, ebx
test eax, eax
cmovle edi, eax
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140014e27
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140009b0c
lea rcx, [rbp + 7]
call fcn.140008164
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140041d90
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140031f44
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rsi, rdx
mov rbx, rcx
and dword [rcx + 8], 0
lea rax, vtable.std::time_get_unsigned_short_int__class_std::istreambuf_iterator_unsigned_short_int__struct_std::char_traits_unsigned_short_int___.0
mov qword [rcx], rax
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
mov qword [r11 + 0x10], rcx
lea rcx, [r11 - 0x50]
call fcn.140029ed4
lea rbp, [rbx + 0x2c]
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rbp + 0x20], xmm0
mov eax, dword [rax + 0x28]
mov dword [rbp + 0x28], eax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__Getdays]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140031fe4
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.14000d0d4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rcx, [0x14004d560]
cmp qword [rsi + 8], 0
cmovne rcx, qword [rsi + 8]
mov r8, rbp
call fcn.14002f41c
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__Getmonths]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140032030
lea rcx, [rsi + 0x18]
mov rdx, rax
call fcn.14000d0d4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rcx, str.:Jan:January:Feb:February:Mar:March:Apr:April:May:May:Jun:June:Jul:July:Aug:August:Sep:September:Oct:October:Nov:November:Dec:December
cmp qword [rsi + 0x18], 0
cmovne rcx, qword [rsi + 0x18]
mov r8, rbp
call fcn.14002f41c
mov qword [rbx + 0x18], rax
mov r8, rbp
lea rcx, [0x14004d830]
call fcn.14002f41c
mov qword [rbx + 0x20], rax
and dword [rsp + 0x90], 0
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o____lc_locale_name_func]
nop dword [rax + rax]
mov edi, 2
mov r9d, edi
lea r8, [rsp + 0x90]
lea edx, [rdi + 0x20]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
nop dword [rax + rax]
mov eax, dword [rsp + 0x90]
cmp ax, 0x30
je 0x1400320bd
cmp ax, 0x31
jne 0x1400320b1
mov edi, 1
jmp 0x1400320bd
xor edi, edi
lea ecx, [rdi + 3]
cmp ax, 0x32
cmove edi, ecx
mov dword [rbx + 0x28], edi
mov rax, rbx
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035704
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
and dword [rcx + 8], 0
lea rax, vtable.std::time_get_wchar_t__class_std::istreambuf_iterator_wchar_t__struct_std::char_traits_wchar_t___.0
mov qword [rcx], rax
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
mov qword [r11 + 0x10], rcx
lea rcx, [r11 - 0x50]
call fcn.140029ed4
movups xmm0, xmmword [rax]
movups xmmword [rbx + 0x2c], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x3c], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rbx + 0x4c], xmm0
mov eax, dword [rax + 0x28]
mov dword [rbx + 0x54], eax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__W_Getdays]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14003579c
lea rcx, [rsi + 0x28]
mov rdx, rax
call fcn.14002ca54
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rcx, str.:Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:Wednesday:Thu:Thursday:Fri:Friday:Sat:Saturday
cmp qword [rsi + 0x28], 0
cmovne rcx, qword [rsi + 0x28]
call fcn.14002a398
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__W_Getmonths]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x1400357e5
lea rcx, [rsi + 0x38]
mov rdx, rax
call fcn.14002ca54
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
lea rcx, [0x14004d5c0]
cmp qword [rsi + 0x38], 0
cmovne rcx, qword [rsi + 0x38]
call fcn.14002a398
mov qword [rbx + 0x18], rax
lea rcx, str.:AM:am:PM:pm
call fcn.14002a398
mov qword [rbx + 0x20], rax
and dword [rsp + 0x90], 0
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o____lc_locale_name_func]
nop dword [rax + rax]
mov edi, 2
mov r9d, edi
lea r8, [rsp + 0x90]
lea edx, [rdi + 0x20]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
nop dword [rax + rax]
mov eax, dword [rsp + 0x90]
cmp ax, 0x30
je 0x14003586c
cmp ax, 0x31
jne 0x140035860
mov edi, 1
jmp 0x14003586c
xor edi, edi
lea ecx, [rdi + 3]
cmp ax, 0x32
cmove edi, ecx
mov dword [rbx + 0x28], edi
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x140041db8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14005e6c0], eax
call fcn.1400425d0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x14005e6c0], 0
jne case.default.0x140041e0e
mov ecx, 1
call fcn.1400425d0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
sbb al, 0x96
mov ebp, 0x817dafe0
add byte [rdi + riz*8 - 0x11b2bcbd], cl
invalid
mov ch, bh
popfq
loopne 0x1400a2b8f
invalid
sbb eax, 0xb6b24b48
xor eax, edi
or dword [rbp + 0x27], edi
lodsb al, byte [rsi]
js 0x1400a2bb8
invalid