joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001943c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400306f8], rbx
je 0x1400194a3
cmp rax, rbx
jne 0x140019496
mov ebx, 1
mov esi, ebx
jmp 0x1400194a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001947b
mov ebx, 1
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x1400194c0
mov edi, 0x1f
mov ecx, edi
call fcn.1400c2000
jmp 0x14001952c
mov eax, dword [0x140030700]
test eax, eax
jne 0x140019521
mov dword [0x140030700], ebx
lea r15, [0x14001dcb8]
lea rdi, [0x14001dca0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140019513
test eax, eax
jne 0x140019517
cmp qword [rdi], r14
je 0x140019508
mov rax, qword [rdi]
mov rcx, qword [0x14001dc18]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400194ea
test eax, eax
je 0x140019527
mov eax, 0xff
jmp 0x140019682
mov dword [0x14002ffb4], ebx
mov edi, 0x1f
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x140019553
lea rdx, [0x14001dc98]
lea rcx, [0x14001dc20]
call sub.msvcrt.dll__initterm
mov dword [0x140030700], 2
test esi, esi
jne 0x140019561
mov rax, r14
xchg qword [0x1400306f8], rax
cmp qword [0x140030718], r14
je 0x140019594
lea rcx, [0x140030718]
call fcn.140019a50
test eax, eax
je 0x140019594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140030718]
mov r9, qword [0x14001dc18]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400195ad
mov eax, 0xff
jmp 0x140019682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140019633
test ax, ax
je 0x1400195c8
test edx, edx
jne 0x140019633
sub ax, bx
cmp ax, di
ja 0x1400195de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400195c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003e4c
mov dword [0x14002ffb0], eax
cmp dword [0x14002ffd0], r14d
jne 0x14001961c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002ffb4], r14d
jne 0x140019631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ffb0]
jmp 0x140019682
cmp ax, 0x22
jne 0x140019647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400195b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140019ad0
add rsp, 0x28
jmp 0x14001943c
Function at 0x140019960
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400199ac
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400199a4
cmp dword [rcx + 0x3c], edx
jl 0x1400199a4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400199a4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400199ac
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14001a294
Capabilities:
Print debug messages

Disassembly:
jmp 0x14001a29c
push rbx
sub rsp, 0x540
mov rax, qword [0x14002ff78]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14001a319
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlVirtualUnwind]
jmp 0x14001a339
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400196d0
add rsp, 0x540
pop rbx
ret

Function at 0x14001a29c
Capabilities:
Print debug messages

Disassembly:
jmp 0x14001a29c
push rbx
sub rsp, 0x540
mov rax, qword [0x14002ff78]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14001a319
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlVirtualUnwind]
jmp 0x14001a339
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400196d0
add rsp, 0x540
pop rbx
ret
Function at 0x1400113cf
Capabilities:
Terminate process

Disassembly:
jmp 0x140018ce0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x14001146f
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140014ca0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x140025040]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x14002b0f6]
call fcn.1400116b8
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.140011339
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x140014d69
mov dword [rbp + 0x50], 0x238
lea rax, [rbp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.14001142e
test eax, eax
je 0x140014d5e
mov rdx, qword [rbp + 0x440]
lea rcx, [rbp + 0x7c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x140014d4d
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x140014d5e
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.14001161d
test eax, eax
jne 0x140014d30
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140020e80]
call fcn.1400115dc
mov eax, edi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.140011352
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret

Function at 0x1400114dd
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001a030
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001a050
xor al, al
jmp 0x14001a0d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001a063
xor al, al
jmp 0x14001a0d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001a08d
xor al, al
jmp 0x14001a0d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001a0a1
xor al, al
jmp 0x14001a0d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001a0b3
xor al, al
jmp 0x14001a0d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001a0cf
xor al, al
jmp 0x14001a0d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140017e30
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400116ea
movzx eax, al
test eax, eax
jne 0x140017e50
mov ecx, 7
call fcn.1400115e6
nop
mov byte [rsp + 0x20], 0
call fcn.140011613
mov byte [rsp + 0x21], al
cmp dword [0x140025b78], 1
jne 0x140017e74
mov ecx, 7
call fcn.1400115e6
nop
jmp 0x140017ecc
cmp dword [0x140025b78], 0
jne 0x140017ec7
mov dword [0x140025b78], 1
lea rdx, [0x140020660]
lea rcx, [0x140020330]
call fcn.140011334
test eax, eax
je 0x140017ea8
mov eax, 0xff
jmp 0x140017fd1
lea rdx, [0x140020220]
lea rcx, [section..rdata]
call fcn.1400115ff
mov dword [0x140025b78], 2
jmp 0x140017ecc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400115d2
call fcn.140011505
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140017f29
mov rcx, qword [rsp + 0x30]
call fcn.1400112b7
movzx eax, al
test eax, eax
je 0x140017f29
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002c020]
nop
call fcn.140011550
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140017f5d
mov rcx, qword [rsp + 0x38]
call fcn.1400112b7
movzx eax, al
test eax, eax
je 0x140017f5d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011695
nop
call fcn.140018080
mov dword [rsp + 0x28], eax
call fcn.1400114dd
movzx eax, al
test eax, eax
jne 0x140017f7c
mov ecx, dword [rsp + 0x28]
call fcn.140011096
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140017f8b
call fcn.1400116a9
nop
xor edx, edx
mov cl, 1
call fcn.140011280
mov eax, dword [rsp + 0x28]
jmp 0x140017fd1
add rsp, 0x68
ret
Function at 0x1400035c0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov word [rsp + 0x6c], 0x500
lea rax, [rsp + 0x60]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
mov r8d, 0x20
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000364d
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140003642
mov dword [rsp + 0x70], ebx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x70], 1
je 0x140003689
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Please_run_the_program_as_an_administrator.
call fcn.140003e40
lea rdx, [0x140004010]
mov rcx, rax
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]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
jmp 0x140003690
call fcn.140002d20
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140004740
add rsp, 0x80
pop rbx
ret

Function at 0x1400052fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005346
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005346
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005346
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005346
cmp dword [rcx + 0x84], 0xe
jbe 0x140005346
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005348
xor al, al
add rsp, 0x28
ret
Function at 0x141878058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1418781df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141878089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14187806f
add dl, dl
jne 0x141878096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418780f6
xor eax, eax
add dl, dl
jne 0x1418780a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418781ad
add dl, dl
jne 0x1418780b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418780c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418780d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418780dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1418780ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14187807e
mov eax, 1
add dl, dl
jne 0x141878106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141878113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1418780fb
sub eax, ebx
mov ebx, 1
jne 0x14187814c
mov ecx, 1
add dl, dl
jne 0x14187812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14187813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141878123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14187807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141878168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141878175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14187815d
cmp eax, 0x7d00
jae 0x14187819b
cmp eax, 0x500
jb 0x141878196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14187807e
cmp eax, 0x7f
ja 0x14187819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14187807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1418781d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14187807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002da4
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x20
and qword [rbp + 0x30], 0
mov rdi, rdx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoImpersonateClient]
mov ebx, eax
test eax, eax
js 0x1400371d4
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.1400094b8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
mov edx, SafeArrayGetDim
lea r9, [rbp + 0x30]
mov rcx, rax
lea r8d, [rdx - 0xb]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
test eax, eax
je 0x1400371f0
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
and qword [rbp + 0x38], 0
lea rdx, [rbp + 0x38]
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertStringSidToSidW]
test eax, eax
je 0x14003721b
mov rdx, qword [rbp + 0x38]
lea r8, [rbp + 0x20]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
test eax, eax
je 0x140037222
cmp dword [rbp + 0x20], 0
je 0x14003723e
xor edi, edi
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140002e4f
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov rcx, qword [rbp + 0x30]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140002e63
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, edi
add rsp, 0x20
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_search_search_api_apisrcwsstoreregistrationendpoint.cxx
mov r9d, ebx
mov edx, 0x1c5
call fcn.1400025a0
mov edi, ebx
jmp 0x140037207
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_search_search_api_apisrcwsstoreregistrationendpoint.cxx
mov edx, 0x1c7
call fcn.140048770
mov edi, eax
test ebx, ebx
js 0x140002e4f
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
nop
jmp 0x140002e4f
mov edx, 0x1cb
jmp 0x140037227
mov edx, 0x1ce
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_search_search_api_apisrcwsstoreregistrationendpoint.cxx
call fcn.140048770
mov edi, eax
jmp 0x140002e40
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_search_search_api_apisrcwsstoreregistrationendpoint.cxx
mov edi, 0x80070005
mov edx, 0x1d0
mov r9d, edi
call fcn.1400025a0
nop
jmp 0x140002e40
Function at 0x1400098dc
Capabilities:
Allocate thread local storage
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebx, ebx
mov r14, rcx
cmp dword [0x1400c9190], 0xffffffff
je 0x140009949
mov eax, dword [0x1400c9190]
mov dword [r14], eax
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002dd40
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
lea r8, str.ComTaskPool:_d
mov edx, 0x104
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.140009728
mov ebx, eax
test eax, eax
js 0x140009914
cmp dword [0x1400c9190], 0xffffffff
jne 0x140009914
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov rdi, rax
test rax, rax
je 0x1400374b4
and dword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSemaphore]
test eax, eax
je 0x14003749e
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x20]
mov dword [0x1400c9190], eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test ebx, ebx
jns 0x14000996e
jmp 0x140009914
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12a
je 0x14000999a
jmp 0x1400099ca
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
jne 0x1400374ff
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
mov edi, eax
cmp eax, 0xffffffff
je 0x1400374ff
lea r8d, [rax + 1]
mov edx, eax
lea r9, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_1.dll_CreateSemaphoreW]
mov rsi, rax
test rax, rax
je 0x140037516
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
je 0x14003750b
mov dword [0x1400c9190], edi
jmp 0x1400099d3
call fcn.14001e36c
mov ebx, eax
jmp 0x1400099d3
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x14003751d
call fcn.14001e36c
mov ebx, eax
mov ecx, edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsFree]
nop
jmp 0x1400099d3
Function at 0x14000aa20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rdi, str.SOFTWAREMicrosoftWindows_Search
mov dword [rsp + 0x44], 4
xor ebx, ebx
lea r8, [rsp + 0x50]
mov rdx, rdi
mov dword [rsp + 0x40], ebx
mov rcx, 0xffffffff80000002
call fcn.14000aad0
test al, al
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x44]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 0x10]
lea rax, [rsp + 0x40]
cmove rdx, rdi
mov qword [rsp + 0x28], rax
lea r8, str.PerVolumeCatalogs
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x140037878
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002dd40
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
cmp dword [rsp + 0x40], ebx
mov ecx, 1
movzx eax, bl
cmovne eax, ecx
mov bl, al
jmp 0x14000aaac
Function at 0x14000b418
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.14000b4bc
mov ebx, eax
test eax, eax
js 0x14000b4a7
xor edx, edx
xor ecx, ecx
mov r9d, 0x1f0003
lea r8d, [rdx + 1]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventExW]
mov qword [rdi + 0x38], rax
test rax, rax
je 0x140037a2e
lock inc dword [0x1400cb668]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14000702c.0]
lea rax, [rsp + 0x48]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x140009870]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov rsi, rax
test rax, rax
je 0x140037a42
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call fcn.14001e36c
mov ebx, eax
test eax, eax
js 0x14000b4a7
jmp 0x14000b456
call fcn.14001e36c
mov ebx, eax
test eax, eax
jns 0x14000b49e
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x14000702c.0]
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
and qword [rdi + 0x48], 0
lock dec dword [0x1400cb668]
jmp 0x14000b4a7
Function at 0x140017b10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rdi, r8
xor ecx, ecx
mov rsi, rdx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov rcx, qword [rbx + 0xb0]
mov dword [rsp + 0x50], 4
test rcx, rcx
je 0x140017b9b
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x30]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140017b8f
cmp dword [rsp + 0x68], 4
jne 0x140017b8f
mov eax, dword [rsp + 0x30]
mov dword [rdi], eax
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x140017b7f
mov ecx, 6
jmp 0x140017b91