Function at 0x42a4f0
Capabilities:
Copy file
Link many functions at runtime
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4954b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
mov ecx, edi
lea esi, [esp + 0x14]
call fcn.004128b0
xor ebp, ebp
lea esi, [esp + 0x18]
mov dword [esp + 0x34], ebp
call fcn.00413d30
push edi
push str.KChannel::UpdateDriverFile_srcFile:_ws
mov ecx, 0x4ba960
mov byte [esp + 0x3c], 1
call fcn.0041d5c0
add esp, 8
mov dword [esp + 0x24], str.kisknl64.sys
mov dword [esp + 0x28], str.dgsafe64.sys
mov dword [esp + 0x1c], str.kisknl.sys
mov dword [esp + 0x20], str.dgsafe.sys
xor edi, edi
nop
mov eax, dword [esp + edi*4 + 0x24]
mov ebx, dword [esp + 0x14]
push eax
push ebx
call fcn.004616ad
add esp, 8
test eax, eax
je 0x42a5d9
add edi, 1
cmp edi, 2
jb 0x42a570
cmp dword [0x4b8cc8], 0xffffffff
jne 0x42a66f
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
je 0x42a5ce
push 0x4b8cc8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x42a66f
mov dword [0x4b8cc8], ebp
jmp 0x42a6f0
cmp dword [0x4b8cc8], 0xffffffff
jne 0x42a625
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
je 0x42a611
push 0x4b8cc8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x42a625
mov dword [0x4b8cc8], ebp
lea esi, [esp + 0x14]
call fcn.004023a0
jmp 0x42a6ec
cmp dword [0x4b8cc8], ebp
je 0x42a617
mov edi, dword [esp + edi*4 + 0x1c]
cmp edi, ebp
jne 0x42a64a
xor eax, eax
mov ebx, eax
push edi
lea eax, [esp + 0x18]
call fcn.00401f30
xor ebp, ebp
jmp 0x42a6ec
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42a650
sub eax, edx
sar eax, 1
mov ebx, eax
push edi
lea eax, [esp + 0x18]
call fcn.00401f30
xor ebp, ebp
jmp 0x42a6ec
cmp dword [0x4b8cc8], ebp
je 0x42a6f0
xor esi, esi
lea esp, [esp]
mov eax, dword [esp + esi*4 + 0x1c]
push eax
push ebx
call fcn.004616ad
add esp, 8
test eax, eax
je 0x42a69c
add esi, 1
cmp esi, 2
jb 0x42a680
jmp 0x42a6f0
cmp dword [ebx - 0xc], ebp
mov esi, dword [ebx - 0x10]
lea eax, [ebx - 0x10]
je 0x42a6f0
cmp dword [eax + 0xc], ebp
lea ecx, [eax + 0xc]
jge 0x42a6c6
cmp dword [ebx - 8], ebp
jge 0x42a6be
push 0x80070057
call fcn.00402340
mov dword [ebx - 0xc], ebp
mov word [ebx], bp
jmp 0x42a6f0
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a6dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], ebp
je 0x42a94c
cmp dword [0x4b8cc8], 0xffffffff
jne 0x42a739
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
je 0x42a731
push 0x4b8cc8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x42a739
mov dword [0x4b8cc8], ebp
jmp 0x42a778
cmp dword [0x4b8cc8], ebp
je 0x42a778
mov eax, dword [0x4bac9c]
cmp eax, ebp
jne 0x42a775
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebp
je 0x42a76c
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bac9c], eax
jmp 0x42a771
mov eax, dword [0x4bac9c]
cmp eax, ebp
je 0x42a778
push ebp
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea ebx, [esp + 0x20]
call fcn.00416b70
mov eax, dword [eax]
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a7b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea ebx, [esp + 0x20]
call fcn.00416b70
mov eax, dword [eax]
add esp, 8
push 0
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a801
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4b8cc8], 0xffffffff
mov ebp, eax
jne 0x42a84d
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x42a841
push 0x4b8cc8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x42a84d
mov dword [0x4b8cc8], 0
jmp 0x42a88e
cmp dword [0x4b8cc8], 0
je 0x42a88e
mov eax, dword [0x4bac9c]
test eax, eax
jne 0x42a88a
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42a881
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bac9c], eax
jmp 0x42a886
mov eax, dword [0x4bac9c]
test eax, eax
je 0x42a88e
push 1
call eax
test edi, edi
mov esi, 0x4a75a0
je 0x42a89c
mov esi, 0x4a7568
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
lea ebx, [esp + 0x20]
call fcn.00416b70
mov byte [esp + 0x3c], 2
mov eax, dword [eax]
push esi
push eax
push 0x4a7578
call fcn.0041dfd0
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a8ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
lea ebx, [esp + 0x20]
call fcn.00416b70
mov byte [esp + 0x3c], 3
mov eax, dword [eax]
push eax
push ebp
push edi
push str.KChannel::UpdateDriverFile_return:_d__error:_d__path:_ws
mov ecx, 0x4ba960
call fcn.0041d5c0
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a93e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
mov ebx, dword [esp + 0x14]
jne 0x42a94a
mov esi, ebp
jmp 0x42a94e
xor ebp, ebp
xor esi, esi
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a973
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a997
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4