Function at 0x42fcd0
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48fbf0
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2b20]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
mov dword [esp + 0x490], 0
call fcn.00450992
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42fd2f
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x490], 1
call fcn.00450992
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42fd61
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x490], 2
call fcn.00450992
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42fd93
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [esp + 0x8e]
push edx
mov byte [esp + 0x49c], 3
mov word [esp + 0x90], cx
call fcn.0046a930
add esp, 0xc
push 0x200
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.drivers_
lea ecx, [esp + 0x88]
push ecx
call esi
push 0x4a6a84
lea edx, [esp + 0x88]
push edx
call esi
push str..sys
lea eax, [esp + 0x88]
push eax
call esi
push 0x80
lea ecx, [esp + 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x84]
push edx
call edi
call fcn.0042fa30
mov esi, eax
push esi
push str.InstallDriver
call fcn.0042fa80
add esp, 8
test esi, esi
je 0x42feb1
lea eax, [esp + 0x498]
push eax
lea ecx, [esp + 0x14]
call fcn.0041a940
push 8
push 0x4a6a84
lea ecx, [esp + 0x18]
call fcn.0041a800
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041a940
push 4
push str..sys
lea ecx, [esp + 0x18]
call fcn.0041a800
push 6
push str.64.sys
lea ecx, [esp + 0x1c]
call fcn.0041a800
mov ebx, dword [esp + 0x10]
push ebx
call edi
mov edx, dword [esp + 0x14]
push 0
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.00450992
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42fecb
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x490], 4
call fcn.00450992
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42fefd
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x1c
mov bl, 5
lea ecx, [esp + 0x20]
push str.InstallDrv__keepit__service:
mov byte [esp + 0x498], bl
call fcn.0041a4c0
push 8
lea ecx, [esp + 0x20]
push 0x4a6a84
call fcn.0041a800
lea ecx, [esp + 0x18]
test esi, esi
je 0x42ff47
push 0xd
push 0x495d44
jmp 0x42ff4e
push 0xb
push 0x495bf8
call fcn.0041a4c0
lea ecx, [esp + 0x498]
push ecx
lea edx, [esp + 0x30]
push 0x495dd0
push edx
call fcn.0042fbe0
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x4a8], 6
call fcn.0041c610
push 0x497e54
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x4b4], 7
call fcn.0041ab10
add esp, 0x24
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x490], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ffc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x490], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ffed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.0041a800
push 0x40
lea ecx, [esp + 0x48]
push 0
push ecx
call fcn.0046a930
add esp, 0xc
xor eax, eax
xor edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
push edx
push edx
push 0x20000
push edx
push edx
push edx
mov word [esp + 0x90], dx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x40]
push edx
push 0
mov dword [esp + 0x68], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x43017d
mov eax, dword [esp + 0x20]
mov byte [esp + 0x490], bl
or edx, 0xffffffff
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430084
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x490], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4300ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x490], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4300d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x490], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4300f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x490], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430120
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x490], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430148
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x498]
add eax, 0xfffffff0
mov dword [esp + 0x490], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430176
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4302cc
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x430196
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00401ca0
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x490], bl
je 0x43006b
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4301d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x490], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4301fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x490], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430221
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x490], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430249
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x490], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430271
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x490], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430299
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x498]
add eax, 0xfffffff0
mov dword [esp + 0x490], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4302c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.0046b5b0
add esp, 0x484
ret