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

Disassembly:
push 0xffffffffffffffff
push 0x5080dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
call fcn.004ea7b5
push 0x556998
lea ecx, [esp + 0x14]
mov dword [esp + 0x230], 0
call fcn.004ea7b5
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x18]
push str.DeleteFileReboot___s____s_
push ecx
mov byte [esp + 0x23c], 1
call fcn.004e3c81
mov edx, dword [esp + 0x20]
push 0
push 2
push edx
call fcn.0041e3a0
mov eax, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x1c
push eax
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, 0xffffffff
je 0x41148e
mov eax, dword [esp + 0x234]
test eax, eax
jne 0x411483
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0041c6d0
add esp, 4
mov edx, dword [esp + 0xc]
push 4
push 0
push edx
call edi
push 0x556998
lea ecx, [esp + 0x18]
call fcn.004ea7b5
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 2
call fcn.004e38eb
cmp eax, 0xffffffff
jne 0x4114c4
push str.SetupData.dat
lea ecx, [esp + 0x10]
call fcn.004ea8d8
jmp 0x411512
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.004e381f
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 3
call fcn.004ea888
lea ecx, [esp + 0x18]
mov byte [esp + 0x22c], 2
call fcn.004ea741
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea888
push 0x53f210
lea ecx, [esp + 0x10]
call fcn.004eab32
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x18]
push str.DeleteFileReboot_2__s____s_
push ecx
call fcn.004e3c81
mov edx, dword [esp + 0x20]
push 0
push 2
push edx
call fcn.0041e3a0
mov eax, dword [esp + 0x28]
add esp, 0x1c
push eax
call ebp
cmp eax, 0xffffffff
je 0x41156b
mov eax, dword [esp + 0x234]
test eax, eax
jne 0x411560
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0041c6d0
add esp, 4
mov edx, dword [esp + 0xc]
push 4
push 0
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
call fcn.004216e0
add esp, 4
test eax, eax
jne 0x41159b
push str.Remove_Module_Folder_failed.
lea ecx, [esp + 0x14]
call fcn.004ea8d8
mov ecx, dword [esp + 0x10]
push 0
push 1
push ecx
call fcn.0041e3a0
add esp, 0xc
mov edx, dword [esp + 0x14]
push 4
push 0
push edx
call edi
mov eax, dword [esi + 0x90]
push eax
call fcn.004216e0
add esp, 4
test eax, eax
jne 0x4115d8
push str.Remove_Unzip_Folder_failed.
lea ecx, [esp + 0x14]
call fcn.004ea8d8
mov eax, dword [esp + 0x10]
push 0
push 1
push eax
call fcn.0041e3a0
add esp, 0xc
mov esi, dword [esi + 0x90]
push 4
push 0
push esi
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], 1
call fcn.004ea741
lea ecx, [esp + 0x10]
mov byte [esp + 0x22c], 0
call fcn.004ea741
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call fcn.004ea741
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x224
ret 4