Function at 0x6193d0
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x7c2df7
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x260]
mov eax, dword [esp + 0x25c]
mov ebx, dword [esp + 0x254]
mov ebp, dword [esp + 0x258]
mov dword [esp + 0x2c], ecx
xor esi, esi
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], esi
call fcn.004068d0
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x258], esi
call fcn.00617dc0
add esp, 0xc
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x24c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x619482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], esi
jne 0x6194bb
push 0x830150
mov ecx, ebx
call fcn.004068d0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x24c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x6196c4
mov edx, dword [0x8a14f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x8a14f8
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push ebp
mov byte [esp + 0x250], 3
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
test edi, edi
je 0x619601
push 0x82f470
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00403a70
push edi
push eax
lea eax, [esp + 0x44]
mov bl, 4
push eax
mov byte [esp + 0x264], bl
call fcn.00403a70
add esp, 0x18
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x250], 5
call fcn.00404210
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x24c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x619550
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x24c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x619578
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x6195b9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x6195b9
push eax
call fcn.007200ab
mov ecx, dword [esp + 0x18]
push eax
push edi
push ecx
mov dword [esp + 0x38], edx
lea edx, [esp + 0x28]
push str._s_s__d
push edx
call fcn.0040e430
mov esi, dword [esp + 0x30]
add esp, 0x18
mov ebx, dword [esp + 0x1c]
push 0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x619661
push 0x830150
mov ecx, ebx
call fcn.004068d0
lea eax, [esi - 0x10]
mov byte [esp + 0x24c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6196a5
mov ecx, dword [eax]
push eax
jmp 0x61969e
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x3e]
push ecx
mov word [esp + 0x40], ax
call fcn.007202b0
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x34]
push edx
push 0
push 0x80ab1c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x6195bd
push 0x830150
mov ecx, ebx
call fcn.004068d0
lea eax, [esi - 0x10]
mov byte [esp + 0x24c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6196a5
mov ecx, dword [eax]
push eax
jmp 0x61969e
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x619673
lea edx, [esp + 0x14]
push edx
call fcn.00404210
add esi, 0xfffffff0
push esi
call fcn.00405cc0
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [esp + 0x24c], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x6196a5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6196d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x23c
ret