Function at 0x439ac0
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 + 0x2c], ecx
push edi
mov dword [esp + 0x48], 0
mov word [esp + 0x76], ax
mov dword [esp + 0x38], eax
call sym.SystemInformer.exe_PhGetApplicationDirectoryWin32
mov ebx, eax
test ebx, ebx
je 0x439b5d
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 + 0x40], esi
push dword [esi + 4]
call fcn.005831c0
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 + 0x38]
test ebx, ebx
je 0x439b5d
push ebx
call sym.SystemInformer.exe_PhDeleteDirectoryWin32
mov dword [esp + 0x38], 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.00439860
mov esi, eax
or ebx, 0xffffffff
mov eax, dword [esp + 0x18]
test esi, esi
js 0x439c84
mov ecx, dword ds:[esp + 0x28]
mov edx, ecx
mov dword [esp + 0x3c], ecx
mov ecx, eax
call fcn.00439960
mov esi, eax
test esi, esi
js 0x439c80
lea eax, ds:[esp + 0x28]
mov ecx, str.ksidyn.sig
push eax
lea edx, [esp + 0x20]
call fcn.00439860
mov esi, eax
test esi, esi
js 0x439c7c
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
jne 0x439bed
mov edi, dword [esp + 0x1c]
mov esi, 0xe0020004
jmp 0x439c84
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
call fcn.004397a0
mov dword [esp + 0x28], eax
test eax, eax
je 0x43a42f
call sym.SystemInformer.exe_PhGetApplicationFileNameWin32
mov esi, eax
mov edx, 0x62e3e0
mov ecx, esi
call fcn.004f5960
mov edi, eax
lea ecx, [esi - 8]
mov dword [esp + 0x48], edi
mov edx, ebx
lock xadd dword [ecx + 4], edx
dec edx
jne 0x439c3d
call fcn.004fbfa0
lea ecx, [ecx]
test edi, edi
je 0x43a419
push dword [edi + 4]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
jne 0x439d55
push str.The_kernel_driver_was_not_found.
push str.Unable_to_load_kernel_driver
push 0
push 0
push 0xfffe
push dword [esp + 0x44]
call fcn.00439540
add esp, 0x18
jmp 0x43a419
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x439c97
push eax
push 0
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test edi, edi
je 0x439caa
push edi
push 0
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], 0
mov edi, eax
cmp esi, 0xe0020001
jne 0x439cef
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 + 0x44]
call fcn.00439540
add esp, 0x18
xor esi, esi
jmp 0x43a451
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], edi
cmp esi, 0xc000000f
jne 0x439d25
push str.The_dynamic_configuration_was_not_found.
push str.Unable_to_load_kernel_driver
push 0
push 0
push 0xfffe
push dword [esp + 0x44]
call fcn.00439540
add esp, 0x18
mov esi, edi
jmp 0x43a451
test esi, esi
jns 0x439c01
push str.Failed_to_access_the_dynamic_configuration.
push str.Unable_to_load_kernel_driver
push 0
push esi
push 0xfffe
push dword [esp + 0x44]
lfence
call fcn.00439540
add esp, 0x18
mov esi, edi
jmp 0x43a451
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 0x439d9a
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 + 0x54], edi
cmp dword [edi], 0
jne 0x439dc5
push str.DriverKSystemInformer
nop
call sym.SystemInformer.exe_PhCreateString
mov ecx, edi
mov edi, eax
mov dword [esp + 0x54], edi
test ecx, ecx
je 0x439dc5
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x439dc5
mov edi, edi
call fcn.004fbfa0
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 0x439e0a
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 0x439e28
mov eax, esi
xor esi, esi
mov dword [esp + 0x20], esi
test eax, eax
je 0x439e28
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x439e28
call fcn.004fbfa0
lea eax, ds:[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 0x439e70
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 0x439e92
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x439e92
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x439e8e
call fcn.004fbfa0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x14], 0x3a
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], 0x439820
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 + 0x58]
mov dword [esp + 0x6c], eax
mov al, byte [0x632af9]
mov byte [esp + 0x74], al
mov al, byte [0x632af8]
mov byte [esp + 0x75], al
call fcn.005237a0
mov edi, eax
cmp edi, 0xc000000f
jne 0x43a0fe
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 0x439f9c
push dword [esi + 4]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
je 0x439f8e
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], esi
call fcn.005237a0
mov edi, eax
push esi
call sym.SystemInformer.exe_PhDereferenceObject
test edi, edi
jns 0x43a12d
mov esi, dword [esp + 0x38]
test esi, esi
je 0x43a104
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 [0x62e3e0]
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 + 0x38]
push eax
call sym.SystemInformer.exe_PhCreateDirectoryWin32
mov edi, eax
test edi, edi
js 0x43a084
test esi, esi
je 0x43a06d
mov edx, dword [esi + 4]
jmp 0x43a06f
xor edx, edx
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [eax + 4]
call fcn.0051c180
mov edi, eax
test edi, edi
jns 0x43a0a0
test esi, esi
je 0x43a09a
lea ecx, [esi - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43a09a
call fcn.004fbfa0
test edi, edi
js 0x43a104
xor esi, esi
test esi, esi
je 0x43a0a9
mov edx, dword [esi + 4]
jmp 0x43a0ab
xor edx, edx
mov ecx, edx
mov dword [esp + 0x40], 0x3c
mov dword [esp + 0x44], str.KsiPreviousTemporaryDriverFile
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a0c0
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 + 0x44]
push eax
call sym.SystemInformer.exe_PhSetStringRefSetting
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], esi
call fcn.005237a0
push esi
mov edi, eax
call sym.SystemInformer.exe_PhDereferenceObject
mov edi, edi
test edi, edi
jns 0x43a12d
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 + 0x44]
lfence
call fcn.00439540
add esp, 0x18
jmp 0x43a3ca
push 0x6355d8
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov dword ds:[esp + 0x10], eax
test eax, eax
je 0x43a14d
lock dec dword [0x6355e0]
jmp 0x43a16a
mov eax, dword [0x6355e8]
add eax, 8
push eax
push 4
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esp + 0x10], eax
lea esi, [eax + 8]
mov edx, 0x22
mov ecx, esi
call fcn.00571700
mov eax, dword [esp + 0x34]
mov ecx, esi
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x20], eax
call fcn.00538f20
mov eax, dword [0x6355e0]
push dword [esp + 0x10]
cmp eax, dword [0x6355e4]
jae 0x43a1c2
push 0x6355d8
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x6355e0]
nop
jmp 0x43a1d0
push 0
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, ebx
call fcn.00524380
mov ecx, dword fs:[0x18]
mov dword [0x6355f0], eax
mov ecx, dword [ecx + 0x30]
cmp byte [ecx + 2], 0
jne 0x43a247
cmp eax, 5
je 0x43a250
cmp eax, 4
jne 0x43a20c
test dword [0x632c50], 0x2000
jne 0x43a235
mov dword [esp + 0x44], str.__kx
jmp 0x43a222
jge 0x43a235
test dword [0x632c50], 0x3000
jne 0x43a235
mov dword [esp + 0x44], str.__kh
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 8
call fcn.004395a0
mov edi, eax
test edi, edi
jns 0x43a3ca
push str.Unable_to_restart.
jmp 0x43a109
cmp eax, 5
jne 0x43a3ca
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0x32
push eax
mov dword [esp + 0x48], str.KsiEnableUnloadProtection
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x43a2ea
push 0x6355d8
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x43a288
lock dec dword [0x6355e0]
jmp 0x43a2a1
mov eax, dword [0x6355e8]
add eax, 8
push eax
push 4
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
mov edx, 0x1f
lea ecx, [edi + 8]
call fcn.00571700
lea ecx, [edi + 8]
call fcn.00538f20
mov eax, dword [0x6355e0]
push edi
cmp eax, dword [0x6355e4]
jae 0x43a2dc
push 0x6355d8
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x6355e0]
jmp 0x43a2ea
push 0
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, ds:[esp + 0x4c]
mov dword [esp + 0x4c], 0x3e
push eax
mov dword [esp + 0x54], str.KsiClientProcessProtectionLevel
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
sub eax, 1
je 0x43a325
sub eax, 1
jne 0x43a3ca
mov dword [esp + 0x4c], 0xc11
mov dword [esp + 0x3c], 0x104b
jmp 0x43a335
mov dword [esp + 0x4c], 0x801
mov dword [esp + 0x3c], 0x1003
push 0x6355d8
lea ebx, [ebx]
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x43a355
lock dec dword [0x6355e0]
jmp 0x43a36e
mov eax, dword [0x6355e8]
add eax, 8
push eax
push 4
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
mov edx, 0x28
lea ecx, [edi + 8]
call fcn.00571700
mov eax, dword [esp + 0x4c]
lea ecx, [edi + 8]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x24], eax
call fcn.00538f20
mov eax, dword [0x6355e0]
push edi
cmp eax, dword [0x6355e4]
jae 0x43a3bc
push 0x6355d8
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x6355e0]
jmp 0x43a3ca
push 0
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x43a3e5
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43a3e5
nop
call fcn.004fbfa0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x43a3ff
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43a3ff
call fcn.004fbfa0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x43a419
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43a419
call fcn.004fbfa0
mov ecx, dword [esp + 0x28]
mov eax, ebx
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43a42f
call fcn.004fbfa0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x43a449
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43a449
call fcn.004fbfa0
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x43a469
lea ecx, [eax - 8]
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x43a469
call fcn.004fbfa0
test edi, edi
je 0x43a47c
push edi
push 0
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea esp, [esp]
test esi, esi
je 0x43a493
push esi
push 0
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword ds:[esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret