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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1cce
mov eax, dword fs:[0]
push eax
sub esp, 0x5d0
mov eax, dword [0x4f7458]
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 0x438075
jmp 0x43941e
mov ecx, 0x30
mov word [ebp - 0x224], cx
push 0x206
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.0048ac80
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.00411290
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.00449fa0
mov byte [ebp - 4], 1
push str.System32DriversDvcLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.0040f970
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.0044a05d
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.00403de0
lea ecx, [ebp - 0x244]
call fcn.00449ad8
call fcn.00447437
push eax
lea ecx, [ebp - 0x228]
call fcn.00411850
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5a0]
call fcn.00434fb0
test eax, eax
je 0x4381d9
push str.MediaSecX64_
mov eax, dword [ebp - 0x5a0]
add eax, 0xc4
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.0040f970
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.004118e0
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.00403de0
jmp 0x438240
push str.MediaSecX86_
mov edx, dword [ebp - 0x5a0]
add edx, 0xc4
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.0040f970
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.004118e0
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.00403de0
push str.System32DriversDvcLock.sys
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.0040f970
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 0x4c9f28
lea ecx, [ebp - 0x254]
call fcn.00411370
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.0040f890
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.00403de0
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.00403de0
push 0x4c9f28
lea ecx, [ebp - 0x260]
call fcn.00411370
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.0040f890
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.00403de0
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.00403de0
cmp dword [ebp - 0x25c], 0
je 0x438424
push 0x4c9f28
lea ecx, [ebp - 0x268]
call fcn.00411370
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.0040f890
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.00403de0
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.00403de0
push str.System32DriversDeviceLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.0040f970
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.004118e0
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.00403de0
push 0x80
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x4c9f28
lea ecx, [ebp - 0x274]
call fcn.00411370
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.0040f890
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.00403de0
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.00403de0
push 0x4c9f28
lea ecx, [ebp - 0x280]
call fcn.00411370
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.0040f890
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.00403de0
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.00403de0
cmp dword [ebp - 0x27c], 0
je 0x43864a
push 0x4c9f28
lea ecx, [ebp - 0x288]
call fcn.00411370
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.0040f890
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.00403de0
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.00403de0
mov ecx, dword [ebp - 0x5a0]
call fcn.00434fb0
test eax, eax
je 0x43871b
push str.System32DriversDvcLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x290]
push eax
call fcn.0040f970
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.0040f970
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.00403de0
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.00403de0
jmp 0x438c4a
mov eax, 0x4c99c4
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x3c4], eax
jne 0x43873e
push 0x80004005
call fcn.00402430
xor ecx, ecx
jne 0x43871b
xor edx, edx
jne 0x438742
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x3c8], ecx
push 0x4c99c4
mov edx, dword [ebp - 0x3c8]
push edx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x3cc], eax
cmp dword [ebp - 0x3cc], 0
jne 0x43881f
push str.System32DriversDvcLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x298]
push ecx
call fcn.0040f970
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.0040f970
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x298]
call fcn.00402470
jmp 0x438c4a
mov edx, 0x4c99b8
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x3e8], edx
jne 0x438842
push 0x80004005
call fcn.00402430
xor eax, eax
jne 0x43881f
xor ecx, ecx
jne 0x438846
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x3ec], eax
push 0x4c99b8
mov ecx, dword [ebp - 0x3ec]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f0], 0
je 0x4388e3
mov edx, 0x4c99a0
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x3f4], edx
jne 0x4388a2
push 0x80004005
call fcn.00402430
xor eax, eax
jne 0x43887f
xor ecx, ecx
jne 0x4388a6
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x3f8], eax
push 0x4c99a0
mov ecx, dword [ebp - 0x3f8]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0
jne 0x438983
push str.System32DriversDvcLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.0040f970
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.0040f970
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2a0]
call fcn.00402470
jmp 0x438c4a
mov ecx, 0x4c998c
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x418], ecx
jne 0x4389a6
push 0x80004005
call fcn.00402430
xor edx, edx
jne 0x438983
xor eax, eax
jne 0x4389aa
mov ecx, dword [ebp - 0x5a0]
mov edx, dword [ecx + 0xd0]
mov dword [ebp - 0x41c], edx
push 0x4c998c
mov eax, dword [ebp - 0x41c]
push eax
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x438a87
push str.System32DriversDeviceLock.sys
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x2a8]
push edx
call fcn.0040f970
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.0040f970
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2a8]
call fcn.00402470
jmp 0x438c4a
mov eax, 0x4c9978
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x43c], eax
jne 0x438aaa
push 0x80004005
call fcn.00402430
xor ecx, ecx
jne 0x438a87
xor edx, edx
jne 0x438aae
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x440], ecx
push 0x4c9978
mov edx, dword [ebp - 0x440]
push edx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
je 0x438baf
mov eax, 0x4c9964
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x448], eax
jne 0x438b0e
push 0x80004005
call fcn.00402430
xor ecx, ecx
jne 0x438aeb
xor edx, edx
jne 0x438b12
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x44c], ecx
push 0x4c9964
mov edx, dword [ebp - 0x44c]
push edx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x438baf
mov eax, 0x4c9950
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x454], eax
jne 0x438b6e
push 0x80004005
call fcn.00402430
xor ecx, ecx
jne 0x438b4b
xor edx, edx
jne 0x438b72
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x458], ecx
push 0x4c9950
mov edx, dword [ebp - 0x458]
push edx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jne 0x438c4a
push str.System32DriversDeviceLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.0040f970
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.0040f970
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b0]
call fcn.00402470
push str.System32DriversRegLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2b8]
push eax
call fcn.0040f970
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.004118e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.00402470
push 0x80
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x4c9f28
lea ecx, [ebp - 0x2bc]
call fcn.00411370
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.0040f890
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2bc]
call fcn.00402470
push 0x4c9f28
lea ecx, [ebp - 0x2c8]
call fcn.00411370
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.0040f890
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c8]
call fcn.00402470
cmp dword [ebp - 0x2c4], 0
je 0x438e03
push 0x4c9f28
lea ecx, [ebp - 0x2d0]
call fcn.00411370
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.0040f890
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2d0]
call fcn.00402470
mov ecx, dword [ebp - 0x5a0]
call fcn.00434fb0
test eax, eax
je 0x438eb6
push str.System32DriversRegLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0040f970
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.0040f970
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2d8]
call fcn.00402470
jmp 0x4393e5
mov edx, 0x4c99c4
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x4e0], edx
jne 0x438ed9
push 0x80004005
call fcn.00402430
xor eax, eax
jne 0x438eb6
xor ecx, ecx
jne 0x438edd
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x4e4], eax
push 0x4c99c4
mov ecx, dword [ebp - 0x4e4]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x4e8], eax
cmp dword [ebp - 0x4e8], 0
jne 0x438fba
push str.System32DriversRegLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2e0]
push eax
call fcn.0040f970
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.0040f970
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e0]
call fcn.00402470
jmp 0x4393e5
mov ecx, 0x4c99b8
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x504], ecx
jne 0x438fdd
push 0x80004005
call fcn.00402430
xor edx, edx
jne 0x438fba
xor eax, eax
jne 0x438fe1
mov ecx, dword [ebp - 0x5a0]
mov edx, dword [ecx + 0xd0]
mov dword [ebp - 0x508], edx
push 0x4c99b8
mov eax, dword [ebp - 0x508]
push eax
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x43907e
mov ecx, 0x4c99a0
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x510], ecx
jne 0x43903d
push 0x80004005
call fcn.00402430
xor edx, edx
jne 0x43901a
xor eax, eax
jne 0x439041
mov ecx, dword [ebp - 0x5a0]
mov edx, dword [ecx + 0xd0]
mov dword [ebp - 0x514], edx
push 0x4c99a0
mov eax, dword [ebp - 0x514]
push eax
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x518], eax
cmp dword [ebp - 0x518], 0
jne 0x43911e
push str.System32DriversRegLock.sys
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x2e8]
push edx
call fcn.0040f970
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.0040f970
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e8]
call fcn.00402470
jmp 0x4393e5
mov eax, 0x4c998c
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x534], eax
jne 0x439141
push 0x80004005
call fcn.00402430
xor ecx, ecx
jne 0x43911e
xor edx, edx
jne 0x439145
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x538], ecx
push 0x4c998c
mov edx, dword [ebp - 0x538]
push edx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x53c], eax
cmp dword [ebp - 0x53c], 0
jne 0x439222
push str.System32DriversRegLock.sys
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2f0]
push ecx
call fcn.0040f970
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.0040f970
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2f0]
call fcn.00402470
jmp 0x4393e5
mov edx, 0x4c9978
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x558], edx
jne 0x439245
push 0x80004005
call fcn.00402430
xor eax, eax
jne 0x439222
xor ecx, ecx
jne 0x439249
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x55c], eax
push 0x4c9978
mov ecx, dword [ebp - 0x55c]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x560], eax
cmp dword [ebp - 0x560], 0
je 0x43934a
mov edx, 0x4c9964
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x564], edx
jne 0x4392a9
push 0x80004005
call fcn.00402430
xor eax, eax
jne 0x439286
xor ecx, ecx
jne 0x4392ad
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x568], eax
push 0x4c9964
mov ecx, dword [ebp - 0x568]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x56c], eax
cmp dword [ebp - 0x56c], 0
je 0x43934a
mov edx, 0x4c9950
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x570], edx
jne 0x439309
push 0x80004005
call fcn.00402430
xor eax, eax
jne 0x4392e6
xor ecx, ecx
jne 0x43930d
mov edx, dword [ebp - 0x5a0]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x574], eax
push 0x4c9950
mov ecx, dword [ebp - 0x574]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x578], eax
cmp dword [ebp - 0x578], 0
jne 0x4393e5
push str.System32DriversRegLock.sys
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2f8]
push eax
call fcn.0040f970
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.0040f970
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.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2f8]
call fcn.00402470
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00402470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.00402470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.00449fc9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret