Function at 0x4119b0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4d2a10
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.Wow64DisableWow64FsRedirection
xor ebx, ebx
push 0x4ea520
mov esi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x411a15
lea ecx, [esp + 0x18]
push ecx
call eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x3c], ebx
je 0x411bca
lea edx, [esp + 0x10]
push esi
push edx
call fcn.00411420
add esp, 8
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 1
mov byte [esp + 0x17], bl
jge 0x411a4e
push 0x80070057
call fcn.00401000
movzx ecx, word [eax + 2]
cmp cx, 0x3a
jne 0x411a6c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x411a6c
mov byte [esp + 0x17], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
mov byte [esp + 0x1a], bl
call esi
cmp eax, 0xffffffff
je 0x411a82
test al, 0x10
jne 0x411abb
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jl 0x411aa5
push str.hkey_
push eax
call fcn.004ab0ab
add esp, 8
cmp eax, ebx
je 0x411aa5
sub eax, dword [esp + 0x10]
sar eax, 1
je 0x411abb
mov eax, dword [esp + 0x10]
push eax
call fcn.00411640
add esp, 4
test al, al
je 0x411abb
mov byte [esp + 0x16], 1
cmp byte [esp + 0x40], bl
je 0x411acd
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
push ecx
call fcn.00404c20
mov edx, dword [esp + 0x10]
push edx
call esi
or esi, 0xffffffff
cmp eax, esi
je 0x411b05
test al, 0x10
je 0x411b05
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push edi
push eax
push ecx
push edx
lea eax, [esp + 0x26]
push eax
lea ecx, [esp + 0x24]
push 1
push ecx
call fcn.00411c20
add esp, 0x1c
jmp 0x411b20
mov edx, dword [esp + 0x10]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x17], bl
je 0x411b7c
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411b7c
mov edx, dword [esp + 0x10]
push 4
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x10]
call fcn.00405020
mov dword [esp + 0x34], esi
cmp dword [esp + 0x1c], ebx
je 0x411b78
push str.Wow64RevertWow64FsRedirection
push 0x4ea55c
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x411b78
mov ecx, dword [esp + 0x18]
push ecx
call eax
xor al, al
jmp 0x411bf7
cmp byte [esp + 0x16], bl
je 0x411bbb
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x10]
call fcn.00405020
mov dword [esp + 0x34], esi
cmp dword [esp + 0x1c], ebx
je 0x411bb7
push str.Wow64RevertWow64FsRedirection
push 0x4ea55c
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x411bb7
mov edx, dword [esp + 0x18]
push edx
call eax
xor al, al
jmp 0x411bf7
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x10]
call fcn.00405020
jmp 0x411bcd
or esi, 0xffffffff
mov dword [esp + 0x34], esi
cmp dword [esp + 0x1c], ebx
je 0x411bf5
push str.Wow64RevertWow64FsRedirection
push 0x4ea55c
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x411bf5
mov ecx, dword [esp + 0x18]
push ecx
call eax
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004aa641
add esp, 0x28
ret