Function at 0x43b4c0
Capabilities:
Check for peb beingdebugged flag
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x62e040]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
xor eax, eax
mov dword [esp + 0x34], ecx
push edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x68], 0
mov word [esp + 0x76], ax
mov dword [esp + 0x40], eax
call sym.SystemInformer.exe_PhGetApplicationDirectoryWin32
mov ebx, eax
test ebx, ebx
je 0x43b569
mov eax, dword [ebx]
add eax, 0x1a
mov dword [esp + 0x2c], 0
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push 0
push eax
call sym.SystemInformer.exe_PhCreateString3
push dword [ebx]
mov esi, eax
push dword [ebx + 4]
mov dword [esp + 0x48], esi
push dword [esi + 4]
call fcn.005823b0
mov edi, dword [ebx]
mov ecx, 6
add edi, dword [esi + 4]
add esp, 0xc
mov esi, str.temp_drivers_
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lock inc dword [ebx - 4]
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x43b569
push ebx
call sym.SystemInformer.exe_PhDeleteDirectoryWin32
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 0
xor edi, edi
lea edx, [esp + 0x18]
push eax
mov ecx, str.ksidyn.bin
mov dword [esp + 0x20], edi
call fcn.0043b240
mov esi, eax
or ebx, 0xffffffff
mov eax, dword [esp + 0x18]
test esi, esi
js 0x43b68d
mov ecx, dword [esp + 0x28]
mov edx, ecx
mov dword [esp + 0x44], ecx
mov ecx, eax
call fcn.0043b340
mov esi, eax
test esi, esi
js 0x43b689
lea eax, [esp + 0x28]
mov ecx, str.ksidyn.sig
push eax
lea edx, [esp + 0x20]
call fcn.0043b240
mov esi, eax
test esi, esi
js 0x43b685
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
jne 0x43b5f1
mov edi, dword [esp + 0x1c]
mov esi, 0xe0020004
jmp 0x43b68d
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
call fcn.0043b180
mov dword [esp + 0x28], eax
test eax, eax
je 0x43becf
call sym.SystemInformer.exe_PhGetApplicationFileNameWin32
mov esi, eax
mov edx, 0x62f3f4
mov ecx, esi
call fcn.004f5b00
mov edi, eax
lea ecx, [esi - 8]
mov dword [esp + 0x4c], edi
mov edx, ebx
lock xadd dword [ecx + 4], edx
dec edx
jne 0x43b645
lea esp, [esp]
call fcn.004fc020
test edi, edi
je 0x43beb9
push dword [edi + 4]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
jne 0x43b75f
push str.The_kernel_driver_was_not_found.
push str.Unable_to_load_kernel_driver
push 0
push 0
push 0xfffe
push dword [esp + 0x4c]
call fcn.0043af20
add esp, 0x18
jmp 0x43beb9
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43b6a6
push eax
push 0
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test edi, edi
je 0x43b6b9
push edi
push 0
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov edi, eax
cmp esi, 0xe0020001
jne 0x43b6f9
push str.The_kernel_driver_is_not_yet_supported_on_this_kernel_version._Request_support_by_submitting_a_GitHub_issue_with_the_Windows_Kernel_version.
push str.Unable_to_load_kernel_driver
push eax
push eax
push 0xfffe
push dword [esp + 0x4c]
call fcn.0043af20
add esp, 0x18
xor esi, esi
jmp 0x43bef1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], edi
cmp esi, 0xc000000f
jne 0x43b72f
push str.The_dynamic_configuration_was_not_found.
push str.Unable_to_load_kernel_driver
push 0
push 0
push 0xfffe
push dword [esp + 0x4c]
call fcn.0043af20
add esp, 0x18
mov esi, edi
jmp 0x43bef1
test esi, esi
jns 0x43b605
push str.Failed_to_access_the_dynamic_configuration.
push str.Unable_to_load_kernel_driver
push 0
push esi
push 0xfffe
push dword [esp + 0x4c]
lfence
call fcn.0043af20
add esp, 0x18
mov esi, edi
jmp 0x43bef1
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x1a
push eax
mov dword [esp + 0x28], str.KsiObjectName
call sym.SystemInformer.exe_PhGetStringRefSetting
mov edi, eax
test edi, edi
je 0x43b7a4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x1a
push eax
mov dword [esp + 0x28], str.KsiObjectName
call sym.SystemInformer.exe_PhGetStringRefSetting
mov edi, eax
mov dword [esp + 0x50], edi
cmp dword [edi], 0
jne 0x43b7cc
push str.DriverKSystemInformer
call sym.SystemInformer.exe_PhCreateString
mov ecx, edi
mov edi, eax
mov dword [esp + 0x50], edi
test ecx, ecx
je 0x43b7cc
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b7cc
call fcn.004fc020
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x16
push eax
mov dword [esp + 0x28], str.KsiPortName
call sym.SystemInformer.exe_PhGetStringRefSetting
mov esi, eax
test esi, esi
je 0x43b811
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x16
push eax
mov dword [esp + 0x28], str.KsiPortName
call sym.SystemInformer.exe_PhGetStringRefSetting
mov esi, eax
mov dword [esp + 0x20], esi
cmp dword [esi], 0
jne 0x43b82f
mov eax, esi
xor esi, esi
mov dword [esp + 0x20], esi
test eax, eax
je 0x43b82f
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b82f
call fcn.004fc020
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x16
push eax
mov dword [esp + 0x18], str.KsiAltitude
call sym.SystemInformer.exe_PhGetStringRefSetting
mov ecx, eax
test ecx, ecx
je 0x43b874
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x16
push eax
mov dword [esp + 0x18], str.KsiAltitude
call sym.SystemInformer.exe_PhGetStringRefSetting
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp dword [ecx], 0
jne 0x43b89a
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x43b89a
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b896
call fcn.004fc020
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x60], esi
xor esi, esi
push eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x14], 0x3a
mov dword [esp + 0x18], str.KsiEnableFsFeatureOffloadRead
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov dword [esp + 0x10], 0x3c
mov ecx, 1
mov dword [esp + 0x14], str.KsiEnableFsFeatureOffloadWrite
lea eax, [esp + 0x10]
cmovne esi, ecx
push eax
mov dword [esp + 0x6c], esi
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x43b905
or esi, 2
mov dword [esp + 0x68], esi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x36
push eax
mov dword [esp + 0x18], str.KsiEnableFsFeatureQueryOpen
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
nop
test eax, eax
je 0x43b92b
or esi, 4
mov dword [esp + 0x68], esi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x34
push eax
mov dword [esp + 0x18], str.KsiEnableFsFeatureBypassIO
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x43b950
or esi, 8
mov dword [esp + 0x68], esi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x3a
push eax
mov dword [esp + 0x18], str.KsiDisableImageLoadProtection
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov edi, eax
mov dword [esp + 0x10], 0x28
lea eax, [esp + 0x10]
mov dword [esp + 0x14], str.KsiRandomizedPoolTag
push eax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov esi, eax
mov dword [esp + 0x10], 0x28
lea eax, [esp + 0x10]
mov dword [esp + 0x14], str.KsiDynDataNoEmbedded
push eax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
neg eax
mov dword [esp + 0x70], 0x43b200
sbb eax, eax
and eax, 4
neg esi
sbb esi, esi
xor ecx, ecx
and esi, 2
or eax, esi
test edi, edi
setne cl
or eax, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], eax
mov al, byte [0x634375]
mov byte [esp + 0x74], al
mov al, byte [0x634374]
mov byte [esp + 0x75], al
call fcn.00524340
mov edi, eax
cmp edi, 0xc000000f
jne 0x43bb9e
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x3c
push eax
mov dword [esp + 0x18], str.KsiPreviousTemporaryDriverFile
call sym.SystemInformer.exe_PhGetStringRefSetting
mov esi, eax
test esi, esi
je 0x43ba3c
push dword [esi + 4]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
je 0x43ba2e
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], esi
call fcn.00524340
mov edi, eax
push esi
call sym.SystemInformer.exe_PhDereferenceObject
test edi, edi
jns 0x43bbcd
mov esi, dword [esp + 0x40]
test esi, esi
je 0x43bba4
lea eax, [esp + 0x10]
push eax
call sym.SystemInformer.exe_PhQuerySystemTime
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb8], eax
mov eax, dword [0x62f3f4]
push 0x104
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd4], eax
lea eax, [esp + 0x7c]
push 4
mov dword [esp + 0xc4], ecx
mov ecx, dword [str..sys]
push eax
mov dword [esp + 0x84], 1
mov dword [esp + 0x9c], 1
mov dword [esp + 0xac], 0x1c
mov dword [esp + 0xb0], str.SystemInformer
mov dword [esp + 0xb4], 0x109
mov byte [esp + 0xbe], 0x10
mov dword [esp + 0xcc], 1
mov dword [esp + 0xe0], ecx
call sym.SystemInformer.exe_PhFormat
mov esi, eax
mov eax, dword [esp + 0x40]
push eax
call sym.SystemInformer.exe_PhCreateDirectoryWin32
mov edi, eax
test edi, edi
js 0x43bb24
test esi, esi
je 0x43bb0d
mov edx, dword [esi + 4]
jmp 0x43bb0f
xor edx, edx
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [eax + 4]
call fcn.0051c9c0
mov edi, eax
test edi, edi
jns 0x43bb40
test esi, esi
je 0x43bb3a
lea ecx, [esi - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43bb3a
call fcn.004fc020
test edi, edi
js 0x43bba4
xor esi, esi
test esi, esi
je 0x43bb49
mov edx, dword [esi + 4]
jmp 0x43bb4b
xor edx, edx
mov ecx, edx
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], str.KsiPreviousTemporaryDriverFile
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bb60
sub ecx, edi
mov dword [esp + 0x14], edx
sar ecx, 1
lea eax, [ecx + ecx]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
call sym.SystemInformer.exe_PhSetStringRefSetting
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], esi
call fcn.00524340
push esi
mov edi, eax
call sym.SystemInformer.exe_PhDereferenceObject
mov edi, edi
test edi, edi
jns 0x43bbcd
push str.Unable_to_load_the_kernel_driver_service.
push str.Unable_to_load_kernel_driver
push 0
push edi
push 0xfffe
push dword [esp + 0x4c]
lfence
call fcn.0043af20
add esp, 0x18
jmp 0x43be6a
push 0x636e70
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov dword ds:[esp + 0x10], eax
test eax, eax
je 0x43bbed
lock dec dword [0x636e78]
jmp 0x43bc0a
mov eax, dword [0x636e80]
add eax, 8
push eax
push 4
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esp + 0x10], eax
lea esi, [eax + 8]
mov edx, 0x22
mov ecx, esi
call fcn.00573880
mov eax, dword [esp + 0x3c]
mov ecx, esi
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x20], eax
call fcn.00539780
mov eax, dword [0x636e78]
push dword [esp + 0x10]
cmp eax, dword [0x636e7c]
jae 0x43bc62
push 0x636e70
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x636e78]
nop
jmp 0x43bc70
push 0
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, ebx
call fcn.00524f40
mov ecx, dword fs:[0x18]
mov dword [0x636e88], eax
mov ecx, dword [ecx + 0x30]
cmp byte [ecx + 2], 0
jne 0x43bce7
cmp eax, 5
je 0x43bcf0
cmp eax, 4
jne 0x43bcac
test dword [0x6344d0], 0x2000
jne 0x43bcd5
mov dword [esp + 0x34], str.__kx
jmp 0x43bcc2
jge 0x43bcd5
test dword [0x6344d0], 0x3000
jne 0x43bcd5
mov dword [esp + 0x34], str.__kh
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 8
call fcn.0043af80
mov edi, eax
test edi, edi
jns 0x43be6a
push str.Unable_to_restart.
jmp 0x43bba9
cmp eax, 5
jne 0x43be6a
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x32
push eax
mov dword [esp + 0x38], str.KsiEnableUnloadProtection
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x43bd8d
push 0x636e70
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x43bd2d
lock dec dword [0x636e78]
jmp 0x43bd48
mov eax, dword [0x636e80]
add eax, 8
push eax
push 4
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
mov edx, 0x1f
lea ecx, [edi + 8]
call fcn.00573880
lea ecx, [edi + 8]
call fcn.00539780
mov eax, dword [0x636e78]
push edi
cmp eax, dword [0x636e7c]
jae 0x43bd7f
push 0x636e70
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x636e78]
jmp 0x43bd8d
push 0
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x3e
push eax
mov dword [esp + 0x38], str.KsiClientProcessProtectionLevel
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
sub eax, 1
je 0x43bdc7
sub eax, 1
jne 0x43be6a
mov dword [esp + 0x48], 0xc11
mov dword [esp + 0x44], 0x104b
jmp 0x43bdd7
mov dword [esp + 0x48], 0x801
mov dword [esp + 0x44], 0x1003
push 0x636e70
lea esp, [esp]
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x43bdf5
lock dec dword [0x636e78]
jmp 0x43be0e
mov eax, dword [0x636e80]
add eax, 8
push eax
push 4
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
mov edx, 0x28
lea ecx, [edi + 8]
call fcn.00573880
mov eax, dword [esp + 0x48]
lea ecx, [edi + 8]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x24], eax
call fcn.00539780
mov eax, dword [0x636e78]
push edi
cmp eax, dword [0x636e7c]
jae 0x43be5c
push 0x636e70
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x636e78]
jmp 0x43be6a
push 0
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x43be85
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43be85
nop
call fcn.004fc020
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x43be9f
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43be9f
call fcn.004fc020
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x43beb9
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43beb9
call fcn.004fc020
mov ecx, dword [esp + 0x28]
mov eax, ebx
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43becf
call fcn.004fc020
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43bee9
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43bee9
call fcn.004fc020
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43bf09
lea ecx, [eax - 8]
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x43bf09
call fcn.004fc020
test edi, edi
je 0x43bf1c
push edi
push 0
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea esp, [esp]
test esi, esi
je 0x43bf33
push esi
push 0
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword ds:[esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005802ef
mov esp, ebp
pop ebp
ret