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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca8ae
mov eax, dword fs:[0]
push eax
sub esp, 0x5d0
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 - 0x5a0], ecx
mov eax, dword [ebp - 0x5a0]
cmp dword [eax + 0xa8], 0
jne 0x440085
jmp 0x44142e
mov ecx, 0x30
mov word [ebp - 0x224], cx
push 0x206
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.004931a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00412290
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.00452618
mov byte [ebp - 4], 1
push str.System32DriversDvcLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5a4], eax
mov ecx, dword [ebp - 0x5a4]
mov dword [ebp - 0x308], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x308]
mov eax, dword [edx]
mov dword [ebp - 0x30c], eax
push 0
mov ecx, dword [ebp - 0x30c]
push ecx
lea ecx, [ebp - 0x244]
call fcn.004526d5
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x248]
sub edx, 0x10
mov dword [ebp - 0x310], edx
mov ecx, dword [ebp - 0x310]
call fcn.004029d0
lea ecx, [ebp - 0x244]
call fcn.00452139
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x228]
call fcn.00412940
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5a0]
call fcn.0043cbb0
test eax, eax
je 0x4401e9
push str.MediaSecX64_
mov eax, dword [ebp - 0x5a0]
add eax, 0xc4
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5a8], eax
mov edx, dword [ebp - 0x5a8]
mov dword [ebp - 0x314], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x314]
push eax
lea ecx, [ebp - 0x228]
call fcn.00412a10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24c]
sub ecx, 0x10
mov dword [ebp - 0x318], ecx
mov ecx, dword [ebp - 0x318]
call fcn.004029d0
jmp 0x440250
push str.MediaSecX86_
mov edx, dword [ebp - 0x5a0]
add edx, 0xc4
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5ac], eax
mov ecx, dword [ebp - 0x5ac]
mov dword [ebp - 0x31c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x31c]
push edx
lea ecx, [ebp - 0x228]
call fcn.00412a10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x250]
sub eax, 0x10
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x320]
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 - 0x254]
call fcn.00412370
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x258]
push eax
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x328]
mov edx, dword [ecx]
mov dword [ebp - 0x32c], edx
mov eax, dword [ebp - 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x258]
sub ecx, 0x10
mov dword [ebp - 0x330], ecx
mov ecx, dword [ebp - 0x330]
call fcn.004029d0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x254]
sub edx, 0x10
mov dword [ebp - 0x334], edx
mov ecx, dword [ebp - 0x334]
call fcn.004029d0
push 0x4d33a8
lea ecx, [ebp - 0x260]
call fcn.00412370
mov byte [ebp - 4], 8
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 - 0x33c], eax
mov eax, dword [ebp - 0x33c]
mov ecx, dword [eax]
mov dword [ebp - 0x340], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x344], edx
mov eax, dword [ebp - 0x340]
push eax
mov ecx, dword [ebp - 0x344]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x264]
sub edx, 0x10
mov dword [ebp - 0x348], edx
mov ecx, dword [ebp - 0x348]
call fcn.004029d0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x260]
sub eax, 0x10
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
call fcn.004029d0
cmp dword [ebp - 0x25c], 0
je 0x440434
push 0x4d33a8
lea ecx, [ebp - 0x268]
call fcn.00412370
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x354]
mov edx, dword [ecx]
mov dword [ebp - 0x358], edx
push 4
push 0
mov eax, dword [ebp - 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x26c]
sub ecx, 0x10
mov dword [ebp - 0x35c], ecx
mov ecx, dword [ebp - 0x35c]
call fcn.004029d0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x268]
sub edx, 0x10
mov dword [ebp - 0x360], edx
mov ecx, dword [ebp - 0x360]
call fcn.004029d0
push str.System32DriversDeviceLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5b0], eax
mov edx, dword [ebp - 0x5b0]
mov dword [ebp - 0x364], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x364]
push eax
lea ecx, [ebp - 0x10]
call fcn.00412a10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x270]
sub ecx, 0x10
mov dword [ebp - 0x368], ecx
mov ecx, dword [ebp - 0x368]
call fcn.004029d0
push 0x80
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x4d33a8
lea ecx, [ebp - 0x274]
call fcn.00412370
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x278]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax]
mov dword [ebp - 0x374], ecx
mov edx, dword [ebp - 0x374]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x278]
sub eax, 0x10
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
call fcn.004029d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x274]
sub ecx, 0x10
mov dword [ebp - 0x37c], ecx
mov ecx, dword [ebp - 0x37c]
call fcn.004029d0
push 0x4d33a8
lea ecx, [ebp - 0x280]
call fcn.00412370
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x384], eax
mov edx, dword [ebp - 0x384]
mov eax, dword [edx]
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38c], ecx
mov edx, dword [ebp - 0x388]
push edx
mov eax, dword [ebp - 0x38c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x284]
sub ecx, 0x10
mov dword [ebp - 0x390], ecx
mov ecx, dword [ebp - 0x390]
call fcn.004029d0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x280]
sub edx, 0x10
mov dword [ebp - 0x394], edx
mov ecx, dword [ebp - 0x394]
call fcn.004029d0
cmp dword [ebp - 0x27c], 0
je 0x44065a
push 0x4d33a8
lea ecx, [ebp - 0x288]
call fcn.00412370
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x28c]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x39c]
mov ecx, dword [eax]
mov dword [ebp - 0x3a0], ecx
push 4
push 0
mov edx, dword [ebp - 0x3a0]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x28c]
sub eax, 0x10
mov dword [ebp - 0x3a4], eax
mov ecx, dword [ebp - 0x3a4]
call fcn.004029d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x288]
sub ecx, 0x10
mov dword [ebp - 0x3a8], ecx
mov ecx, dword [ebp - 0x3a8]
call fcn.004029d0
mov ecx, dword [ebp - 0x5a0]
call fcn.0043cbb0
test eax, eax
je 0x44072b
push str.System32DriversDvcLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x290]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5b4], eax
mov ecx, dword [ebp - 0x5b4]
mov dword [ebp - 0x3ac], ecx
mov byte [ebp - 4], 0xe
push str.DeviceLock.sys
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x294]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x3ac]
mov edx, dword [ecx]
mov dword [ebp - 0x3b0], edx
mov eax, dword [ebp - 0x3b4]
mov ecx, dword [eax]
mov dword [ebp - 0x3b8], ecx
push 0
mov edx, dword [ebp - 0x3b0]
push edx
mov eax, dword [ebp - 0x3b8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x294]
sub ecx, 0x10
mov dword [ebp - 0x3bc], ecx
mov ecx, dword [ebp - 0x3bc]
call fcn.004029d0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x290]
sub edx, 0x10
mov dword [ebp - 0x3c0], edx
mov ecx, dword [ebp - 0x3c0]
call fcn.004029d0
jmp 0x440c5a
mov eax, 0x4d2a4c
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x3c4], eax
jne 0x44074e
push 0x80004005
call fcn.00405b70
xor ecx, ecx
jne 0x44072b
xor edx, edx
jne 0x440752
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x3c8], ecx
push 0x4d2a4c
mov edx, dword [ebp - 0x3c8]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x3cc], eax
cmp dword [ebp - 0x3cc], 0
jne 0x44082f
push str.System32DriversDvcLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x298]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5b8], eax
mov edx, dword [ebp - 0x5b8]
mov dword [ebp - 0x3d0], edx
mov byte [ebp - 4], 0xf
push str.DeviceLock2k.sys
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x29c]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x3d8], eax
mov edx, dword [ebp - 0x3d0]
mov eax, dword [edx]
mov dword [ebp - 0x3d4], eax
mov ecx, dword [ebp - 0x3d8]
mov edx, dword [ecx]
mov dword [ebp - 0x3dc], edx
push 0
mov eax, dword [ebp - 0x3d4]
push eax
mov ecx, dword [ebp - 0x3dc]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x29c]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x298]
call fcn.004129d0
jmp 0x440c5a
mov edx, 0x4d2a40
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x3e8], edx
jne 0x440852
push 0x80004005
call fcn.00405b70
xor eax, eax
jne 0x44082f
xor ecx, ecx
jne 0x440856
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x3ec], eax
push 0x4d2a40
mov ecx, dword [ebp - 0x3ec]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f0], 0
je 0x4408f3
mov edx, 0x4d2a28
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x3f4], edx
jne 0x4408b2
push 0x80004005
call fcn.00405b70
xor eax, eax
jne 0x44088f
xor ecx, ecx
jne 0x4408b6
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x3f8], eax
push 0x4d2a28
mov ecx, dword [ebp - 0x3f8]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0
jne 0x440993
push str.System32DriversDvcLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5bc], eax
mov ecx, dword [ebp - 0x5bc]
mov dword [ebp - 0x400], ecx
mov byte [ebp - 4], 0x10
push str.DeviceLockxp.sys
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x400]
mov edx, dword [ecx]
mov dword [ebp - 0x404], edx
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax]
mov dword [ebp - 0x40c], ecx
push 0
mov edx, dword [ebp - 0x404]
push edx
mov eax, dword [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2a4]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2a0]
call fcn.004129d0
jmp 0x440c5a
mov ecx, 0x4d2a14
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x418], ecx
jne 0x4409b6
push 0x80004005
call fcn.00405b70
xor edx, edx
jne 0x440993
xor eax, eax
jne 0x4409ba
mov ecx, dword [ebp - 0x5a0]
mov edx, dword [ecx + 0xd0]
mov dword [ebp - 0x41c], edx
push 0x4d2a14
mov eax, dword [ebp - 0x41c]
push eax
call fcn.00494296
add esp, 8
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x440a97
push str.System32DriversDeviceLock.sys
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x2a8]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5c0], eax
mov eax, dword [ebp - 0x5c0]
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0x11
push str.DeviceLockLH.sys
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x2ac]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax]
mov dword [ebp - 0x428], ecx
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
mov dword [ebp - 0x430], eax
push 0
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2ac]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2a8]
call fcn.004129d0
jmp 0x440c5a
mov eax, 0x4d2a00
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x43c], eax
jne 0x440aba
push 0x80004005
call fcn.00405b70
xor ecx, ecx
jne 0x440a97
xor edx, edx
jne 0x440abe
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x440], ecx
push 0x4d2a00
mov edx, dword [ebp - 0x440]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
je 0x440bbf
mov eax, 0x4d29ec
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x448], eax
jne 0x440b1e
push 0x80004005
call fcn.00405b70
xor ecx, ecx
jne 0x440afb
xor edx, edx
jne 0x440b22
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x44c], ecx
push 0x4d29ec
mov edx, dword [ebp - 0x44c]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x440bbf
mov eax, 0x4d29d8
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x454], eax
jne 0x440b7e
push 0x80004005
call fcn.00405b70
xor ecx, ecx
jne 0x440b5b
xor edx, edx
jne 0x440b82
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x458], ecx
push 0x4d29d8
mov edx, dword [ebp - 0x458]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jne 0x440c5a
push str.System32DriversDeviceLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5c4], eax
mov edx, dword [ebp - 0x5c4]
mov dword [ebp - 0x460], edx
mov byte [ebp - 4], 0x12
push str.DeviceLockW7.sys
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x468], eax
mov edx, dword [ebp - 0x460]
mov eax, dword [edx]
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x468]
mov edx, dword [ecx]
mov dword [ebp - 0x46c], edx
push 0
mov eax, dword [ebp - 0x464]
push eax
mov ecx, dword [ebp - 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2b4]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b0]
call fcn.004129d0
push str.System32DriversRegLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2b8]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5c8], eax
mov ecx, dword [ebp - 0x5c8]
mov dword [ebp - 0x478], ecx
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x478]
push edx
lea ecx, [ebp - 0x10]
call fcn.00412a10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.004129d0
push 0x80
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x4d33a8
lea ecx, [ebp - 0x2bc]
call fcn.00412370
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2bc]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x2c0]
push eax
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx]
mov dword [ebp - 0x488], edx
mov eax, dword [ebp - 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c0]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2bc]
call fcn.004129d0
push 0x4d33a8
lea ecx, [ebp - 0x2c8]
call fcn.00412370
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2c8]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x2cc]
push eax
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x498], eax
mov ecx, dword [ebp - 0x498]
mov edx, dword [ecx]
mov dword [ebp - 0x49c], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4a0], eax
mov ecx, dword [ebp - 0x49c]
push ecx
mov edx, dword [ebp - 0x4a0]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x2c4], eax
lea ecx, [ebp - 0x2cc]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c8]
call fcn.004129d0
cmp dword [ebp - 0x2c4], 0
je 0x440e13
push 0x4d33a8
lea ecx, [ebp - 0x2d0]
call fcn.00412370
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x2d4]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x4b8]
mov ecx, dword [eax]
mov dword [ebp - 0x4bc], ecx
push 4
push 0
mov edx, dword [ebp - 0x4bc]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x2d4]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2d0]
call fcn.004129d0
mov ecx, dword [ebp - 0x5a0]
call fcn.0043cbb0
test eax, eax
je 0x440ec6
push str.System32DriversRegLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5cc], eax
mov edx, dword [ebp - 0x5cc]
mov dword [ebp - 0x4c8], edx
mov byte [ebp - 4], 0x17
push str.reglock.sys
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2dc]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x4d0], eax
mov edx, dword [ebp - 0x4c8]
mov eax, dword [edx]
mov dword [ebp - 0x4cc], eax
mov ecx, dword [ebp - 0x4d0]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
push 0
mov eax, dword [ebp - 0x4cc]
push eax
mov ecx, dword [ebp - 0x4d4]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2dc]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2d8]
call fcn.004129d0
jmp 0x4413f5
mov edx, 0x4d2a4c
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x4e0], edx
jne 0x440ee9
push 0x80004005
call fcn.00405b70
xor eax, eax
jne 0x440ec6
xor ecx, ecx
jne 0x440eed
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x4e4], eax
push 0x4d2a4c
mov ecx, dword [ebp - 0x4e4]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x4e8], eax
cmp dword [ebp - 0x4e8], 0
jne 0x440fca
push str.System32DriversRegLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2e0]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5d0], eax
mov ecx, dword [ebp - 0x5d0]
mov dword [ebp - 0x4ec], ecx
mov byte [ebp - 4], 0x18
push str.reglock2K.sys
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x2e4]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x4f4], eax
mov ecx, dword [ebp - 0x4ec]
mov edx, dword [ecx]
mov dword [ebp - 0x4f0], edx
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax]
mov dword [ebp - 0x4f8], ecx
push 0
mov edx, dword [ebp - 0x4f0]
push edx
mov eax, dword [ebp - 0x4f8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2e4]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e0]
call fcn.004129d0
jmp 0x4413f5
mov ecx, 0x4d2a40
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x504], ecx
jne 0x440fed
push 0x80004005
call fcn.00405b70
xor edx, edx
jne 0x440fca
xor eax, eax
jne 0x440ff1
mov ecx, dword [ebp - 0x5a0]
mov edx, dword [ecx + 0xd0]
mov dword [ebp - 0x508], edx
push 0x4d2a40
mov eax, dword [ebp - 0x508]
push eax
call fcn.00494296
add esp, 8
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x44108e
mov ecx, 0x4d2a28
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x510], ecx
jne 0x44104d
push 0x80004005
call fcn.00405b70
xor edx, edx
jne 0x44102a
xor eax, eax
jne 0x441051
mov ecx, dword [ebp - 0x5a0]
mov edx, dword [ecx + 0xd0]
mov dword [ebp - 0x514], edx
push 0x4d2a28
mov eax, dword [ebp - 0x514]
push eax
call fcn.00494296
add esp, 8
mov dword [ebp - 0x518], eax
cmp dword [ebp - 0x518], 0
jne 0x44112e
push str.System32DriversRegLock.sys
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x2e8]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5d4], eax
mov eax, dword [ebp - 0x5d4]
mov dword [ebp - 0x51c], eax
mov byte [ebp - 4], 0x19
push str.RegLockXP.sys
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x2ec]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x520], ecx
mov edx, dword [ebp - 0x524]
mov eax, dword [edx]
mov dword [ebp - 0x528], eax
push 0
mov ecx, dword [ebp - 0x520]
push ecx
mov edx, dword [ebp - 0x528]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2ec]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e8]
call fcn.004129d0
jmp 0x4413f5
mov eax, 0x4d2a14
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x534], eax
jne 0x441151
push 0x80004005
call fcn.00405b70
xor ecx, ecx
jne 0x44112e
xor edx, edx
jne 0x441155
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x538], ecx
push 0x4d2a14
mov edx, dword [ebp - 0x538]
push edx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x53c], eax
cmp dword [ebp - 0x53c], 0
jne 0x441232
push str.System32DriversRegLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2f0]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5d8], eax
mov edx, dword [ebp - 0x5d8]
mov dword [ebp - 0x540], edx
mov byte [ebp - 4], 0x1a
push str.RegLockLH.sys
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2f4]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x548], eax
mov edx, dword [ebp - 0x540]
mov eax, dword [edx]
mov dword [ebp - 0x544], eax
mov ecx, dword [ebp - 0x548]
mov edx, dword [ecx]
mov dword [ebp - 0x54c], edx
push 0
mov eax, dword [ebp - 0x544]
push eax
mov ecx, dword [ebp - 0x54c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2f4]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2f0]
call fcn.004129d0
jmp 0x4413f5
mov edx, 0x4d2a00
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x558], edx
jne 0x441255
push 0x80004005
call fcn.00405b70
xor eax, eax
jne 0x441232
xor ecx, ecx
jne 0x441259
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x55c], eax
push 0x4d2a00
mov ecx, dword [ebp - 0x55c]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x560], eax
cmp dword [ebp - 0x560], 0
je 0x44135a
mov edx, 0x4d29ec
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x564], edx
jne 0x4412b9
push 0x80004005
call fcn.00405b70
xor eax, eax
jne 0x441296
xor ecx, ecx
jne 0x4412bd
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x568], eax
push 0x4d29ec
mov ecx, dword [ebp - 0x568]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x56c], eax
cmp dword [ebp - 0x56c], 0
je 0x44135a
mov edx, 0x4d29d8
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x570], edx
jne 0x441319
push 0x80004005
call fcn.00405b70
xor eax, eax
jne 0x4412f6
xor ecx, ecx
jne 0x44131d
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x574], eax
push 0x4d29d8
mov ecx, dword [ebp - 0x574]
push ecx
call fcn.00494296
add esp, 8
mov dword [ebp - 0x578], eax
cmp dword [ebp - 0x578], 0
jne 0x4413f5
push str.System32DriversRegLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2f8]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x5dc], eax
mov ecx, dword [ebp - 0x5dc]
mov dword [ebp - 0x57c], ecx
mov byte [ebp - 4], 0x1b
push str.RegLockLH.sys
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x2fc]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x584], eax
mov ecx, dword [ebp - 0x57c]
mov edx, dword [ecx]
mov dword [ebp - 0x580], edx
mov eax, dword [ebp - 0x584]
mov ecx, dword [eax]
mov dword [ebp - 0x588], ecx
push 0
mov edx, dword [ebp - 0x580]
push edx
mov eax, dword [ebp - 0x588]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x2fc]
call fcn.004129d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2f8]
call fcn.004129d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.00452641
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004129d0
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