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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x62d040]
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 0x43b529
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.00581150
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 0x43b529
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.0043b200
mov esi, eax
or ebx, 0xffffffff
mov eax, dword [esp + 0x18]
test esi, esi
js 0x43b64d
mov ecx, dword [esp + 0x28]
mov edx, ecx
mov dword [esp + 0x44], ecx
mov ecx, eax
call fcn.0043b300
mov esi, eax
test esi, esi
js 0x43b649
lea eax, [esp + 0x28]
mov ecx, str.ksidyn.sig
push eax
lea edx, [esp + 0x20]
call fcn.0043b200
mov esi, eax
test esi, esi
js 0x43b645
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
jne 0x43b5b1
mov edi, dword [esp + 0x1c]
mov esi, 0xe0020004
jmp 0x43b64d
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.0043b140
mov dword [esp + 0x28], eax
test eax, eax
je 0x43be8f
call sym.SystemInformer.exe_PhGetApplicationFileNameWin32
mov esi, eax
mov edx, 0x62e3f4
mov ecx, esi
call fcn.004f5920
mov edi, eax
lea ecx, [esi - 8]
mov dword [esp + 0x4c], edi
mov edx, ebx
lock xadd dword [ecx + 4], edx
dec edx
jne 0x43b605
lea esp, [esp]
call fcn.004fbe40
test edi, edi
je 0x43be79
push dword [edi + 4]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
jne 0x43b71f
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.0043aee0
add esp, 0x18
jmp 0x43be79
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43b666
push eax
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test edi, edi
je 0x43b679
push edi
push 0
push dword [0x633f94]
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 0x43b6b9
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.0043aee0
add esp, 0x18
xor esi, esi
jmp 0x43beb1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], edi
cmp esi, 0xc000000f
jne 0x43b6ef
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.0043aee0
add esp, 0x18
mov esi, edi
jmp 0x43beb1
test esi, esi
jns 0x43b5c5
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.0043aee0
add esp, 0x18
mov esi, edi
jmp 0x43beb1
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 0x43b764
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 0x43b78c
push str.DriverKSystemInformer
call sym.SystemInformer.exe_PhCreateString
mov ecx, edi
mov edi, eax
mov dword [esp + 0x50], edi
test ecx, ecx
je 0x43b78c
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b78c
call fcn.004fbe40
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 0x43b7d1
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 0x43b7ef
mov eax, esi
xor esi, esi
mov dword [esp + 0x20], esi
test eax, eax
je 0x43b7ef
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b7ef
call fcn.004fbe40
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 0x43b834
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 0x43b85a
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x43b85a
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b856
call fcn.004fbe40
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 0x43b8c5
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 0x43b8eb
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 0x43b910
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], 0x43b1c0
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 [0x6333d5]
mov byte [esp + 0x74], al
mov al, byte [0x6333d4]
mov byte [esp + 0x75], al
call fcn.005237c0
mov edi, eax
cmp edi, 0xc000000f
jne 0x43bb5e
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 0x43b9fc
push dword [esi + 4]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
je 0x43b9ee
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], esi
call fcn.005237c0
mov edi, eax
push esi
call sym.SystemInformer.exe_PhDereferenceObject
test edi, edi
jns 0x43bb8d
mov esi, dword [esp + 0x40]
test esi, esi
je 0x43bb64
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 [0x62e3f4]
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 0x43bae4
test esi, esi
je 0x43bacd
mov edx, dword [esi + 4]
jmp 0x43bacf
xor edx, edx
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [eax + 4]
call fcn.0051be40
mov edi, eax
test edi, edi
jns 0x43bb00
test esi, esi
je 0x43bafa
lea ecx, [esi - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43bafa
call fcn.004fbe40
test edi, edi
js 0x43bb64
xor esi, esi
test esi, esi
je 0x43bb09
mov edx, dword [esi + 4]
jmp 0x43bb0b
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 0x43bb20
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.005237c0
push esi
mov edi, eax
call sym.SystemInformer.exe_PhDereferenceObject
mov edi, edi
test edi, edi
jns 0x43bb8d
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.0043aee0
add esp, 0x18
jmp 0x43be2a
push 0x635f38
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov dword ds:[esp + 0x10], eax
test eax, eax
je 0x43bbad
lock dec dword [0x635f40]
jmp 0x43bbca
mov eax, dword [0x635f48]
add eax, 8
push eax
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esp + 0x10], eax
lea esi, [eax + 8]
mov edx, 0x22
mov ecx, esi
call fcn.005723a0
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.00538b00
mov eax, dword [0x635f40]
push dword [esp + 0x10]
cmp eax, dword [0x635f44]
jae 0x43bc22
push 0x635f38
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x635f40]
nop
jmp 0x43bc30
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, ebx
call fcn.005243c0
mov ecx, dword fs:[0x18]
mov dword [0x635f50], eax
mov ecx, dword [ecx + 0x30]
cmp byte [ecx + 2], 0
jne 0x43bca7
cmp eax, 5
je 0x43bcb0
cmp eax, 4
jne 0x43bc6c
test dword [0x633530], 0x2000
jne 0x43bc95
mov dword [esp + 0x34], str.__kx
jmp 0x43bc82
jge 0x43bc95
test dword [0x633530], 0x3000
jne 0x43bc95
mov dword [esp + 0x34], str.__kh
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 8
call fcn.0043af40
mov edi, eax
test edi, edi
jns 0x43be2a
push str.Unable_to_restart.
jmp 0x43bb69
cmp eax, 5
jne 0x43be2a
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 0x43bd4d
push 0x635f38
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x43bced
lock dec dword [0x635f40]
jmp 0x43bd08
mov eax, dword [0x635f48]
add eax, 8
push eax
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
mov edx, 0x1f
lea ecx, [edi + 8]
call fcn.005723a0
lea ecx, [edi + 8]
call fcn.00538b00
mov eax, dword [0x635f40]
push edi
cmp eax, dword [0x635f44]
jae 0x43bd3f
push 0x635f38
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x635f40]
jmp 0x43bd4d
push 0
push dword [0x633f94]
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 0x43bd87
sub eax, 1
jne 0x43be2a
mov dword [esp + 0x48], 0xc11
mov dword [esp + 0x44], 0x104b
jmp 0x43bd97
mov dword [esp + 0x48], 0x801
mov dword [esp + 0x44], 0x1003
push 0x635f38
lea esp, [esp]
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x43bdb5
lock dec dword [0x635f40]
jmp 0x43bdce
mov eax, dword [0x635f48]
add eax, 8
push eax
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
mov edx, 0x28
lea ecx, [edi + 8]
call fcn.005723a0
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.00538b00
mov eax, dword [0x635f40]
push edi
cmp eax, dword [0x635f44]
jae 0x43be1c
push 0x635f38
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x635f40]
jmp 0x43be2a
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x43be45
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43be45
nop
call fcn.004fbe40
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x43be5f
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43be5f
call fcn.004fbe40
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x43be79
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43be79
call fcn.004fbe40
mov ecx, dword [esp + 0x28]
mov eax, ebx
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43be8f
call fcn.004fbe40
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43bea9
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43bea9
call fcn.004fbe40
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43bec9
lea ecx, [eax - 8]
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x43bec9
call fcn.004fbe40
test edi, edi
je 0x43bedc
push edi
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea esp, [esp]
test esi, esi
je 0x43bef3
push esi
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword ds:[esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret