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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
xor eax, eax
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], eax
push 1
mov edi, edx
mov dword [ebp - 0x28], esi
mov ebx, eax
mov dword [ebp - 0x24], edi
push 0x101dd068
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
call fcn.100ad791
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.100adacf
mov esi, eax
test esi, esi
jns 0x100fe004
push 0x1003bf60
push 1
push esi
push 0x4000000
call fcn.100ab973
mov edi, dword [ebp - 4]
add esp, 0x10
jmp 0x100fe2d3
lea ecx, [ebp - 4]
call fcn.100b15f5
mov esi, eax
test esi, esi
jns 0x100fe019
push 0x10039a0c
jmp 0x100fdfec
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x10037980
push eax
call fcn.100a6b40
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x100fe03b
push 0x1003bf88
jmp 0x100fdfec
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x100391f8
push eax
call fcn.100a6b40
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x100fe05d
push 0x1003bfa8
jmp 0x100fdfec
push edi
push dword [ebp + 8]
lea eax, [ebp - 8]
push 0x1003bfc8
push eax
call fcn.100a6b40
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x100fe082
push 0x1003bfdc
jmp 0x100fdfec
push edi
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x20]
push edi
push 0x10037980
push eax
call fcn.100a6b40
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x100fe0b8
push 0x1003bf88
push 1
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x10
jmp 0x100fe2d3
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push ebx
push edi
push 0x100391f8
push eax
call fcn.100a6b40
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x100fe0f1
push 0x1003bfa8
push 1
push esi
push 0x4000000
call fcn.100ab973
mov ebx, dword [ebp - 0x10]
add esp, 0x10
jmp 0x100fe2d3
push ebx
push edi
lea eax, [ebp - 8]
push 0x1003bfc8
push eax
call fcn.100a6b40
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x100fe111
push 0x1003bfdc
jmp 0x100fe0d9
mov ebx, dword [ebp - 0x20]
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
mov esi, 0x80
cmp eax, 0xffffffff
je 0x100fe12d
push esi
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
push 1
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileExW]
test eax, eax
jne 0x100fe179
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100fe154
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x100fe15b
mov esi, 0x80004005
push ebx
push dword [ebp - 0x14]
push 0x10038494
push 1
push esi
push 0x4000000
call fcn.100ab973
mov ebx, dword [ebp - 0x10]
jmp 0x100fe2d0
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100fe190
push esi
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
push 1
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileExW]
test eax, eax
jne 0x100fe1cc
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100fe1b7
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x100fe1be
mov esi, 0x80004005
push ebx
push dword [ebp - 0x18]
push 0x10039178
jmp 0x100fe2c3
push dword [ebp - 0x24]
lea eax, [ebp - 0xc]
push 0x1003c008
push eax
call fcn.100a6b40
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x100fe1f0
push 0x1003c018
jmp 0x100fe0a3
mov esi, dword [ebp - 0x28]
mov ecx, esi
call fcn.100b3e5c
test eax, eax
je 0x100fe219
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.101291ff
mov esi, eax
test esi, esi
jns 0x100fe219
push 0x1003c03c
jmp 0x100fe0a3
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.1011e745
push dword [ebp - 0xc]
mov esi, eax
test esi, esi
jns 0x100fe249
push 0x1003c068
push 1
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x14
jmp 0x100fe2d3
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
call fcn.1011e45e
mov esi, eax
test esi, esi
jns 0x100fe264
push dword [ebp - 0xc]
push edi
push 0x1003c09c
jmp 0x100fe2c3
mov ecx, dword [ebp - 8]
call fcn.100b7fb2
test eax, eax
je 0x100fe2d3
push 0
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100fe28a
push 0x80
push 0
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
push 1
push 0
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileExW]
test eax, eax
jne 0x100fe2d3
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100fe2b2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x100fe2b9
mov esi, 0x80004005
push 0
push dword [ebp - 8]
push 0x1003c0d0
push 1
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x18
test edi, edi
je 0x100fe2e1
lea eax, [edi - 4]
push eax
call fcn.100b84f9
pop ecx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100fe2f2
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100fe303
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
mov eax, dword [ebp - 8]
test eax, eax
je 0x100fe314
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100fe325
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
test ebx, ebx
je 0x100fe333
lea eax, [ebx - 4]
push eax
call fcn.100b84f9
pop ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100fe344
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100fe355
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
lea ecx, [ebp - 0x34]
call fcn.100aa570
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4