Function at 0x1400033c0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rdx
mov esi, ecx
mov edi, 4
mov rax, qword gs:[0x58]
add rdi, qword [rax]
xor r14d, r14d
mov eax, dword [rdi]
cmp dword [0x14000cb28], eax
jle 0x14000359c
lea rcx, [0x14000cb28]
call fcn.140005914
cmp dword [0x14000cb28], 0xffffffff
jne 0x14000359c
movdqa xmm0, xmmword [0x140008150]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
lea r9, str.PCMANAGER
lea edx, [r14 + 9]
lea rcx, [rsp + 0x68]
call fcn.140004e80
nop
movdqa xmm0, xmmword [0x140008150]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
lea r9, str.PCMANAGER
lea edx, [r14 + 9]
lea rcx, [rsp + 0x40]
call fcn.140004e80
nop
mov eax, dword [rdi]
cmp dword [0x14000cb40], eax
jle 0x1400034d6
lea rcx, [0x14000cb40]
call fcn.140005914
cmp dword [0x14000cb40], 0xffffffff
jne 0x1400034d6
xorps xmm0, xmm0
movdqu xmmword [0x14000cb48], xmm0
lea rcx, [0x140006ec0]
call fcn.140005dec
lea rcx, [0x14000cb40]
call fcn.1400058b4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rcx, [0x14000cb48]
call fcn.140001710
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140003537
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003532
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003532
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400056f4
movdqa xmm0, xmmword [0x140008150]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140003590
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000358a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000358a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400056f4
nop
lea rcx, [0x14000cb28]
call fcn.1400058b4
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::InitProcessLogger_void____ptr64]
test rbx, rbx
je 0x1400039f9
cmp esi, 2
jl 0x1400039f9
mov r9, qword [rbx + 8]
xor esi, esi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], si
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r9 + rax*2], si
jne 0x1400035e0
lea rcx, [rbp - 0x70]
cmp rax, 7
ja 0x14000360e
mov qword [rbp - 0x60], rax
lea rbx, [rax + rax]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx - 0x70], si
jmp 0x140003617
mov rdx, rax
call fcn.140004e80
nop
lea r14, [0x14000c040]
lea r13, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
nop word [rax + rax]
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.140003ae0
mov r12d, dword [r14 + 0x20]
mov dword [rbp - 0x78], r12d
lea r10, [rsp + 0x68]
mov rbx, qword [rsp + 0x68]
mov r15, qword [rbp - 0x80]
cmp r15, 8
cmovae r10, rbx
lea rdi, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdi, qword [rbp - 0x70]
mov r11, qword [rsp + 0x78]
mov rax, qword [rbp - 0x60]
cmp r11, rax
ja 0x1400036b5
test r11, r11
je 0x14000379a
sub rax, r11
inc rax
lea rsi, [rdi + rax*2]
mov rax, rdi
nop dword [rax]
mov rcx, rsi
sub rcx, rax
sar rcx, 1
je 0x1400036b3
movzx edx, word [r10]
nop
cmp word [rax], dx
je 0x14000374e
add rax, 2
sub rcx, 1
jne 0x1400036a0
xor esi, esi
cmp r15, 8
jb 0x1400036f0
lea rdx, [r15*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400036e8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400039e6
mov rcx, rbx
call fcn.1400056f4
add r14, 0x28
lea rax, [0x14000c0b8]
cmp r14, rax
jne 0x140003630
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400039f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rax, rax
je 0x1400036b3
mov r8, r11
mov rdx, r10
test r11, r11
je 0x140003788
mov r9, rax
sub r9, r10
nop dword [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x1400038b6
add rdx, 2
sub r8, 1
jne 0x140003770
sub rax, rdi
sar rax, 1
xor esi, esi
cmp rax, 0xffffffffffffffff
je 0x1400036b5
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140001fe0
mov rbx, qword [rsp + 0x30]
test eax, eax
je 0x1400038bf
mov edi, 1
cmp eax, 2
jne 0x1400038e9
lea rcx, [rbp + 0xb0]
call fcn.140001e50
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
lea rcx, [rbp + 0xc0]
call fcn.1400053f0
lea rdx, str._not_Installed
mov rcx, rax
call fcn.140004790
mov rcx, rax
lea rdx, [0x14000774c]
call fcn.140004790
mov rcx, rax
lea rdx, str._anonymous_namespace::RepairService
call fcn.140004980
mov rcx, rax
lea rdx, [0x140007748]
call fcn.140004790
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rbp + 0xb0]
lea edx, [rdi + 2]
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], r13
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc8]
call fcn.140004190
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rsp + 0x68]
call fcn.140002750
mov edi, eax
jmp 0x1400038e9
add rax, 2
jmp 0x140003690
mov edx, r12d
mov rcx, rbx
call fcn.140002220
test al, al
jne 0x1400038d5
mov edi, 6
jmp 0x1400038e9
mov rcx, rbx
call fcn.140002540
mov edi, esi
test al, al
mov eax, 5
cmove edi, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400038f9
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x140003907
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [rbp - 0x50]
call fcn.140001e50
nop
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rbx, qword [rsp + 0x68]
lea rdx, str.RepairMainService
lea rcx, [rbp - 0x40]
call fcn.140004980
mov rcx, rax
mov rdx, rbx
call fcn.140004790
mov rcx, rax
lea rdx, str.__result:
call fcn.140004980
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x14000774c]
call fcn.140004790
mov rcx, rax
lea rdx, str.wmain
call fcn.140004980
mov rcx, rax
lea rdx, [0x140007748]
call fcn.140004790
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rbp - 0x50]
mov edx, 3
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r13
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call fcn.140004190
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov r15, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x68]
jmp 0x1400036b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400056f4
xor eax, eax
jmp 0x140003aa3
lea rcx, [rbp - 0x50]
call fcn.140001e50
nop
lea rdx, str.argc___2_
lea rcx, [rbp - 0x40]
call fcn.140004790
mov rcx, rax
lea rdx, [0x14000774c]
call fcn.140004790
mov rcx, rax
lea rdx, str.wmain
call fcn.140004980
mov rcx, rax
lea rdx, [0x140007748]
call fcn.140004790
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rbp - 0x50]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx - 0x50], r13
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call fcn.140004190
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400056d0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret