Function at 0x14008ad50
Capabilities:
Create thread
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rdi, rdx
mov r15d, ecx
xor esi, esi
mov dword [rsp + 0x30], esi
mov rbx, qword [0x1401c01a8]
mov qword [rbp + 0xf0], rsi
lea rax, [0x140144e28]
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rbx
mov qword [rbp + 0x108], rsi
mov rax, qword [rbx]
cmp dword [rax], esi
je 0x14008ae0b
mov qword [rbp + 0x260], rsi
lea rcx, [rbp + 0x260]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x260]
mov qword [rbp + 0xf0], rax
lea r8, [0x1401825bf]
mov qword [rsp + 0x28], r8
lea rax, str._DLLPROTECT__::_DllProtectStart___
mov qword [rsp + 0x20], rax
lea r9, str._s_s
xor edx, edx
mov rcx, rbx
call fcn.140096960
nop
lea rcx, [rbp + 0x50]
call fcn.140090080
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x30], xmm1
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008ae49
mov qword [rsp + 0x20], rdi
mov r9d, r15d
lea r8, str.options:__d__proc_name:__s
lea rdx, [0x140144eb0]
xor ecx, ecx
call fcn.140096af0
lea rax, str.bddllp_77C5D6EB_2669_4344_BA08_BAD4BF895666
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x70], rax
mov dword [0x1401bfe70], r15d
mov ecx, r15d
and ecx, 0x30
mov dword [0x1401c0284], ecx
mov eax, r15d
shr eax, 1
and al, 1
mov byte [0x1401c0282], al
mov eax, r15d
shr eax, 3
and al, 1
mov byte [0x1401c028b], al
mov eax, r15d
shr eax, 2
and al, 1
mov byte [0x1401c0283], al
mov eax, r15d
shr eax, 6
and al, 1
mov byte [0x1401c0288], al
mov eax, r15d
shr eax, 7
and al, 1
mov byte [0x1401c0289], al
mov eax, r15d
shr eax, 8
and al, 1
mov byte [0x1401c028a], al
cmp ecx, 0x30
jne 0x14008afaa
lea rcx, [rbp + 0x50]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008af56
mov dword [rbp + 0x270], esi
mov qword [rbp - 0x60], rsi
lea rax, [rbp + 0x270]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea rax, str.cannot_activate_dllprotect_in_report_mode_and_block_mode_at_the_same_time
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], 0x49
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x280]
lea rcx, [rsp + 0x50]
call fcn.1400ae5c0
nop
mov ebx, 0x201
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
xor r8d, r8d
lea rdx, str._DLLPROTECT__::_DllProtectStart____
xor ecx, ecx
call fcn.1400967d0
jmp 0x14008af5a
mov ebx, dword [rsp + 0x30]
test bl, 1
je 0x14008be87
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14008be87
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b589
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b589
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14009f580
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
mov r14, qword [0x1401b9170]
lea rdi, [0x1401b9160]
cmp qword [0x1401b9178], 8
cmovae rdi, qword [0x1401b9160]
cmp r14, 8
jae 0x14008aff0
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x20], xmm0
mov ebx, 7
jmp 0x14008b02c
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x20]
call fcn.140003230
mov qword [rbp + 0x20], rax
lea r8, [r14*2 + 2]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], rbx
lea rcx, [rbp + 0x20]
call fcn.14009f760
call fcn.14009d1e0
call fcn.14009a9e0
test r15b, 0x50
je 0x14008b3c9
cmp qword [0x1401c02d0], 0
je 0x14008b3c9
lea rdx, [0x140142e90]
mov ecx, 0x18
call fcn.14007e940
mov rcx, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14008b2e6
lea rax, vtable.EventsCbkDumper.0
mov qword [rcx], rax
mov rax, qword [0x1401c02d0]
mov qword [rcx + 8], rax
mov rax, qword [0x1401c02d8]
mov qword [rcx + 0x10], rax
mov qword [0x1401c02e0], rcx
test rcx, rcx
je 0x14008b2ed
lea rdx, [0x140142e90]
mov ecx, 0xe8
call fcn.14007e940
mov r14, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14008b1bd
mov rbx, qword [0x1401c02e0]
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rsi
mov ecx, 0x10
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov qword [rax + 8], rsi
mov qword [r14], rax
mov qword [rax], r14
lea rcx, [r14 + 0x28]
mov edx, 2
call sub.MSVCP140.dll__Mtx_init_in_situ
lea rcx, [r14 + 0x78]
call sub.MSVCP140.dll__Cnd_init_in_situ
nop
lea r12, [r14 + 0xc0]
mov qword [rsp + 0x30], r12
mov qword [r12], r14
mov qword [r12 + 8], rbx
xor eax, eax
mov byte [r12 + 0x10], al
xorps xmm0, xmm0
movups xmmword [r12 + 0x18], xmm0
mov eax, 1
xchg byte [r12 + 0x10], al
mov ecx, 0x10
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
test rax, rax
je 0x14008b165
mov qword [rax], r12
lea rcx, [0x14008a590]
mov qword [rax + 8], rcx
jmp 0x14008b168
mov rax, rsi
mov qword [rbp + 0x280], rax
mov edi, 0x800
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400820d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14008bec0
cmp dword [r12 + 0x20], 0
jne 0x14008b1b6
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [r12 + 0x18], xmm0
jmp 0x14008b1c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov r14, rsi
mov edi, dword [rsp + 0x30]
mov qword [0x1401c02e8], r14
test r14, r14
jne 0x14008b3cd
lea rcx, [rbp + 0x50]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], r14d
je 0x14008b264
mov dword [rbp + 0x270], esi
mov qword [rsp + 0x70], rsi
lea rax, [rbp + 0x270]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
lea rax, str.failed_to_alloc_events_queue
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x1c
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x290]
call fcn.1400ae5c0
bts edi, 0xc
or edi, 4
mov dword [rsp + 0x30], edi
lea r9, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 0x10
cmovae r9, qword [rbp + 0x290]
xor r8d, r8d
lea rdx, str._DLLPROTECT__::_DllProtectStart____
xor ecx, ecx
call fcn.1400967d0
nop
test dil, 4
je 0x14008b2c7
mov rdx, qword [rbp + 0x2a8]
cmp rdx, 0x10
jb 0x14008b2ae
inc rdx
mov rcx, qword [rbp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b2a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b2a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
mov qword [rbp + 0x2a0], rsi
mov qword [rbp + 0x2a8], 0xf
mov byte [rbp + 0x290], 0
mov rcx, qword [0x1401c02e0]
test rcx, rcx
je 0x14008be87
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x14008be87
mov qword [0x1401c02e0], rsi
lea rcx, [rbp + 0x50]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008b375
mov dword [rbp + 0x270], esi
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x270]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x80], xmm0
lea rax, str.failed_to_alloc_events_consumer
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x1f
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400ae5c0
nop
mov ebx, 0x402
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
xor r8d, r8d
lea rdx, str._DLLPROTECT__::_DllProtectStart____
xor ecx, ecx
call fcn.1400967d0
jmp 0x14008b379
mov ebx, dword [rsp + 0x30]
test bl, 2
je 0x14008be87
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14008be87
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b589
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b589
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rsp + 0x30]
test r15b, 1
jne 0x14008b3de
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetSearchPathMode]
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x1401bfe68], rax
test rax, rax
je 0x14008b49b
lea rdx, [0x140144aa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401c0058]
test rax, rax
cmovne rcx, rax
mov qword [0x1401c0058], rcx
lea rdx, [0x140144b00]
mov rcx, qword [0x1401bfe68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401bfe78]
test rax, rax
cmovne rcx, rax
mov qword [0x1401bfe78], rcx
lea rdx, [0x140144bc0]
mov rcx, qword [0x1401bfe68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401c0248]
test rax, rax
cmovne rcx, rax
mov qword [0x1401c0248], rcx
lea rdx, [0x140144b60]
mov rcx, qword [0x1401bfe68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401c01c0]
test rax, rax
cmovne rcx, rax
mov qword [0x1401c01c0], rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x1401bfe48], rax
test rax, rax
jne 0x14008b593
lea rcx, [rbp + 0x50]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008b540
mov dword [rbp + 0x270], esi
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x270]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x80], xmm0
lea rax, str.cannot_get_ntdll.dll_module_handle
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x22
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400ae5c0
bts edi, 0xd
or edi, 8
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
xor r8d, r8d
lea rdx, str._DLLPROTECT__::_DllProtectStart____
xor ecx, ecx
call fcn.1400967d0
nop
test dil, 8
je 0x14008be87
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14008be87
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b589
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b589
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
jmp 0x14008be87
lea rdx, str.NtCreateSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401bfe40], rax
test rax, rax
jne 0x14008b68c
lea rcx, [rbp + 0x50]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008b63b
mov dword [rbp + 0x270], esi
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x270]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x80], xmm0
lea rax, str.cannot_get_NtCreateSection_proc_address
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x27
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400ae5c0
bts edi, 0xe
or edi, 0x10
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
xor r8d, r8d
lea rdx, str._DLLPROTECT__::_DllProtectStart____
xor ecx, ecx
call fcn.1400967d0
nop
test dil, 0x10
je 0x14008be87
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14008be87
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b589
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b589
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af8e0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.1400aff60
lea rdx, [0x140090970]
lea rcx, [0x1401bfe78]
call fcn.1400af150
test eax, eax
jne 0x14008b712
lea rdx, [0x140090860]
lea rcx, [0x1401c0058]
call fcn.1400af150
test eax, eax
jne 0x14008b712
lea rdx, [0x140090570]
lea rcx, [0x1401c01c0]
call fcn.1400af150
test eax, eax
jne 0x14008b712
lea rdx, [0x1400906d0]
lea rcx, [0x1401c0248]
call fcn.1400af150
test eax, eax
jne 0x14008b712
lea rdx, [0x140094310]
lea rcx, sub.WINTRUST.dll_WinVerifyTrust
call fcn.1400af150
test eax, eax
je 0x14008b726
call fcn.1400af790
mov ecx, 1
call fcn.140095c80
jmp 0x14008be87
cmp byte [0x1401c0289], 0
je 0x14008b83a
lea rcx, [rbp + 0x1d0]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008b7cc
mov dword [rbp + 0x2b0], esi
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x2b0]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rax, str.activating_NtCreateSection_Hook
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x1f
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x110]
call fcn.1400ae5c0
bts edi, 0xf
or edi, 0x20
mov dword [rsp + 0x30], edi
lea r9, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae r9, qword [rbp + 0x110]
xor r8d, r8d
lea rdx, str._DLLPROTECT__::_DllProtectStart____
xor ecx, ecx
call fcn.1400967d0
nop
test dil, 0x20
je 0x14008b819
and edi, 0xffffffdf
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x14008b819
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b814
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b814
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
lea rdx, [0x140090c00]
lea rcx, [0x1401bfe40]
call fcn.1400af150
test eax, eax
je 0x14008b83a
call fcn.1400af790
jmp 0x14008be87
call fcn.1400af9c0
lea rdx, [0x1401b90a0]
lea rcx, [rbp + 0x170]
call fcn.140002bc0
nop
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], si
mov r8d, 0xd
lea rdx, str.cryptbase.dll
lea rcx, [rbp - 0x20]
call fcn.140002f20
or edi, 0x30000
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x170]
call fcn.1400047a0
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.140002e30
mov rdx, rbx
lea rcx, [rbp + 0x360]
call fcn.140002bc0
nop
lea rcx, [rbp + 0x170]
call fcn.140002e30
lea rcx, [rbp + 0x360]
cmp qword [rbp + 0x378], 8
cmovae rcx, qword [rbp + 0x360]
xor edx, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1401bfe50], rax
test rax, rax
jne 0x14008b9e4
lea rcx, [rbp + 0x200]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008b997
mov dword [rbp + 0x2c0], esi
mov qword [rbp + 0x80], rsi
lea rax, [rbp + 0x2c0]
mov qword [rbp + 0x88], rax
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x2b0], xmm0
lea rax, str.cannot_load_cryptbase.dll
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], 0x19
lea r8, [rbp + 0x2b0]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0xb0]
call fcn.1400ae5c0
bts edi, 0x12
or edi, 0x40
mov dword [rsp + 0x30], edi
lea r9, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae r9, qword [rbp + 0xb0]
xor r8d, r8d
lea rdx, str._DLLPROTECT__::_DllProtectStart____
xor ecx, ecx
call fcn.1400967d0
nop
test dil, 0x40
je 0x14008b9e4
and edi, 0xffffffbf
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x14008b9e4
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b9df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b9df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
lea rdx, [0x1401b90a0]
lea rcx, [rbp + 0x50]
call fcn.140002bc0
nop
mov qword [rbp], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
mov r8d, 0xb
lea rdx, str.profapi.dll
lea rcx, [rbp]
call fcn.140002f20
or edi, 0x180000
lea rdx, [rbp]
lea rcx, [rbp + 0x50]
call fcn.1400047a0
mov rbx, rax
lea rcx, [rbp]
call fcn.140002e30
mov rdx, rbx
lea rcx, [rbp + 0x340]
call fcn.140002bc0
nop
lea rcx, [rbp + 0x50]
call fcn.140002e30
lea rcx, [rbp + 0x340]
cmp qword [rbp + 0x358], 8
cmovae rcx, qword [rbp + 0x340]
xor edx, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1401bfe58], rax
test rax, rax
jne 0x14008bb78
lea rcx, [rbp + 0x230]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008bb2b
mov dword [rbp + 0x310], esi
mov qword [rbp + 0xa0], rsi
lea rax, [rbp + 0x310]
mov qword [rbp + 0xa8], rax
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x2c0], xmm0
lea rax, str.cannot_load_profapi.dll
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0x17
lea r8, [rbp + 0x2c0]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xd0]
call fcn.1400ae5c0
bts edi, 0x15
bts edi, 7
mov dword [rsp + 0x30], edi
lea r9, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae r9, qword [rbp + 0xd0]
xor r8d, r8d
lea rdx, str._DLLPROTECT__::_DllProtectStart____
xor ecx, ecx
call fcn.1400967d0
nop
test dil, dil
jns 0x14008bb78
btr edi, 7
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x14008bb78
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008bb73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008bb73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
lea rdx, [0x1401b90a0]
lea rcx, [rbp - 0x50]
call fcn.140002bc0
nop
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
mov r8d, 0xc
lea rdx, str.wintrust.dll
lea rcx, [rsp + 0x50]
call fcn.140002f20
or edi, 0xc00000
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400047a0
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.140002e30
mov rdx, rbx
lea rcx, [rbp + 0x320]
call fcn.140002bc0
nop
lea rcx, [rbp - 0x50]
call fcn.140002e30
lea rcx, [rbp + 0x320]
cmp qword [rbp + 0x338], 8
cmovae rcx, qword [rbp + 0x320]
xor edx, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1401bfe60], rax
test rax, rax
jne 0x14008bd26
lea rcx, [rbp + 0x1a0]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008bccf
mov dword [rbp + 0x290], esi
mov qword [rbp + 0x260], rsi
lea rax, [rbp + 0x290]
mov qword [rbp + 0x268], rax
movaps xmm0, xmmword [rbp + 0x260]
movdqa xmmword [rbp + 0x310], xmm0
lea rax, str.cannot_load_wintrust.dll
mov qword [rbp + 0x270], rax
mov qword [rbp + 0x278], 0x18
lea r8, [rbp + 0x310]
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x140]
call fcn.1400ae5c0
bts edi, 0x18
bts edi, 8
mov dword [rsp + 0x30], edi
lea r9, [rbp + 0x140]
cmp qword [rbp + 0x158], 0x10
cmovae r9, qword [rbp + 0x140]
xor r8d, r8d
lea rdx, str._DLLPROTECT__::_DllProtectStart____
xor ecx, ecx
call fcn.1400967d0
nop
bt edi, 8
jae 0x14008be60
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x14008be60
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008bd1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008bd1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
jmp 0x14008be60
mov qword [rbp + 0x260], rsi
lea rdi, [0x1401b91d8]
mov qword [rbp + 0x268], rdi
lea r8, [rbp + 0x260]
mov rdx, qword [0x1401bfe48]
lea rcx, [rbp + 0x2f0]
call fcn.140099d50
nop
lea rcx, [rbp + 0x2f0]
cmp qword [rbp + 0x308], 8
cmovae rcx, qword [rbp + 0x2f0]
xor edx, edx
call fcn.140094110
mov ebx, eax
lea rcx, [rbp + 0x1a0]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008bdba
lea r9, [rbp + 0x2f0]
cmp qword [rbp + 0x308], 8
cmovae r9, qword [rbp + 0x2f0]
mov dword [rsp + 0x20], ebx
lea r8, str.signature_check_moking_mocking_for__s_returned__d
lea rdx, [0x140144eb0]
xor ecx, ecx
call fcn.140096af0
mov dword [rbp + 0x260], esi
mov qword [rbp + 0x268], rdi
lea r8, [rbp + 0x260]
xor edx, edx
lea rcx, [rbp + 0x2d0]
call fcn.140099d50
nop
lea rcx, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 8
cmovae rcx, qword [rbp + 0x2d0]
xor edx, edx
call fcn.140094110
mov ebx, eax
lea rcx, [rbp + 0x140]
call fcn.140090080
mov rax, qword [rax]
cmp dword [rax], 0
je 0x14008be41
lea r9, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 8
cmovae r9, qword [rbp + 0x2d0]
mov dword [rsp + 0x20], ebx
lea r8, str.signature_check_moking_mocking_for__s_returned__d
lea rdx, [0x140144eb0]
xor ecx, ecx
call fcn.140096af0
mov esi, 1
lea rcx, [rbp + 0x2d0]
call fcn.140002e30
nop
lea rcx, [rbp + 0x2f0]
call fcn.140002e30
nop
lea rcx, [rbp + 0x320]
call fcn.140002e30
nop
lea rcx, [rbp + 0x340]
call fcn.140002e30
nop
lea rcx, [rbp + 0x360]
call fcn.140002e30
nop
lea rcx, [rbp + 0xf0]
call fcn.14008a100
mov eax, esi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14007e250
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rbp - 0x58], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3