Function at 0x42a9c0
Capabilities:
Check if file exists
Copy file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f158
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push ecx
lea ecx, [ebp - 0x50]
movups xmmword [ebp - 0x50], xmm0
call fcn.00405bb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push esi
movups xmmword [ebp - 0x64], xmm0
call fcn.00405bb0
mov byte [ebp - 4], 1
mov ecx, dword [esi]
test ecx, ecx
je 0x42aa62
cmp word [ecx], 0
je 0x42aa62
sub esp, 8
lea edx, [esi + 0xc]
call fcn.004237d0
mov esi, dword [esi + 0xc]
add esp, 8
test esi, esi
je 0x42aa62
cmp byte [esi], 0
jne 0x42aa67
mov esi, 0x4afda8
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x42aa98
cmp word [edi], 0
je 0x42aa98
sub esp, 8
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.004237d0
mov eax, dword [ebp - 0x44]
add esp, 8
test eax, eax
je 0x42aa95
cmp byte [eax], 0
je 0x42aa95
mov edi, dword [ebp - 0x50]
jmp 0x42aa9d
mov edi, dword [ebp - 0x50]
mov eax, 0x4afda8
push esi
push eax
push str.forceRenameFileUseCopyIfFail_:__s___s
push str.Utils
push 0x37f
push str.utilsUtils.cpp
push 2
call fcn.0040e400
push eax
call fcn.00402c30
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
add esp, 0x20
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x4c]
cmp esi, 1
jl 0x42ab07
push 1
lea eax, [esi - 1]
lea eax, [edi + eax*2]
push 0x4b5884
push eax
call fcn.00486087
add esp, 0xc
test eax, eax
sete al
test al, al
jne 0x42ab28
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x50]
call fcn.004064a0
mov edi, dword [ebp - 0x50]
push 0x4b5884
push eax
push edi
call fcn.00480d25
add esp, 0xc
inc dword [ebp - 0x4c]
mov esi, dword [ebp - 0x60]
cmp esi, 1
jl 0x42ab52
mov eax, dword [ebp - 0x64]
push 1
push 0x4b5884
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push eax
call fcn.00486087
add esp, 0xc
test eax, eax
sete al
test al, al
jne 0x42ab73
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x64]
call fcn.004064a0
push 0x4b5884
push eax
mov eax, dword [ebp - 0x64]
push eax
call fcn.00480d25
add esp, 0xc
inc dword [ebp - 0x60]
test edi, edi
je 0x42ab7f
cmp word [edi], 0
mov eax, edi
jne 0x42ab84
mov eax, 0x4aebf4
push eax
lea eax, [ebp - 0x78]
push str._s.
push eax
call fcn.004063a0
mov esi, dword [ebp - 0x78]
add esp, 0xc
test esi, esi
je 0x42aba5
cmp word [esi], 0
mov eax, esi
jne 0x42abaa
mov eax, 0x4aebf4
lea ecx, [ebp - 0x2c8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 0x2c9], 1
cmp eax, 0xffffffff
je 0x42af0e
mov esi, eax
push 0xff
lea eax, [ebp - 0x29c]
push 0x4b588c
push eax
call fcn.00486087
add esp, 0xc
test eax, eax
je 0x42aeee
push 0xff
lea eax, [ebp - 0x29c]
push 0x4b836c
push eax
call fcn.00486087
add esp, 0xc
test eax, eax
je 0x42aeee
lea eax, [ebp - 0x50]
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x3c]
push eax
movups xmmword [ebp - 0x3c], xmm0
call fcn.00405bb0
cmp word [ebp - 0x29c], 0
je 0x42ac73
lea esi, [ebp - 0x29c]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42ac40
mov eax, dword [ebp - 0x38]
sub esi, ecx
sar esi, 1
lea ecx, [ebp - 0x3c]
add eax, esi
push eax
call fcn.004064a0
lea ecx, [ebp - 0x29c]
push ecx
push eax
push dword [ebp - 0x3c]
call fcn.00480d25
add esp, 0xc
add dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00405bb0
mov byte [ebp - 4], 4
cmp word [ebp - 0x29c], 0
je 0x42acd7
lea esi, [ebp - 0x29c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42aca4
mov eax, dword [ebp - 0x24]
sub esi, ecx
sar esi, 1
lea ecx, [ebp - 0x28]
add eax, esi
push eax
call fcn.004064a0
lea ecx, [ebp - 0x29c]
push ecx
push eax
push dword [ebp - 0x28]
call fcn.00480d25
add esp, 0xc
add dword [ebp - 0x24], esi
test byte [ebp - 0x2c8], 0x10
mov edx, dword [ebp - 0x28]
je 0x42ad98
test edx, edx
je 0x42acf1
cmp word [edx], 0
jne 0x42acf6
mov edx, 0x4aebf4
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x42ad03
cmp word [ecx], 0
jne 0x42ad08
mov ecx, 0x4aebf4
call fcn.0042a730
test al, al
jne 0x42ae5e
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42ad22
cmp word [eax], 0
jne 0x42ad2d
mov eax, 0x4aebf4
cmp word [eax], 0
je 0x42ad40
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ad40
shr eax, 4
and al, 1
jne 0x42ad80
lea ecx, [ebp - 0x28]
call fcn.0042d890
test al, al
jne 0x42ad80
lea ecx, [ebp - 0x28]
call fcn.00413be0
push eax
push str.mkDirEx_err_dir_s
push str.Utils
push 0x3a3
push str.utilsUtils.cpp
push 2
call fcn.0040e400
push eax
call fcn.00402c30
add esp, 0x1c
mov byte [ebp - 0x2c9], 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
call fcn.0042a9c0
test al, al
jne 0x42ae5e
jmp 0x42ae57
test edx, edx
je 0x42ada2
cmp word [edx], 0
jne 0x42ada7
mov edx, 0x4aebf4
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x42adb4
cmp word [ecx], 0
jne 0x42adb9
mov ecx, 0x4aebf4
call fcn.0042a730
test al, al
jne 0x42ae5e
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x42add3
cmp word [ecx], 0
jne 0x42add8
mov ecx, 0x4aebf4
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42ade5
cmp word [eax], 0
jne 0x42adea
mov eax, 0x4aebf4
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete al
test al, al
jne 0x42ae5e
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42ae0b
cmp word [eax], 0
jne 0x42ae10
mov eax, 0x4aebf4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
jne 0x42ae5e
lea ecx, [ebp - 0x28]
call fcn.00413be0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413be0
push eax
push str.copy_err_from__s_to__s
push str.Utils
push 0x3b3
push str.utilsUtils.cpp
push 2
call fcn.0040e400
push eax
call fcn.00402c30
add esp, 0x20
mov byte [ebp - 0x2c9], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42ae75
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
test eax, eax
je 0x42aea1
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42aebc
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test eax, eax
je 0x42aee8
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov esi, dword [ebp - 0x2d0]
lea eax, [ebp - 0x2c8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42abd0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x42af1b
push esi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x42af2b
push eax
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x42af3b
push eax
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x42af4b
push eax
call fcn.00480a27
add esp, 4
test edi, edi
je 0x42af58
push edi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x42af68
push eax
call fcn.00480a27
add esp, 4
mov al, byte [ebp - 0x2c9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret