Function at 0x41b113
Capabilities:
Get common file path
Get file size
Persist via run registry key
Read .ini file
Write file on windows

Disassembly:
mov eax, 0x433558
call fcn.004269c8
sub esp, 0x348
mov eax, dword [0x44de90]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34c], edi
mov dword [ebp - 0x33c], edi
mov dword [ebp - 0x340], edi
mov dword [ebp - 0x338], edi
mov dword [ebp - 0x344], edi
mov dword [ebp - 4], edi
call fcn.00427a5b
test eax, eax
pop ecx
je 0x41b71a
mov eax, dword [0x45e260]
cmp eax, 0xd
jne 0x41b708
push 0x180
push ebx
call fcn.004279f0
push ebx
call fcn.00427a5b
add esp, 0xc
test eax, eax
je 0x41b71a
cmp dword [0x451a2c], 2
jne 0x41b476
push str.KLMoveFileExDrv
call fcn.0041a1a7
test eax, eax
pop ecx
mov esi, 0x104
jne 0x41b40b
push esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x118]
lea eax, [ebp - 0x118]
dec edi
push eax
mov dword [ebp - 0x350], edi
call fcn.00425700
cmp byte [eax + edi], 0x5c
pop ecx
je 0x41b1f6
lea eax, [ebp - 0x118]
push 0x43462c
push eax
call fcn.00425610
pop ecx
pop ecx
lea eax, [ebp - 0x118]
push str.klwk.sys
push eax
call fcn.00425610
lea eax, [ebp - 0x118]
push eax
call fcn.0041a1e6
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x41b464
push esi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x41b24e
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00425600
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x118]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b26f
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
push edi
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00426b7e
push 0x43eab4
push str.klwk
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00426aee
mov edi, 0x43e6fc
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004260e7
mov ebx, eax
add esp, 0x30
test ebx, ebx
jne 0x41b32f
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x118]
push eax
call fcn.00425700
pop ecx
mov ecx, dword [ebp - 0x350]
cmp byte [eax + ecx], 0x5c
je 0x41b304
lea eax, [ebp - 0x118]
push 0x43462c
push eax
call fcn.00425610
pop ecx
pop ecx
lea eax, [ebp - 0x118]
push str.klwk.mfe
push eax
call fcn.00425610
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004260e7
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x41b464
push esi
mov edi, 0x451bd8
push edi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x41b356
lea eax, [ebp - 0x118]
push eax
push edi
call fcn.00425600
pop ecx
pop ecx
lea eax, [ebp - 0x230]
push eax
push str.___s_n
push ebx
call fcn.00424eec
push ebx
call fcn.00425e5d
push edi
lea eax, [ebp - 0x230]
push eax
xor ebx, ebx
inc ebx
push ebx
push ebx
push ebx
push str.KLMoveFileExDrv
call fcn.00419f73
add esp, 0x28
test eax, eax
je 0x41b402
lea eax, [ebp - 0x344]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [0x451e18]
test eax, eax
jne 0x41b464
push str.__DrvDeinst
lea eax, [ebp - 0x118]
push 0x451ce8
push eax
call fcn.00425600
pop ecx
pop ecx
push eax
call fcn.00425610
lea eax, [ebp - 0x118]
push eax
call fcn.00425700
add esp, 0xc
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push 0
push str.CLRAVDriverClear
push dword [ebp - 0x344]
call dword [0x451e20]
test eax, eax
jne 0x41b464
jmp 0x41b410
push edi
call fcn.00427a5b
pop ecx
jmp 0x41b464
mov edi, 0x451bd8
push esi
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x41b436
push dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call fcn.00425610
pop ecx
pop ecx
push 0x43e6fc
push edi
call fcn.004260e7
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x41b464
lea eax, [ebp - 0x118]
push eax
push str.___s_n
push esi
call fcn.00424eec
push esi
call fcn.00425e5d
add esp, 0x10
push 4
push 0
push dword [ebp + 8]
call dword [0x451e10]
jmp 0x41b6fa
mov esi, 0x104
push esi
lea eax, [ebp - 0x118]
push eax
push ebx
mov dword [ebp - 0x354], edi
mov dword [ebp - 0x350], 0xfffffffe
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x41b4ad
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.00425600
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x230]
push eax
call dword [0x451e00]
lea eax, [ebp - 0x230]
push str.wininit.ini
push eax
call fcn.00425610
pop ecx
pop ecx
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push 0xc0000000
lea eax, [ebp - 0x230]
push eax
call dword [0x451df8]
mov esi, eax
xor eax, eax
cmp esi, ebx
setne al
xor ecx, ecx
cmp esi, 0xffffffff
setne cl
mov dword [ebp - 0x33c], esi
test ecx, eax
je 0x41b66b
push ebx
push esi
mov dword [ebp - 0x348], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea eax, [ebp - 0x118]
push eax
call fcn.00425700
lea eax, [eax + ebx + 7]
push eax
call fcn.00425520
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x348]
push ecx
push ebx
push eax
push esi
mov dword [ebp - 0x338], eax
call dword [0x451e3c]
test eax, eax
je 0x41b66b
mov ecx, dword [ebp - 0x348]
mov eax, dword [ebp - 0x338]
mov edi, str._rename_
push edi
mov byte [ecx + eax], 0
push eax
mov dword [ebp - 0x348], 6
call fcn.00425fe0
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x41b5dd
lea eax, [ebp - 0x118]
push eax
call fcn.00425700
lea eax, [eax + ebx + 0xf]
push eax
push dword [ebp - 0x338]
call fcn.0042788e
mov esi, eax
push esi
mov dword [ebp - 0x338], esi
call fcn.004269e7
add esp, 0x10
push eax
push edi
push esi
mov dword [ebp - 0x340], eax
call fcn.00425600
pop ecx
pop ecx
push eax
call fcn.00425610
push dword [ebp - 0x340]
call fcn.00425476
add esp, 0xc
mov dword [ebp - 0x348], 0xe
add esi, 8
push esi
call fcn.004269e7
pop ecx
push eax
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x118]
push eax
mov byte [esi], 0xd
mov byte [esi + 1], 0xa
push str.NUL
add esi, 2
push esi
call fcn.00425600
pop ecx
pop ecx
push eax
call fcn.00425610
pop ecx
pop ecx
push eax
call fcn.00425610
pop ecx
pop ecx
xor esi, esi
push esi
push esi
push esi
push dword [ebp - 0x33c]
call dword [0x451e40]
push esi
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00425700
add eax, ebx
add eax, dword [ebp - 0x348]
pop ecx
push eax
push dword [ebp - 0x338]
push dword [ebp - 0x33c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41b6fa
mov edi, dword [ebp - 0x354]
mov esi, str.rename
mov ebx, dword [ebp - 0x350]
lea eax, [edi - 2]
cmp ebx, eax
lea eax, [ebp - 0x118]
push eax
jne 0x41b6b9
add edi, 0x400
call fcn.00425700
lea eax, [eax + edi + 7]
push eax
call fcn.00425520
pop ecx
pop ecx
lea ecx, [ebp - 0x230]
push ecx
push edi
push eax
push esi
mov dword [ebp - 0x338], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [ebp - 0x350], eax
jmp 0x41b670
mov edi, dword [ebp - 0x338]
lea eax, [ebx + edi]
push str.NUL
push eax
call fcn.00425600
pop ecx
pop ecx
push eax
call fcn.00425610
lea eax, [ebp - 0x118]
push eax
call fcn.00425700
add eax, ebx
add esp, 0xc
mov byte [eax + edi + 5], 0
lea eax, [ebp - 0x230]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
mov dword [ebp - 0x34c], 1
xor edi, edi
jmp 0x41b71a
xor ecx, ecx
cmp eax, 2
sete cl
lea ecx, [ecx + ecx + 2]
mov dword [ebp - 0x34c], ecx
cmp dword [ebp - 0x344], edi
je 0x41b72e
push dword [ebp - 0x344]
call dword [0x451e1c]
cmp dword [ebp - 0x338], edi
je 0x41b742
push dword [ebp - 0x338]
call fcn.00425476
pop ecx
cmp dword [ebp - 0x340], edi
je 0x41b756
push dword [ebp - 0x340]
call fcn.00425476
pop ecx
cmp dword [ebp - 0x33c], edi
je 0x41b76a
push dword [ebp - 0x33c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34c]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00425221
pop edi
pop esi
pop ebx
leave
ret