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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465c38
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x47f5dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xd4], 8
lea esi, [edi + 0xc0]
jb 0x40d1f0
mov eax, dword [esi]
jmp 0x40d1f2
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d381
test al, 0x10
jne 0x40d381
lea ebx, [edi + 0xe8]
mov ecx, ebx
call fcn.00414ff0
lea ecx, [edi + 0x160]
call fcn.00414ff0
cmp dword [esi + 0x14], 8
jb 0x40d22c
mov eax, dword [esi]
jmp 0x40d22e
mov eax, esi
push eax
push str.CreateTransfersInfo_m_strFileIni_s_Is_Exist
push 0xca
push str.TransfersTransferInfo.cpp
call fcn.0040a560
add esp, 0x10
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
push 3
push 0x4726e4
call fcn.00409960
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 3
push eax
push esi
mov ecx, ebx
call fcn.00414d10
test eax, eax
mov dword [ebp - 4], 0xffffffff
sete bl
cmp dword [ebp - 0x2c], 8
jb 0x40d299
push dword [ebp - 0x40]
call fcn.0044a77c
add esp, 4
test bl, bl
je 0x40d2a4
xor eax, eax
jmp 0x40d4fd
mov ecx, edi
call fcn.0040d720
test eax, eax
je 0x40d29d
push 0x4726e4
lea ecx, [ebp - 0x28]
call fcn.00409a60
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea ebx, [edi + 0xa8]
push ebx
lea ecx, [edi + 0x160]
call fcn.00414d10
test eax, eax
mov dword [ebp - 4], 0xffffffff
sete al
cmp dword [ebp - 0x14], 8
mov byte [ebp - 0x41], al
jb 0x40d2fc
push dword [ebp - 0x28]
call fcn.0044a77c
mov al, byte [ebp - 0x41]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
test al, al
jne 0x40d29d
cmp dword [edi + 0x8c], 8
lea eax, [edi + 0x78]
mov edx, dword [eax + 0x10]
lea ecx, [edi + 0x90]
jb 0x40d32b
mov eax, dword [eax]
push edx
push eax
push dword [ecx + 0x10]
push ecx
call fcn.00406510
test eax, eax
jne 0x40d344
mov eax, 1
jmp 0x40d4fd
lea ecx, [edi + 0x160]
call fcn.00414ff0
lea ecx, [edi + 0xe8]
call fcn.00414ff0
cmp dword [ebx + 0x14], 8
jb 0x40d362
mov ebx, dword [ebx]
mov ecx, ebx
call fcn.00411830
cmp dword [esi + 0x14], 8
jb 0x40d378
mov ecx, dword [esi]
call fcn.00411830
jmp 0x40d3a5
mov ecx, esi
call fcn.00411830
jmp 0x40d3a5
cmp dword [esi + 0x14], 8
jb 0x40d38b
mov eax, dword [esi]
jmp 0x40d38d
mov eax, esi
push eax
push str.CreateTransfersInfo_m_strFileIni_s_Is_Not_Exist
push 0xca
push str.TransfersTransferInfo.cpp
call fcn.0040a560
add esp, 0x10
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.004126d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d3d1
test al, 0x10
jne 0x40d3e1
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
call fcn.00411710
push dword [edi + 4]
mov ecx, edi
push dword [edi]
call fcn.0040cf70
cmp dword [edi + 0xbc], 8
lea ebx, [edi + 0xa8]
jb 0x40d400
mov eax, dword [ebx]
jmp 0x40d402
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d449
test al, 0x10
jne 0x40d449
cmp dword [ebx + 0x14], 8
jb 0x40d41f
mov eax, dword [ebx]
mov dword [ebp - 0x48], eax
jmp 0x40d424
mov eax, ebx
mov dword [ebp - 0x48], ebx
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40d449
push 4
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 3
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x47267c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00409960
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push ebx
lea ecx, [edi + 0x160]
call fcn.00414d10
test eax, eax
mov byte [ebp - 4], 0
sete bl
cmp dword [ebp - 0x14], 8
jb 0x40d49a
push dword [ebp - 0x28]
call fcn.0044a77c
add esp, 4
test bl, bl
jne 0x40d4e8
push 0x47267c
lea ecx, [ebp - 0x28]
call fcn.00409a60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push esi
lea ecx, [edi + 0xe8]
call fcn.00414d10
test eax, eax
mov byte [ebp - 4], 0
sete bl
cmp dword [ebp - 0x14], 8
jb 0x40d4d9
push dword [ebp - 0x28]
call fcn.0044a77c
add esp, 4
test bl, bl
jne 0x40d4e8
mov ecx, edi
call fcn.0040d520
mov esi, eax
jmp 0x40d4ea
xor esi, esi
cmp dword [ebp - 0x2c], 8
jb 0x40d4fb
push dword [ebp - 0x40]
call fcn.0044a77c
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a781
mov esp, ebp
pop ebp
ret