joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001330
Capabilities:
Delete file
Get file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x20], 0
lea rax, [r11 + 0x18]
mov qword [r11 + 0x20], rax
mov rcx, qword [rdx]
sub rcx, 0x18
call fcn.14000d070
add rax, 0x18
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x80]
call fcn.140003ed0
test al, al
jne 0x1400013f7
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x1400015a5
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rbp, str.Failure_:_File_does_not_exist
mov rdx, rbp
mov rcx, rdi
call fcn.14000cc80
mov rbx, 0xffffffffffffffff
test al, al
jne 0x1400013ea
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rbp + rax*2], 0
jne 0x1400013d0
mov r8d, eax
mov rdx, rbp
mov rcx, rdi
call fcn.14000d160
nop
mov dword [rsp + 0x20], 1
jmp 0x140001574
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0x10
jne 0x140001477
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x1400015b0
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rbp, str.Failure_:_File_specified_is_not_correct__DIR_
mov rdx, rbp
mov rcx, rdi
call fcn.14000cc80
mov rbx, 0xffffffffffffffff
test al, al
jne 0x14000146a
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rbp + rax*2], 0
jne 0x140001450
mov r8d, eax
mov rdx, rbp
mov rcx, rdi
call fcn.14000d160
nop
mov dword [rsp + 0x20], 1
jmp 0x140001574
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.14000d070
add rax, 0x18
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x88]
call fcn.140003ed0
test al, al
jne 0x140001518
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x1400015bb
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rbp, str.Success_:_File_deleted
mov rdx, rbp
mov rcx, rdi
call fcn.14000cc80
mov rbx, 0xffffffffffffffff
test al, al
jne 0x14000150e
mov rax, rbx
inc rax
cmp word [rbp + rax*2], 0
jne 0x1400014f4
mov r8d, eax
mov rdx, rbp
mov rcx, rdi
call fcn.14000d160
nop
mov dword [rsp + 0x20], 1
jmp 0x140001574
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x14000159a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rbp, str.Failure_:_During_File_Deletion
mov rdx, rbp
mov rcx, rdi
call fcn.14000cc80
mov rbx, 0xffffffffffffffff
test al, al
jne 0x14000156c
mov rax, rbx
inc rax
cmp word [rbp + rax*2], 0
jne 0x140001552
mov r8d, eax
mov rdx, rbp
mov rcx, rdi
call fcn.14000d160
nop
mov dword [rsp + 0x20], 1
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14000158e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, rdi
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000dd90
int3
mov ecx, 0x80004005
call fcn.14000dd90
int3
mov ecx, 0x80004005
call fcn.14000dd90
int3
mov ecx, 0x80004005
call fcn.14000dd90
int3
Function at 0x1400015d0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x48
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x20], 0
mov rcx, qword [rdx]
mov rdi, 0xffffffffffffffff
cmp dword [rcx - 0x10], 0
jl 0x14000166d
lea rdx, str._username_
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14000166d
sub rax, qword [r14]
sar rax, 1
cmp eax, edi
je 0x14000166d
lea rcx, [rsp + 0x80]
call fcn.140063d20
nop
mov r8, qword [rsp + 0x80]
lea rdx, str._username_
mov rcx, r14
call fcn.14000bfb0
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000166d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.14000d070
add rax, 0x18
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x88]
call fcn.140003ed0
test al, al
jne 0x140001706
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x140001804
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
lea rbx, str.Failure_:_Folder_does_not_exist
mov rdx, rbx
mov rcx, rsi
call fcn.14000cc80
test al, al
jne 0x1400016f9
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400016e0
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.14000d160
nop
mov dword [rsp + 0x20], 1
jmp 0x1400017d2
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0x10
je 0x140001776
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x14000180f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
lea rbx, str.Failure_:_Folder_specified_is_not_correct__Folder_
mov rdx, rbx
mov rcx, rsi
call fcn.14000cc80
test al, al
jne 0x14000176c
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140001753
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.14000d160
nop
mov dword [rsp + 0x20], 1
jmp 0x1400017d2
mov rcx, qword [r14]
call fcn.140003c10
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x1400017f9
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
lea rbx, str.Success_:_Folder_deleted
mov rdx, rbx
mov rcx, rsi
call fcn.14000cc80
test al, al
jne 0x1400017ca
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400017b1
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.14000d160
nop
mov dword [rsp + 0x20], 1
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400017ec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, rsi
add rsp, 0x48
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000dd90
int3
mov ecx, 0x80004005
call fcn.14000dd90
int3
mov ecx, 0x80004005
call fcn.14000dd90
int3
Function at 0x14000af00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14000af37
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14000af58
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000af5a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000afb3
test ecx, ecx
jle 0x14000af8e
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000afb3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000afb3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000afe0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14000b017
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b038
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000b03a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000b0a0
test ecx, ecx
jle 0x14000b06e
cmp rbx, rbp
mov rcx, r14
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x50]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x38]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000b0a0
cmp qword [rdi + 0x80], 0
je 0x14000b0a0
mov rcx, rdi
call fcn.14000c9b0
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000b4f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000b51d
xor eax, eax
jmp 0x14000b672
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14000b548
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14000b548
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14000b672
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000b665
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000b58b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000b5b6
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b66a
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x14000b665
cmp eax, 1
jle 0x14000b625
cmp eax, 3
jne 0x14000b665
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b66a
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000b653
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000b665
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x14000b66a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400691f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000c9e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000ca8c
cmp byte [rcx + 0x71], 0
je 0x14000ca8c
mov rax, qword [rcx]
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000ca4d
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000ca51
sub eax, 1
je 0x14000ca55
sub eax, 2
je 0x14000ca8c
xor al, al
jmp 0x14000ca8e
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000ca83
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000ca4d
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000ca8e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400691f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x14000d6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000d725
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000d725
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000d715
nop
cmp rbx, rcx
jae 0x14000d725
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000d700
cmp rbx, rcx
jae 0x14000d725
cmp word [rbx], 0
je 0x14000d725
mov rax, rbx
jmp 0x14000d727
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000dba0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
mov eax, dword [r9]
lea rdx, [0x14009a104]
add eax, eax
mov rbx, r8
mov dword [rsp + 0x48], eax
mov rdi, r9
lea rax, [r11 + 0x10]
xor esi, esi
mov dword [r9], esi
xor r8d, r8d
mov rcx, qword [rcx]
lea r9, [r11 + 8]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000dc1d
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
ja 0x14000dc18
mov ecx, dword [rsp + 0x48]
test rbx, rbx
je 0x14000dc30
test ecx, ecx
je 0x14000dc2d
test cl, 1
jne 0x14000dc18
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x14000dc30
mov eax, 0xd
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov word [rbx], si
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x14000e220
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x398]
sub rsp, 0x470
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r15, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x20], 0
mov r8d, 0x80
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x14000e458
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14000cc80
mov rsi, 0xffffffffffffffff
test al, al
jne 0x14000e2ed
lea rcx, [rsp + 0x50]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000e2d0
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14000d160
nop
lea rdx, [rbp + 0x150]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x14000e44d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x30]
call fcn.14000cc80
test al, al
jne 0x14000e35f
lea rcx, [rbp + 0x150]
mov rax, rsi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000e340
mov r8d, eax
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x30]
call fcn.14000d160
nop
mov r14d, 2
mov dword [rsp + 0x20], r14d
mov rdx, qword [rsp + 0x30]
lea rbx, [rdx - 0x18]
mov rdi, qword [rsp + 0x28]
add rdi, 0xffffffffffffffe8
cmp rbx, rdi
je 0x14000e3cb
cmp dword [rdi + 0x10], 0
jl 0x14000e3bd
mov rax, qword [rdi]
cmp qword [rbx], rax
jne 0x14000e3bd
mov rcx, rbx
call fcn.14000d070
mov r13, rax
mov eax, esi
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x14000e3b2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [r13 + 0x18]
mov qword [rsp + 0x28], rax
jmp 0x14000e3cb
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.14000d160
and r14d, 0xfffffffd
mov dword [rsp + 0x20], r14d
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14000e3ec
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
mov rbx, qword [rsp + 0x28]
lea rcx, [rbx - 0x18]
call fcn.14000d070
add rax, 0x18
mov qword [r15], rax
or dword [rsp + 0x20], 1
lock xadd dword [rbx - 8], esi
sub esi, 1
jg 0x14000e41f
mov rcx, qword [rbx - 0x18]
mov r8, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [r8 + 8]
mov rax, r15
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400691f0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dd90
nop
mov ecx, 0x80004005
call fcn.14000dd90
int3
Function at 0x140015d40
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 8], ecx
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov esi, ecx
lea rax, [r11 + 0x10]
mov qword [r11 + 0x20], rax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x40], rax
lea rdx, [0x140099090]
lea rcx, [r11 + 0x10]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.repairAttemptFailedOutlook_KB_11382_ShellExecute
lea rcx, [rsp + 0x90]
call fcn.14000c6f0
nop
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, rax
call fcn.14005c670
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
lea r9, str.stop_sppsvc
lea r8, str.net.exe
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
lea r9, str.config_sppsvc_startauto
lea r8, str.sc.exe
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
lea r9, str.start_sppsvc
lea r8, str.net.exe
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0x88]
call fcn.14000c6f0
mov rdi, rax
lea rdx, str.Necessary_changes_have_been_done.
lea rcx, [rsp + 0x90]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.Success
lea rcx, [rsp + 0x98]
call fcn.14000c6f0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov ecx, esi
call fcn.14005d170
nop
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret

Function at 0x140016220
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov esi, ecx
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
lea r9, str.__resetnavpane
lea r8, str.outlook.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rdx, [0x140099090]
lea rcx, [rsp + 0x88]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.OutlookInvalidXmlError_KB_11361_ShellExecute_to_open_outlook_in__resetnavpane
lea rcx, [rsp + 0x90]
call fcn.14000c6f0
nop
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, rax
call fcn.14005c670
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0x88]
call fcn.14000c6f0
mov rdi, rax
lea rdx, str.Necessary_changes_have_been_done.
lea rcx, [rsp + 0x90]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.Success
lea rcx, [rsp + 0x98]
call fcn.14000c6f0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov ecx, esi
call fcn.14005d170
nop
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x140016f80
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 8], ecx
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov esi, ecx
lea rax, [r11 + 0x10]
mov qword [r11 + 0x20], rax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x40], rax
lea rdx, [0x140099090]
lea rcx, [r11 + 0x10]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.OpenOutlookInSafeMode_KB_11363_ShellExecute_to_open_outlook_in_safe_mode
lea rcx, [rsp + 0x90]
call fcn.14000c6f0
nop
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, rax
call fcn.14005c670
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
lea r9, str.__safe
lea r8, str.outlook.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0x88]
call fcn.14000c6f0
mov rdi, rax
lea rdx, str.Necessary_changes_have_been_done.
lea rcx, [rsp + 0x90]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.Success
lea rcx, [rsp + 0x98]
call fcn.14000c6f0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov ecx, esi
call fcn.14005d170
nop
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret