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

Disassembly:
push 0xffffffffffffffff
push 0x48d760
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4beb20]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push esi
push edi
mov eax, dword [0x4beb20]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
mov dword [esp + 0x490], 0
call fcn.0044e87c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42dcdf
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.0044e87c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42dd11
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.0044e87c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42dd43
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.00468830
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 0x4a38a4
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.0042d950
mov esi, eax
push esi
push str.InstallDriver
call fcn.0042d9a0
add esp, 8
test esi, esi
je 0x42de61
lea eax, [esp + 0x498]
push eax
lea ecx, [esp + 0x14]
call fcn.0041a980
push 8
push 0x4a38a4
lea ecx, [esp + 0x18]
call fcn.0041a840
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041a980
push 4
push str..sys
lea ecx, [esp + 0x18]
call fcn.0041a840
push 6
push str.64.sys
lea ecx, [esp + 0x1c]
call fcn.0041a840
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.0044e87c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42de7b
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.0044e87c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42dead
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.0041a500
push 8
lea ecx, [esp + 0x20]
push 0x4a38a4
call fcn.0041a840
lea ecx, [esp + 0x18]
test esi, esi
je 0x42def7
push 0xd
push 0x492d44
jmp 0x42defe
push 0xb
push 0x492bf8
call fcn.0041a500
lea ecx, [esp + 0x498]
push ecx
lea edx, [esp + 0x30]
push 0x492dd0
push edx
call fcn.0042db00
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x4a8], 6
call fcn.0041c640
push 0x494ca4
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x4b4], 7
call fcn.0041ab50
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 0x42df75
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 0x42df9d
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.0041a840
push 0x40
lea ecx, [esp + 0x48]
push 0
push ecx
call fcn.00468830
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 0x42e12d
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 0x42e034
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 0x42e05c
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 0x42e080
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 0x42e0a8
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 0x42e0d0
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 0x42e0f8
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 0x42e126
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42e27c
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x42e146
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 0x42e01b
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e185
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 0x42e1ad
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 0x42e1d1
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 0x42e1f9
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 0x42e221
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 0x42e249
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 0x42e277
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.004694b0
add esp, 0x484
ret