Function at 0x1000c960
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067a89
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x1007a200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2ac], eax
xor ecx, ecx
mov ebx, 7
push edi
mov eax, 0x1006dc30
lea esi, [ebp - 0x288]
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x274], edi
mov word [ebp - 0x284], cx
call fcn.10002d50
mov dword [ebp - 4], edi
xor edx, edx
push edi
mov eax, 0x1006dc30
lea esi, [ebp - 0x250]
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x23c], edi
mov word [ebp - 0x24c], dx
call fcn.10002d50
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x268], ax
push edi
mov eax, 0x1006dc30
lea esi, [ebp - 0x26c]
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x258], edi
call fcn.10002d50
mov byte [ebp - 4], 2
xor ecx, ecx
push edi
mov eax, 0x1006dc30
lea esi, [ebp - 0x234]
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], edi
mov word [ebp - 0x230], cx
call fcn.10002d50
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov eax, dword [edx + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x2a8]
push edx
push str.LocalUri
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x1000caa3
mov eax, dword [ebp - 0x2a8]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x1000ca77
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x288]
call fcn.10002d50
mov ecx, dword [ebp - 0x2a8]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call ebx
jmp 0x1000caa9
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x2ac]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x2a8]
push edx
push str.DisplayName
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x1000caf9
mov eax, dword [ebp - 0x2a8]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x1000cad5
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x250]
call fcn.10002d50
mov ecx, dword [ebp - 0x2a8]
push ecx
call ebx
mov edx, dword [ebp - 0x2ac]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x2a8]
push edx
push str.StartType
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x1000cb49
mov eax, dword [ebp - 0x2a8]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x1000cb25
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x26c]
call fcn.10002d50
mov ecx, dword [ebp - 0x2a8]
push ecx
call ebx
cmp dword [ebp - 0x274], edi
jne 0x1000cb8e
mov edx, dword [ebp - 0x2ac]
mov esi, dword [edx + 4]
push 7
push 0x156
mov edi, str.CDriverTaskExecutor::InstallTask
lea ecx, [ebp - 0x2cc]
call fcn.1000b330
add esp, 8
mov ebx, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], ebx
jb 0x1000d009
mov eax, dword [eax + 4]
jmp 0x1000d00c
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x288]
lea ecx, [ebp - 0x234]
call fcn.100024e0
cmp dword [ebp - 0x23c], edi
jne 0x1000cbbc
push 0x13
mov eax, str.EVP_support_drivers
lea esi, [ebp - 0x250]
call fcn.10002d50
mov ebx, 8
cmp dword [ebp - 0x258], edi
jne 0x1000cbd1
lea eax, [ebx - 5]
jmp 0x1000ceb2
mov eax, dword [ebp - 0x268]
cmp dword [ebp - 0x254], ebx
jae 0x1000cbe5
lea eax, [ebp - 0x268]
push 0xa
push edi
push eax
call fcn.10048c87
add esp, 0xc
mov dword [ebp - 0x2b0], eax
cmp eax, 0xffffffff
jne 0x1000cc06
mov eax, 3
jmp 0x1000ceb2
cmp eax, 1
jne 0x1000ceb2
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push edi
push eax
mov word [ebp - 0x218], dx
call fcn.10049f60
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x1000cc50
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000cc50
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.10002d50
push str.drivers_
mov eax, 9
mov edx, esi
call fcn.100095e0
push 0x1006d824
lea edx, [ebp - 0x288]
push edx
mov edi, 1
call fcn.1000e810
cmp eax, 0xffffffff
jne 0x1000ccd5
mov eax, dword [ebp - 0x2ac]
mov esi, dword [eax + 4]
push 7
push 0x175
mov edi, str.CDriverTaskExecutor::InstallTask
lea ecx, [ebp - 0x2cc]
call fcn.1000b330
add esp, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], ebx
jb 0x1000d009
mov eax, dword [eax + 4]
jmp 0x1000d00c
lea edx, [ebp - 0x288]
lea edi, [eax + 1]
push edx
or ecx, 0xffffffff
mov edx, edi
lea esi, [ebp - 0x2cc]
call fcn.10007e80
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x234]
mov byte [ebp - 4], 6
call fcn.10009510
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2b4], ebx
jb 0x1000cd1f
mov eax, dword [ebp - 0x2c8]
push eax
call fcn.10047382
add esp, 4
mov ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x21c], ebx
jae 0x1000cd33
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x284]
cmp dword [ebp - 0x270], ebx
jae 0x1000cd47
lea eax, [ebp - 0x284]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1000ce55
mov ecx, dword [ebp - 0x2ac]
mov esi, dword [ecx + 4]
push 0xb
push 0x17b
mov edi, str.CDriverTaskExecutor::InstallTask
lea ecx, [ebp - 0x2cc]
call fcn.1000b330
add esp, 8
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], ebx
jb 0x1000cd8a
mov eax, dword [eax + 4]
jmp 0x1000cd8d
add eax, 4
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x10]
push str.TaskError
push esi
call eax
cmp dword [ebp - 0x2b4], ebx
jb 0x1000cdb2
mov ecx, dword [ebp - 0x2c8]
push ecx
call fcn.10047382
add esp, 4
cmp dword [ebp - 0x21c], ebx
jb 0x1000cdc9
mov edx, dword [ebp - 0x230]
push edx
call fcn.10047382
add esp, 4
xor esi, esi
xor eax, eax
mov edi, 7
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], esi
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x254], ebx
jb 0x1000cdfc
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.10047382
add esp, 4
xor edx, edx
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x258], esi
mov word [ebp - 0x268], dx
cmp dword [ebp - 0x238], ebx
jb 0x1000ce28
mov eax, dword [ebp - 0x24c]
push eax
call fcn.10047382
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], esi
mov word [ebp - 0x24c], cx
cmp dword [ebp - 0x270], ebx
jb 0x1000d0d3
mov edx, dword [ebp - 0x284]
push edx
jmp 0x1000d0cb
lea eax, [ebp - 0x234]
push eax
mov eax, str.system32DRIVERS_
call fcn.10001c80
lea ecx, [ebp - 0x288]
push ecx
or ecx, 0xffffffff
mov edx, edi
lea esi, [ebp - 0x2cc]
call fcn.10007e80
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x234]
mov byte [ebp - 4], bl
call fcn.10009510
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2b4], ebx
jb 0x1000ceac
mov edx, dword [ebp - 0x2c8]
push edx
call fcn.10047382
add esp, 4
mov eax, dword [ebp - 0x2b0]
mov esi, dword [ebp - 0x230]
cmp dword [ebp - 0x21c], ebx
jae 0x1000cec6
lea esi, [ebp - 0x230]
mov edx, dword [ebp - 0x24c]
cmp dword [ebp - 0x238], ebx
jae 0x1000ceda
lea edx, [ebp - 0x24c]
mov edi, dword [ebp - 0x2ac]
cmp dword [edi + 0x20], ebx
jb 0x1000ceea
mov ecx, dword [edi + 0xc]
jmp 0x1000ceed
lea ecx, [edi + 0xc]
push esi
push edx
push ecx
call fcn.10016ee0
add esp, 0xc
test eax, eax
je 0x1000cfd7
cmp dword [edi + 0x20], ebx
jb 0x1000cf0a
mov eax, dword [edi + 0xc]
jmp 0x1000cf0d
lea eax, [edi + 0xc]
push eax
call fcn.10016fb0
add esp, 4
test eax, eax
je 0x1000cfd7
mov eax, 0x1006dc30
lea ecx, [ebp - 0x2a4]
call fcn.10001c10
mov byte [ebp - 4], 0xa
mov eax, dword [edi + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x2a8]
push edx
push str.TaskPeriod
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x1000cf6c
mov eax, dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.10001c80
mov edx, dword [ebp - 0x2a8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, str.once
lea ecx, [ebp - 0x2a4]
call fcn.1000adf0
test al, al
je 0x1000cf92
cmp dword [edi + 0x20], ebx
jb 0x1000cf8a
mov ecx, dword [edi + 0xc]
jmp 0x1000cf8d
lea ecx, [edi + 0xc]
call fcn.10017030
lea esi, [ebp - 0x2a4]
mov dword [edi + 0x24], 1
call fcn.100156e0
lea esi, [ebp - 0x234]
call fcn.100156e0
lea esi, [ebp - 0x26c]
call fcn.100156e0
lea esi, [ebp - 0x250]
call fcn.100156e0
lea esi, [ebp - 0x288]
call fcn.100156e0
mov al, 1
jmp 0x1000d0d5
mov eax, edi
mov esi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x184
mov edi, str.CDriverTaskExecutor::InstallTask
lea ecx, [ebp - 0x2cc]
call fcn.1000b330
add esp, 8
mov byte [ebp - 4], 9
cmp dword [eax + 0x18], ebx
jb 0x1000d009
mov eax, dword [eax + 4]
jmp 0x1000d00c
add eax, 4
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
push eax
push str.TaskError
push esi
call edx
cmp dword [ebp - 0x2b4], ebx
jb 0x1000d031
mov eax, dword [ebp - 0x2c8]
push eax
call fcn.10047382
add esp, 4
cmp dword [ebp - 0x21c], ebx
jb 0x1000d048
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.10047382
add esp, 4
xor edi, edi
xor edx, edx
mov esi, 7
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], edi
mov word [ebp - 0x230], dx
cmp dword [ebp - 0x254], ebx
jb 0x1000d07b
mov eax, dword [ebp - 0x268]
push eax
call fcn.10047382
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x258], edi
mov word [ebp - 0x268], cx
cmp dword [ebp - 0x238], ebx
jb 0x1000d0a7
mov edx, dword [ebp - 0x24c]
push edx
call fcn.10047382
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], edi
mov word [ebp - 0x24c], ax
cmp dword [ebp - 0x270], ebx
jb 0x1000d0d3
mov ecx, dword [ebp - 0x284]
push ecx
call fcn.10047382
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004738d
mov esp, ebp
pop ebp
ret 4