Function at 0x40c3e0
Capabilities:
Copy file
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c784d
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x524], ecx
mov dword [ebp - 0x238], 0
mov eax, 0x30
mov word [ebp - 0x224], ax
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004931a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x14]
call fcn.00412290
mov dword [ebp - 4], 0
mov ecx, 0x506c08
call fcn.0043cbb0
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x234]
push ecx
mov ecx, 0x506c08
call fcn.00433540
mov byte [ebp - 4], 1
lea edx, [ebp - 0x228]
push edx
mov ecx, 0x506c08
call fcn.00432f50
mov byte [ebp - 4], 2
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x22c]
call fcn.00412940
mov byte [ebp - 4], 3
cmp dword [ebp - 0x230], 0
je 0x40c520
push str.MediaSecX64_
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x528], eax
mov edx, dword [ebp - 0x528]
mov dword [ebp - 0x2e0], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00412a10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x244]
sub ecx, 0x10
mov dword [ebp - 0x2e4], ecx
mov ecx, dword [ebp - 0x2e4]
call fcn.004029d0
jmp 0x40c581
push str.MediaSecX86_
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp - 0x52c]
mov dword [ebp - 0x2e8], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2e8]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00412a10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x248]
sub eax, 0x10
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
call fcn.004029d0
push str.System32DriversDvcLock.sys
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.0040f270
add esp, 0xc
mov byte [ebp - 4], 6
push 0x80
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x4d33a8
lea ecx, [ebp - 0x24c]
call fcn.00412370
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
mov edx, dword [ecx]
mov dword [ebp - 0x2f8], edx
mov eax, dword [ebp - 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x250]
sub ecx, 0x10
mov dword [ebp - 0x2fc], ecx
mov ecx, dword [ebp - 0x2fc]
call fcn.004029d0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x24c]
sub edx, 0x10
mov dword [ebp - 0x300], edx
mov ecx, dword [ebp - 0x300]
call fcn.004029d0
push 0x4d33a8
lea ecx, [ebp - 0x254]
call fcn.00412370
mov byte [ebp - 4], 8
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
mov ecx, dword [eax]
mov dword [ebp - 0x30c], ecx
mov edx, dword [ebp - 0x30c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x258]
sub ecx, 0x10
mov dword [ebp - 0x310], ecx
mov ecx, dword [ebp - 0x310]
call fcn.004029d0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x254]
sub edx, 0x10
mov dword [ebp - 0x314], edx
mov ecx, dword [ebp - 0x314]
call fcn.004029d0
push str.System32DriversDeviceLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x25c]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x530], eax
mov edx, dword [ebp - 0x530]
mov dword [ebp - 0x318], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x318]
push eax
lea ecx, [ebp - 0x10]
call fcn.00412a10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x25c]
sub ecx, 0x10
mov dword [ebp - 0x31c], ecx
mov ecx, dword [ebp - 0x31c]
call fcn.004029d0
push 0x80
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x4d33a8
lea ecx, [ebp - 0x260]
call fcn.00412370
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x324]
mov ecx, dword [eax]
mov dword [ebp - 0x328], ecx
mov edx, dword [ebp - 0x328]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x264]
sub eax, 0x10
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x32c]
call fcn.004029d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x260]
sub ecx, 0x10
mov dword [ebp - 0x330], ecx
mov ecx, dword [ebp - 0x330]
call fcn.004029d0
push 0x4d33a8
lea ecx, [ebp - 0x268]
call fcn.00412370
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x26c]
push ecx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x338], eax
mov edx, dword [ebp - 0x338]
mov eax, dword [edx]
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [ebp - 0x26c]
sub eax, 0x10
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
call fcn.004029d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x268]
sub ecx, 0x10
mov dword [ebp - 0x344], ecx
mov ecx, dword [ebp - 0x344]
call fcn.004029d0
cmp dword [ebp - 0x230], 0
je 0x40c883
push 0
call fcn.0043cd80
add esp, 4
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x40c86f
push str.UpdateMediaSecDriversPath_WowFsRedirection__FALSE__Succeed.
mov edx, dword [ebp - 0x524]
push edx
call fcn.00401a70
add esp, 8
jmp 0x40c883
push str.UpdateMediaSecDriversPath_WowFsRedirection__FALSE__Fail.
mov eax, dword [ebp - 0x524]
push eax
call fcn.00401a70
add esp, 8
cmp dword [ebp - 0x230], 0
je 0x40c954
push str.System32DriversDvcLock.sys
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x270]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x534], eax
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 0xc
push str.DeviceLock.sys
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x274]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax]
mov dword [ebp - 0x34c], ecx
mov edx, dword [ebp - 0x350]
mov eax, dword [edx]
mov dword [ebp - 0x354], eax
push 0
mov ecx, dword [ebp - 0x34c]
push ecx
mov edx, dword [ebp - 0x354]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x274]
sub eax, 0x10
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x358]
call fcn.004029d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x270]
sub ecx, 0x10
mov dword [ebp - 0x35c], ecx
mov ecx, dword [ebp - 0x35c]
call fcn.004029d0
jmp 0x40ce80
mov edx, 0x4d2a4c
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x360], edx
jne 0x40c977
push 0x80004005
call fcn.00405b70
xor eax, eax
jne 0x40c954
xor ecx, ecx
jne 0x40c97b
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x364], edx
push 0x4d2a4c
mov eax, dword [ebp - 0x364]
push eax
call fcn.00494296
add esp, 8
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0
jne 0x40ca67
push str.System32DriversDvcLock.sys
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x278]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x538], eax
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x36c], eax
mov byte [ebp - 4], 0xd
push str.DeviceLock2k.sys
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax]
mov dword [ebp - 0x370], ecx
mov edx, dword [ebp - 0x374]
mov eax, dword [edx]
mov dword [ebp - 0x378], eax
push 0
mov ecx, dword [ebp - 0x370]
push ecx
mov edx, dword [ebp - 0x378]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x27c]
sub eax, 0x10
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp - 0x37c]
call fcn.004029d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x278]
call fcn.004129d0
jmp 0x40ce80
mov ecx, 0x4d2a40
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x384], ecx
jne 0x40ca8a
push 0x80004005
call fcn.00405b70
xor edx, edx
jne 0x40ca67
xor eax, eax
jne 0x40ca8e
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x388], ecx
push 0x4d2a40
mov edx, dword [ebp - 0x388]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x38c], eax
cmp dword [ebp - 0x38c], 0
je 0x40cb1f
mov eax, 0x4d2a28
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x390], eax
jne 0x40cae4
push 0x80004005
call fcn.00405b70
xor ecx, ecx
jne 0x40cac1
xor edx, edx
jne 0x40cae8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x394], eax
push 0x4d2a28
mov ecx, dword [ebp - 0x394]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x398], eax
cmp dword [ebp - 0x398], 0
jne 0x40cbc5
push str.System32DriversDvcLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x280]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x53c], eax
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x39c], ecx
mov byte [ebp - 4], 0xe
push str.DeviceLockxp.sys
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x284]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x3a4], eax
mov ecx, dword [ebp - 0x39c]
mov edx, dword [ecx]
mov dword [ebp - 0x3a0], edx
mov eax, dword [ebp - 0x3a4]
mov ecx, dword [eax]
mov dword [ebp - 0x3a8], ecx
push 0
mov edx, dword [ebp - 0x3a0]
push edx
mov eax, dword [ebp - 0x3a8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x284]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.004129d0
jmp 0x40ce80
mov ecx, 0x4d2a14
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x3b4], ecx
jne 0x40cbe8
push 0x80004005
call fcn.00405b70
xor edx, edx
jne 0x40cbc5
xor eax, eax
jne 0x40cbec
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x3b8], ecx
push 0x4d2a14
mov edx, dword [ebp - 0x3b8]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x3bc], eax
cmp dword [ebp - 0x3bc], 0
jne 0x40ccc9
push str.System32DriversDeviceLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x540], eax
mov edx, dword [ebp - 0x540]
mov dword [ebp - 0x3c0], edx
mov byte [ebp - 4], 0xf
push str.DeviceLockLH.sys
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x3c8], eax
mov edx, dword [ebp - 0x3c0]
mov eax, dword [edx]
mov dword [ebp - 0x3c4], eax
mov ecx, dword [ebp - 0x3c8]
mov edx, dword [ecx]
mov dword [ebp - 0x3cc], edx
push 0
mov eax, dword [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x3cc]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x28c]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x288]
call fcn.004129d0
jmp 0x40ce80
mov edx, 0x4d2a00
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x3d8], edx
jne 0x40ccec
push 0x80004005
call fcn.00405b70
xor eax, eax
jne 0x40ccc9
xor ecx, ecx
jne 0x40ccf0
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x3dc], edx
push 0x4d2a00
mov eax, dword [ebp - 0x3dc]
push eax
call fcn.00494296
add esp, 8
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
je 0x40cddf
mov ecx, 0x4d29ec
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x3e4], ecx
jne 0x40cd4a
push 0x80004005
call fcn.00405b70
xor edx, edx
jne 0x40cd27
xor eax, eax
jne 0x40cd4e
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x3e8], ecx
push 0x4d29ec
mov edx, dword [ebp - 0x3e8]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 0
je 0x40cddf
mov eax, 0x4d29d8
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x3f0], eax
jne 0x40cda4
push 0x80004005
call fcn.00405b70
xor ecx, ecx
jne 0x40cd81
xor edx, edx
jne 0x40cda8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x3f4], eax
push 0x4d29d8
mov ecx, dword [ebp - 0x3f4]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x3f8], 0
jne 0x40ce80
push str.System32DriversDeviceLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x290]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x544], eax
mov ecx, dword [ebp - 0x544]
mov dword [ebp - 0x3fc], ecx
mov byte [ebp - 4], 0x10
push str.DeviceLockW7.sys
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x294]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x3fc]
mov edx, dword [ecx]
mov dword [ebp - 0x400], edx
mov eax, dword [ebp - 0x404]
mov ecx, dword [eax]
mov dword [ebp - 0x408], ecx
push 0
mov edx, dword [ebp - 0x400]
push edx
mov eax, dword [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x294]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x290]
call fcn.004129d0
push str.System32DriversRegLock.sys
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x298]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x548], eax
mov eax, dword [ebp - 0x548]
mov dword [ebp - 0x414], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00412a10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x298]
call fcn.004129d0
push 0x80
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x4d33a8
lea ecx, [ebp - 0x29c]
call fcn.00412370
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x2a0]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax]
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2a0]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x29c]
call fcn.004129d0
push 0x4d33a8
lea ecx, [ebp - 0x2a4]
call fcn.00412370
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x2a8]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
mov dword [ebp - 0x438], ecx
mov edx, dword [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x2a8]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2a4]
call fcn.004129d0
cmp dword [ebp - 0x230], 0
je 0x40d05e
push str.System32DriversRegLock.sys
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x2ac]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x54c], eax
mov eax, dword [ebp - 0x54c]
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 0x14
push str.reglock.sys
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x2b0]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax]
mov dword [ebp - 0x448], ecx
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx]
mov dword [ebp - 0x450], eax
push 0
mov ecx, dword [ebp - 0x448]
push ecx
mov edx, dword [ebp - 0x450]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2b0]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2ac]
call fcn.004129d0
jmp 0x40d563
mov eax, 0x4d2a4c
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x45c], eax
jne 0x40d081
push 0x80004005
call fcn.00405b70
xor ecx, ecx
jne 0x40d05e
xor edx, edx
jne 0x40d085
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x460], eax
push 0x4d2a4c
mov ecx, dword [ebp - 0x460]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
jne 0x40d15c
push str.System32DriversRegLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2b4]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x550], eax
mov ecx, dword [ebp - 0x550]
mov dword [ebp - 0x468], ecx
mov byte [ebp - 4], 0x15
push str.reglock2K.sys
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x2b8]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x468]
mov edx, dword [ecx]
mov dword [ebp - 0x46c], edx
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax]
mov dword [ebp - 0x474], ecx
push 0
mov edx, dword [ebp - 0x46c]
push edx
mov eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2b8]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b4]
call fcn.004129d0
jmp 0x40d563
mov ecx, 0x4d2a40
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x480], ecx
jne 0x40d17f
push 0x80004005
call fcn.00405b70
xor edx, edx
jne 0x40d15c
xor eax, eax
jne 0x40d183
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x484], ecx
push 0x4d2a40
mov edx, dword [ebp - 0x484]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
je 0x40d214
mov eax, 0x4d2a28
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x48c], eax
jne 0x40d1d9
push 0x80004005
call fcn.00405b70
xor ecx, ecx
jne 0x40d1b6
xor edx, edx
jne 0x40d1dd
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x490], eax
push 0x4d2a28
mov ecx, dword [ebp - 0x490]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x494], eax
cmp dword [ebp - 0x494], 0
jne 0x40d2b4
push str.System32DriversRegLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2bc]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x554], eax
mov ecx, dword [ebp - 0x554]
mov dword [ebp - 0x498], ecx
mov byte [ebp - 4], 0x16
push str.RegLockXP.sys
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x2c0]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x4a0], eax
mov ecx, dword [ebp - 0x498]
mov edx, dword [ecx]
mov dword [ebp - 0x49c], edx
mov eax, dword [ebp - 0x4a0]
mov ecx, dword [eax]
mov dword [ebp - 0x4a4], ecx
push 0
mov edx, dword [ebp - 0x49c]
push edx
mov eax, dword [ebp - 0x4a4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2c0]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2bc]
call fcn.004129d0
jmp 0x40d563
mov ecx, 0x4d2a14
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x4b0], ecx
jne 0x40d2d7
push 0x80004005
call fcn.00405b70
xor edx, edx
jne 0x40d2b4
xor eax, eax
jne 0x40d2db
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x4b4], ecx
push 0x4d2a14
mov edx, dword [ebp - 0x4b4]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x4b8], eax
cmp dword [ebp - 0x4b8], 0
jne 0x40d3b2
push str.System32DriversRegLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x558], eax
mov edx, dword [ebp - 0x558]
mov dword [ebp - 0x4bc], edx
mov byte [ebp - 4], 0x17
push str.RegLockLH.sys
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x4c4], eax
mov edx, dword [ebp - 0x4bc]
mov eax, dword [edx]
mov dword [ebp - 0x4c0], eax
mov ecx, dword [ebp - 0x4c4]
mov edx, dword [ecx]
mov dword [ebp - 0x4c8], edx
push 0
mov eax, dword [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x4c8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2c8]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c4]
call fcn.004129d0
jmp 0x40d563
mov edx, 0x4d2a00
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x4d4], edx
jne 0x40d3d5
push 0x80004005
call fcn.00405b70
xor eax, eax
jne 0x40d3b2
xor ecx, ecx
jne 0x40d3d9
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x4d8], edx
push 0x4d2a00
mov eax, dword [ebp - 0x4d8]
push eax
call fcn.00494296
add esp, 8
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
je 0x40d4c8
mov ecx, 0x4d29ec
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x4e0], ecx
jne 0x40d433
push 0x80004005
call fcn.00405b70
xor edx, edx
jne 0x40d410
xor eax, eax
jne 0x40d437
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x4e4], ecx
push 0x4d29ec
mov edx, dword [ebp - 0x4e4]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x4e8], eax
cmp dword [ebp - 0x4e8], 0
je 0x40d4c8
mov eax, 0x4d29d8
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x4ec], eax
jne 0x40d48d
push 0x80004005
call fcn.00405b70
xor ecx, ecx
jne 0x40d46a
xor edx, edx
jne 0x40d491
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x4f0], eax
push 0x4d29d8
mov ecx, dword [ebp - 0x4f0]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x4f4], eax
cmp dword [ebp - 0x4f4], 0
jne 0x40d563
push str.System32DriversRegLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2cc]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x55c], eax
mov ecx, dword [ebp - 0x55c]
mov dword [ebp - 0x4f8], ecx
mov byte [ebp - 4], 0x18
push str.RegLockLH.sys
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x2d0]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x500], eax
mov ecx, dword [ebp - 0x4f8]
mov edx, dword [ecx]
mov dword [ebp - 0x4fc], edx
mov eax, dword [ebp - 0x500]
mov ecx, dword [eax]
mov dword [ebp - 0x504], ecx
push 0
mov edx, dword [ebp - 0x4fc]
push edx
mov eax, dword [ebp - 0x504]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2d0]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2cc]
call fcn.004129d0
cmp dword [ebp - 0x230], 0
je 0x40d5af
push 1
call fcn.0043cd80
add esp, 4
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x40d59b
push str.UpdateMediaSecDriversPath_WowFsRedirection__TRUE__Succeed.
mov ecx, dword [ebp - 0x524]
push ecx
call fcn.00401a70
add esp, 8
jmp 0x40d5af
push str.UpdateMediaSecDriversPath_WowFsRedirection__TRUE__Fail.
mov edx, dword [ebp - 0x524]
push edx
call fcn.00401a70
add esp, 8
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.004129d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret