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

Disassembly:
push 0xffffffffffffffff
push 0x4892f0
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4b9b20]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push esi
push edi
mov eax, dword [0x4b9b20]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov dword [esp + 0x298], 0
call fcn.0044c107
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42b18f
push 0x80004005
call fcn.00419210
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 + 0x298], 1
call fcn.0044c107
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42b1c1
push 0x80004005
call fcn.00419210
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 + 0x298], 2
call fcn.0044c107
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42b1f3
push 0x80004005
call fcn.00419210
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 0x206
push ecx
lea edx, [esp + 0x8e]
push edx
mov byte [esp + 0x2a4], 3
mov word [esp + 0x90], cx
call fcn.004661f0
add esp, 0xc
push 0x104
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 str.Estdlock
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 esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x84]
push edx
call esi
call fcn.0042af50
mov edi, eax
test edi, edi
je 0x42b303
lea eax, [esp + 0x2a0]
push eax
lea ecx, [esp + 0x14]
call fcn.0041a2a0
push 8
push str.Estdlock
lea ecx, [esp + 0x18]
call fcn.0041a160
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041a2a0
push 4
push str..sys
lea ecx, [esp + 0x18]
call fcn.0041a160
push 6
push str.64.sys
lea ecx, [esp + 0x1c]
call fcn.0041a160
mov ebx, dword [esp + 0x10]
push ebx
call esi
mov edx, dword [esp + 0x14]
push 0
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.0044c107
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42b31d
push 0x80004005
call fcn.00419210
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 + 0x298], 4
call fcn.0044c107
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42b34f
push 0x80004005
call fcn.00419210
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 + 0x2a0], bl
call fcn.00419e20
push 8
lea ecx, [esp + 0x20]
push str.Estdlock
call fcn.0041a160
lea ecx, [esp + 0x18]
test edi, edi
je 0x42b399
push 0xd
push 0x48eb60
jmp 0x42b3a0
push 0xb
push 0x48ea24
call fcn.00419e20
lea ecx, [esp + 0x2a0]
push ecx
lea edx, [esp + 0x30]
push 0x48ebec
push edx
call fcn.0042afb0
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x2b0], 6
call fcn.0041bf50
push 0x490100
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x2bc], 7
call fcn.0041a470
add esp, 0x24
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x298], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b417
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 + 0x298], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b43f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.0041a160
push 0x40
lea ecx, [esp + 0x48]
push 0
push ecx
call fcn.004661f0
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 0x42b5cf
mov eax, dword [esp + 0x20]
mov byte [esp + 0x298], bl
or edx, 0xffffffff
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b4d6
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 + 0x298], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b4fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x298], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b522
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 + 0x298], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b54a
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 + 0x298], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b572
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 + 0x298], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b59a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2a0]
add eax, 0xfffffff0
mov dword [esp + 0x298], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b5c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42b71e
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x42b5e8
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.00401840
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x298], bl
je 0x42b4bd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b627
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 + 0x298], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b64f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x298], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b673
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 + 0x298], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b69b
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 + 0x298], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b6c3
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 + 0x298], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b6eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2a0]
add eax, 0xfffffff0
mov dword [esp + 0x298], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b719
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.00466e70
add esp, 0x28c
ret