Function at 0x1017c1a0
Capabilities:
Delete file
Get file size
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102673d8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push esi
xor ebp, ebp
push edi
mov dword [0x1030f3c4], ebp
call ebx
mov esi, dword [esp + 0x34]
mov dword [0x1030f3cc], eax
cmp esi, ebp
je 0x1017c483
push esi
call fcn.10078f12
add esp, 4
test eax, eax
je 0x1017c483
push esi
lea ecx, [esp + 0x1c]
call fcn.1017e9c0
push ebp
push ebp
push 3
push ebp
push 1
push 0xc0000000
push esi
mov dword [esp + 0x48], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1017c243
mov dword [0x1030f3c4], 4
mov dword [0x1030f3c8], 0x1a6
call ebx
lea ecx, [esp + 0x18]
mov dword [0x1030f3cc], eax
mov dword [esp + 0x2c], edi
call fcn.1017ea60
jmp 0x1017c49e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1026e87c]
mov dword [esp + 0x10], ecx
mov edx, dword [0x1030f3d0]
lea eax, [esp + 0x10]
push edx
push eax
push 0x102ea8cc
push esi
mov byte [esp + 0x3c], 1
call fcn.1017f590
add esp, 0x10
test eax, eax
jne 0x1017c2c8
mov dword [0x1030f3c4], 0x24
mov dword [0x1030f3c8], 0x1b3
call ebx
lea ecx, [esp + 0x10]
mov dword [0x1030f3cc], eax
mov byte [esp + 0x2c], 0
call fcn.10090bf0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1017ea60
jmp 0x1017c49e
mov edx, dword [esp + 0x40]
xor eax, eax
test edx, edx
setne al
test eax, eax
mov dword [esp + 0x40], eax
je 0x1017c2eb
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1017c2eb
test ebp, ebp
jne 0x1017c2eb
mov dword [esp + 0x40], ebp
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x14]
push 0
push edx
push 0
push 0
mov ebp, 1
push 0
push eax
push ebp
push ecx
push esi
call fcn.1017bcd0
add esp, 0x28
test eax, eax
jne 0x1017c40f
mov edx, dword [0x1026e87c]
mov dword [esp + 0x34], edx
mov eax, dword [0x1030f3d0]
lea ecx, [esp + 0x34]
push eax
push ecx
push 0x102ea7ac
push esi
mov byte [esp + 0x3c], 2
call fcn.1017f590
add esp, 0x10
test eax, eax
je 0x1017c416
mov edx, dword [esp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
push edx
push esi
call edi
test eax, eax
je 0x1017c3f2
mov eax, dword [esp + 0x10]
push 3
push esi
push eax
call edi
test eax, eax
je 0x1017c3b6
mov eax, dword [esp + 0x40]
xor ebp, ebp
test eax, eax
je 0x1017c391
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.10090d80
jmp 0x1017c436
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1017c436
mov eax, dword [esp + 0x34]
push eax
call fcn.1017f3b0
add esp, 4
jmp 0x1017c436
mov dword [0x1030f3c4], 0x27
mov dword [0x1030f3c8], 0x1ee
call ebx
mov ecx, dword [esp + 0x34]
push 3
push esi
push ecx
mov dword [0x1030f3cc], eax
call edi
test eax, eax
jne 0x1017c436
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x34]
push edx
or ebp, 0xffffffff
call fcn.10090d80
jmp 0x1017c436
mov dword [0x1030f3c4], 0x28
mov dword [0x1030f3c8], 0x1fd
call ebx
mov dword [0x1030f3cc], eax
jmp 0x1017c436
mov ebp, 1
jmp 0x1017c44f
mov dword [0x1030f3c4], 0x24
mov dword [0x1030f3c8], 0x1d0
call ebx
mov dword [0x1030f3cc], eax
mov ebp, 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 1
call fcn.10090bf0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.10090bf0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1017ea60
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov dword [0x1030f3c4], 1
mov dword [0x1030f3c8], 0x18f
call ebx
mov dword [0x1030f3cc], eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret