Function at 0x43b520
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 0x43b5c9
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.00580c90
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 0x43b5c9
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.0043b2a0
mov esi, eax
or ebx, 0xffffffff
mov eax, dword [esp + 0x18]
test esi, esi
js 0x43b6ed
mov ecx, dword [esp + 0x28]
mov edx, ecx
mov dword [esp + 0x44], ecx
mov ecx, eax
call fcn.0043b3a0
mov esi, eax
test esi, esi
js 0x43b6e9
lea eax, [esp + 0x28]
mov ecx, str.ksidyn.sig
push eax
lea edx, [esp + 0x20]
call fcn.0043b2a0
mov esi, eax
test esi, esi
js 0x43b6e5
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
jne 0x43b651
mov edi, dword [esp + 0x1c]
mov esi, 0xe0020004
jmp 0x43b6ed
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.0043b1e0
mov dword [esp + 0x28], eax
test eax, eax
je 0x43bf2f
call sym.SystemInformer.exe_PhGetApplicationFileNameWin32
mov esi, eax
mov edx, 0x62e3f4
mov ecx, esi
call fcn.004f58a0
mov edi, eax
lea ecx, [esi - 8]
mov dword [esp + 0x4c], edi
mov edx, ebx
lock xadd dword [ecx + 4], edx
dec edx
jne 0x43b6a5
lea esp, [esp]
call fcn.004fbd80
test edi, edi
je 0x43bf19
push dword [edi + 4]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
jne 0x43b7bf
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.0043af80
add esp, 0x18
jmp 0x43bf19
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43b706
push eax
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test edi, edi
je 0x43b719
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 0x43b759
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.0043af80
add esp, 0x18
xor esi, esi
jmp 0x43bf51
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], edi
cmp esi, 0xc000000f
jne 0x43b78f
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.0043af80
add esp, 0x18
mov esi, edi
jmp 0x43bf51
test esi, esi
jns 0x43b665
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.0043af80
add esp, 0x18
mov esi, edi
jmp 0x43bf51
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 0x43b804
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 0x43b82c
push str.DriverKSystemInformer
call sym.SystemInformer.exe_PhCreateString
mov ecx, edi
mov edi, eax
mov dword [esp + 0x50], edi
test ecx, ecx
je 0x43b82c
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b82c
call fcn.004fbd80
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 0x43b871
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 0x43b88f
mov eax, esi
xor esi, esi
mov dword [esp + 0x20], esi
test eax, eax
je 0x43b88f
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b88f
call fcn.004fbd80
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 0x43b8d4
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 0x43b8fa
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x43b8fa
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b8f6
call fcn.004fbd80
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 0x43b965
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 0x43b98b
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 0x43b9b0
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], 0x43b260
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.00523280
mov edi, eax
cmp edi, 0xc000000f
jne 0x43bbfe
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 0x43ba9c
push dword [esi + 4]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
je 0x43ba8e
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], esi
call fcn.00523280
mov edi, eax
push esi
call sym.SystemInformer.exe_PhDereferenceObject
test edi, edi
jns 0x43bc2d
mov esi, dword [esp + 0x40]
test esi, esi
je 0x43bc04
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 0x43bb84
test esi, esi
je 0x43bb6d
mov edx, dword [esi + 4]
jmp 0x43bb6f
xor edx, edx
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [eax + 4]
call fcn.0051b9a0
mov edi, eax
test edi, edi
jns 0x43bba0
test esi, esi
je 0x43bb9a
lea ecx, [esi - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43bb9a
call fcn.004fbd80
test edi, edi
js 0x43bc04
xor esi, esi
test esi, esi
je 0x43bba9
mov edx, dword [esi + 4]
jmp 0x43bbab
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 0x43bbc0
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.00523280
push esi
mov edi, eax
call sym.SystemInformer.exe_PhDereferenceObject
mov edi, edi
test edi, edi
jns 0x43bc2d
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.0043af80
add esp, 0x18
jmp 0x43beca
push 0x635f38
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov dword ds:[esp + 0x10], eax
test eax, eax
je 0x43bc4d
lock dec dword [0x635f40]
jmp 0x43bc6a
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.00571ec0
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.00538620
mov eax, dword [0x635f40]
push dword [esp + 0x10]
cmp eax, dword [0x635f44]
jae 0x43bcc2
push 0x635f38
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x635f40]
nop
jmp 0x43bcd0
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, ebx
call fcn.00523e80
mov ecx, dword fs:[0x18]
mov dword [0x635f50], eax
mov ecx, dword [ecx + 0x30]
cmp byte [ecx + 2], 0
jne 0x43bd47
cmp eax, 5
je 0x43bd50
cmp eax, 4
jne 0x43bd0c
test dword [0x633530], 0x2000
jne 0x43bd35
mov dword [esp + 0x34], str.__kx
jmp 0x43bd22
jge 0x43bd35
test dword [0x633530], 0x3000
jne 0x43bd35
mov dword [esp + 0x34], str.__kh
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 8
call fcn.0043afe0
mov edi, eax
test edi, edi
jns 0x43beca
push str.Unable_to_restart.
jmp 0x43bc09
cmp eax, 5
jne 0x43beca
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 0x43bded
push 0x635f38
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x43bd8d
lock dec dword [0x635f40]
jmp 0x43bda8
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.00571ec0
lea ecx, [edi + 8]
call fcn.00538620
mov eax, dword [0x635f40]
push edi
cmp eax, dword [0x635f44]
jae 0x43bddf
push 0x635f38
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x635f40]
jmp 0x43bded
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 0x43be27
sub eax, 1
jne 0x43beca
mov dword [esp + 0x48], 0xc11
mov dword [esp + 0x44], 0x104b
jmp 0x43be37
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 0x43be55
lock dec dword [0x635f40]
jmp 0x43be6e
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.00571ec0
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.00538620
mov eax, dword [0x635f40]
push edi
cmp eax, dword [0x635f44]
jae 0x43bebc
push 0x635f38
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x635f40]
jmp 0x43beca
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x43bee5
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43bee5
nop
call fcn.004fbd80
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x43beff
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43beff
call fcn.004fbd80
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x43bf19
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43bf19
call fcn.004fbd80
mov ecx, dword [esp + 0x28]
mov eax, ebx
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43bf2f
call fcn.004fbd80
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43bf49
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43bf49
call fcn.004fbd80
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x43bf69
lea ecx, [eax - 8]
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x43bf69
call fcn.004fbd80
test edi, edi
je 0x43bf7c
push edi
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea esp, [esp]
test esi, esi
je 0x43bf93
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.0057e94f
mov esp, ebp
pop ebp
ret