Function at 0x1000b560
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037557
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x418], 0
call fcn.100011b0
mov ecx, eax
test ecx, ecx
je 0x1000b7bd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x418]
push eax
push edi
call fcn.1000b4b0
or ebx, 0xffffffff
cmp al, 1
jne 0x1000b77d
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
cmp eax, 1
jne 0x1000b771
push dword [ebp - 0x418]
call esi
test eax, eax
jne 0x1000b60b
push eax
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
jne 0x1000b77d
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x100
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
add esp, 0x24
test eax, eax
jne 0x1000b771
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000b76e
lea eax, [ebp - 0x434]
xorps xmm0, xmm0
push eax
push 0
push 0
push ebx
movlpd qword [ebp - 0x434], xmm0
movlpd qword [ebp - 0x43c], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x1000b767
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x1000b767
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x1000b767
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x41c], 0
lea ecx, [ecx - 0x10]
call fcn.1000d6e0
add eax, 0x10
mov dword [ebp - 0x41c], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x214]
push eax
movzx eax, word [ebp - 0x420]
push eax
movzx eax, word [ebp - 0x422]
push eax
movzx eax, word [ebp - 0x424]
push eax
movzx eax, word [ebp - 0x426]
push eax
movzx eax, word [ebp - 0x42a]
push eax
movzx eax, word [ebp - 0x42c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push str._s__04d_02d_02d__02d_02d_02d_s
push eax
call fcn.10006cb0
mov esi, dword [ebp - 0x41c]
add esp, 0x28
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000b767
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
lea eax, [ebp - 0x418]
push eax
call fcn.1000b7d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000b79f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034b1d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10008700
int3