Function at 0x42fcd0
Capabilities:
Check os version
Copy file
Delete file
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab955
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4e42d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x124]
mov ebx, 0x114
push eax
mov edi, ecx
mov dword [ebp - 0x124], ebx
call esi
cmp dword [ebp - 0x120], 5
jne 0x42fd30
cmp dword [ebp - 0x11c], 1
je 0x42fdb2
lea ecx, [ebp - 0x124]
push ecx
mov dword [ebp - 0x124], ebx
call esi
mov eax, dword [ebp - 0x120]
cmp eax, 6
ja 0x42fd55
jne 0x42fd67
cmp dword [ebp - 0x11c], 1
jb 0x42fd67
call fcn.004058a0
test al, al
jne 0x42fd67
call fcn.004058f0
test al, al
je 0x42fdb2
lea esi, [ebp - 0x22c]
mov eax, edi
call fcn.004260b0
push 9
push str.BFDrv.sys
mov ebx, esi
mov dword [ebp - 4], 0xe
call fcn.00409bd0
mov esi, dword [ebp - 0x22c]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4303f0
call fcn.00406df0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.00493520
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00402b20
push 0x12
push str.driversBFDrv.sys
lea ebx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.00409bd0
lea esi, [ebp - 0x22c]
mov eax, edi
call fcn.004260b0
push 9
push str.BFDrv.sys
mov ebx, esi
mov byte [ebp - 4], 1
call fcn.00409bd0
mov edx, dword [ebp - 0x228]
mov esi, dword [ebp - 0x22c]
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, 0x4e3f18
test eax, eax
jne 0x42ffd0
mov eax, dword [0x4e3f18]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0x4baaa8
lea eax, [ebp - 0x220]
push eax
mov ebx, 1
mov byte [ebp - 4], 2
call fcn.00402a30
mov edx, dword [0x4e3f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3f18
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x228]
push eax
push ecx
push esi
push str.BFDrv_CopyFile_from__s_to__s_Faild__d____n
lea edi, [ebp - 0x21c]
call fcn.00402d60
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x4e3f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3f18
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 4
mov ebx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
push ebx
push ecx
push edi
push 0x4baaac
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x224]
call fcn.00402d60
mov edi, dword [ebp - 0x224]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ff39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ff59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ff7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ff9f
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ffc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x4303fe
mov edx, dword [0x4e3f18]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x4baaa4
lea ecx, [ebp - 0x21c]
push ecx
mov ebx, 1
mov byte [ebp - 4], 5
call fcn.00402a30
mov edx, dword [0x4e3f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3f18
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x228]
push ecx
push esi
push str.BFDrv_CopyFile_from__s_to__s_is_OK
lea edi, [ebp - 0x220]
call fcn.00402d60
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add esp, 0xc
call ebx
mov edx, dword [0x4e3f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3f18
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
push ecx
push edx
push edi
push 0x4baaac
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x224]
call fcn.00402d60
mov edi, dword [ebp - 0x224]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4300b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4300d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4300fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0x4e3f18]
test eax, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3f18
jne 0x430281
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov edx, 0x4baaa8
lea edi, [ebp - 0x21c]
mov byte [ebp - 4], 8
call fcn.00402ae0
mov edx, dword [0x4e3f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3f18
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.BFDrv_DeleteFile__s_Faild__d____n
lea edi, [ebp - 0x224]
call fcn.00402d60
add esp, 0xc
call ebx
mov edx, dword [0x4e3f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3f18
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x21c]
push ebx
push ecx
push edi
push 0x4baaac
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x220]
call fcn.00402d60
mov edi, dword [ebp - 0x220]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4301e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430206
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43022c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43024c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ffc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x4303fe
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov edx, 0x4baaa4
lea edi, [ebp - 0x21c]
mov byte [ebp - 4], 0xb
call fcn.00402ae0
mov edx, dword [0x4e3f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3f18
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
push esi
push str.BFDrv_DeleteFile__s_is_OK
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0xc
call fcn.00402d60
add esp, 8
call ebx
mov edx, dword [0x4e3f18]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3f18
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0xd
mov ebx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x21c]
push ebx
push ecx
push esi
push 0x4baaac
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x220]
call fcn.00402d60
mov esi, dword [ebp - 0x220]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430346
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430366
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43038c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x228]
call fcn.0042fc40
mov edi, eax
call fcn.0042fc40
push eax
call fcn.00406290
push edi
call fcn.0048f7ae
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4303d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4303fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret