Function at 0x40db90
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf680
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4f7458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4f89c8
call fcn.0042b8e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push str.binTisFileLogFilter_
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.0040f970
add esp, 0xc
mov byte [ebp - 4], 2
push str.binTisFileLogFilter_
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0040f970
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, 0x4f89c8
call fcn.00434fb0
test eax, eax
je 0x40dc9d
mov edx, str.x64TiSFileLogFilter.inf
test edx, edx
jne 0x40dc47
mov dword [ebp - 0x40], 0
jmp 0x40dc57
push str.x64TiSFileLogFilter.inf
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
push str.x64TiSFileLogFilter.inf
lea ecx, [ebp - 0x18]
call fcn.00410800
mov ecx, str.x64TiSFileLogFilter.sys
test ecx, ecx
jne 0x40dc7a
mov dword [ebp - 0x44], 0
jmp 0x40dc8a
push str.x64TiSFileLogFilter.sys
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
push str.x64TiSFileLogFilter.sys
lea ecx, [ebp - 0x1c]
call fcn.00410800
jmp 0x40dd03
mov eax, str.x86TiSFileLogFilter.inf
test eax, eax
jne 0x40dcaf
mov dword [ebp - 0x48], 0
jmp 0x40dcbf
push str.x86TiSFileLogFilter.inf
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
push str.x86TiSFileLogFilter.inf
lea ecx, [ebp - 0x18]
call fcn.00410800
mov edx, str.x86TiSFileLogFilter.sys
test edx, edx
jne 0x40dce2
mov dword [ebp - 0x4c], 0
jmp 0x40dcf2
push str.x86TiSFileLogFilter.sys
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
push str.x86TiSFileLogFilter.sys
lea ecx, [ebp - 0x1c]
call fcn.00410800
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x4f89c8
call fcn.0042b8e0
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 4
push str.binTisFileLogFilterTiSFileLogFilter.inf
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040f970
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00402470
lea edx, [ebp - 0x30]
push edx
mov ecx, 0x4f89c8
call fcn.0042b8e0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 7
push str.binTisFileLogFilterTiSFileLogFilter.sys
mov ecx, dword [ebp - 0x90]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.0040f970
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call fcn.00402470
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x5c], ecx
push 0
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
push eax
push str.UpdateInfDrivers___Copy__s______s__Ret:__d
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004028d0
add esp, 0x14
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push str.UpdateInfDrivers___Copy__s______s__Ret:__d
mov eax, dword [ebp - 0x80]
push eax
call fcn.004028d0
add esp, 0x14
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.00402470
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402470
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret