Function at 0x453fbc
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push 0x84
mov eax, 0x611521
call fcn.00429868
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov ecx, vtable.ClassPtr_class_FSItem_.0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
xor eax, eax
mov edi, eax
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x7c], edi
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x88], ecx
mov ecx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x84], ecx
push esi
mov byte [ebp - 4], 1
mov ebx, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x454044
mov ebx, 0x80070002
push 0x547
push 0x63e9b0
push ebx
call fcn.0044db7a
jmp 0x454518
push dword [ebp - 0x38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne byte [ebp - 0x3d]
test eax, eax
je 0x454069
test byte [ebp - 0x68], 1
je 0x454069
mov ebx, 0x80070050
push 0x54b
jmp 0x454034
mov edi, dword [ebp - 0x3c]
lea eax, [edi + 0x70]
push eax
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x74], 1
lea eax, [edi + 8]
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], eax
call fcn.0040ad69
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [edi + 8]
call fcn.004510d8
mov edi, dword [edi + 0xc]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
mov esi, dword [eax]
call fcn.00413b5a
cmp esi, edi
je 0x4540fc
push dword [ebp - 0x34]
lea ecx, [ebp - 0x60]
call fcn.0040ad69
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 4
call fcn.00457ab5
mov edi, dword [eax + 4]
mov dword [ebp - 0x64], edi
test edi, edi
je 0x4540ed
mov eax, dword [edi]
push edi
mov esi, dword [eax]
mov ecx, esi
call dword [0x6317ac]
call esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x7c], edi
mov byte [ebp - 4], 2
call fcn.00413b5a
push dword [ebp - 0x38]
lea ecx, [ebp - 0x60]
call fcn.0040ad69
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
call fcn.004510d8
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
mov esi, dword [eax]
mov edi, dword [edi + 0xc]
call fcn.00413b5a
cmp esi, edi
je 0x454175
push dword [ebp - 0x38]
lea ecx, [ebp - 0x60]
call fcn.0040ad69
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 6
call fcn.00457ab5
mov edi, dword [eax + 4]
mov dword [ebp - 0x48], edi
test edi, edi
je 0x454167
mov eax, dword [edi]
push edi
mov esi, dword [eax]
mov ecx, esi
call dword [0x6317ac]
call esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x84], edi
call fcn.00413b5a
push dword [ebp - 0x78]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x64]
mov byte [ebp - 0x74], 0
test edi, edi
je 0x454197
cmp byte [edi + 0x6c], 0
jne 0x45426c
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x34]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x6317ac]
call esi
mov ebx, eax
test ebx, ebx
jns 0x4541bd
push 0x55e
jmp 0x454034
test edi, edi
jne 0x45427f
mov eax, dword [ebp - 0x78]
push eax
mov dword [ebp - 0x90], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x8c], 1
push dword [ebp - 0x34]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.0040ad69
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
call fcn.004510d8
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
mov esi, dword [eax]
mov edi, dword [edi + 0xc]
call fcn.00413b5a
cmp esi, edi
je 0x454255
push dword [ebp - 0x34]
lea ecx, [ebp - 0x60]
call fcn.0040ad69
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 9
call fcn.00457ab5
mov edi, dword [eax + 4]
test edi, edi
je 0x454248
mov eax, dword [edi]
push edi
mov esi, dword [eax]
mov ecx, esi
call dword [0x6317ac]
call esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x7c], edi
call fcn.00413b5a
jmp 0x454258
mov edi, dword [ebp - 0x64]
push dword [ebp - 0x78]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x8c], 0
test edi, edi
jne 0x45427f
mov ebx, 0x80040b02
push 0x56c
jmp 0x454034
mov esi, dword [ebp - 0x34]
cmp edi, dword [ebp - 0x48]
je 0x45441c
cmp dword [ebp + 8], 0
jne 0x45429a
mov ecx, dword [ebp - 0x3c]
push esi
call fcn.00456d85
mov ebx, dword [ebp - 0x68]
and ebx, 1
jne 0x4542df
cmp byte [ebp - 0x3d], bl
je 0x4542df
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4542df
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x454518
push 0x57d
jmp 0x454034
cmp dword [ebp + 8], 0
jne 0x454323
push ebx
push dword [ebp - 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x454415
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x454518
push 0x584
jmp 0x454034
push 2
push dword [ebp - 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x454415
push ebx
push dword [ebp - 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x454371
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x454518
push 0x58d
jmp 0x454034
test edi, edi
je 0x45438c
mov ecx, edi
call fcn.00458496
mov ebx, eax
test ebx, ebx
jns 0x45438c
push 0x592
jmp 0x454034
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x454415
mov ebx, dword [ebp - 0x68]
test bl, 4
jne 0x454415
push esi
lea ecx, [ebp - 0x60]
call fcn.0040ad69
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x30]
call fcn.00411a2e
shr ebx, 1
and bl, 1
mov dword [ebp - 0x18], reloc.WS2_32.dll_accept
mov byte [ebp - 0x14], bl
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.00413b5a
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x70]
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, esi
call dword [0x6317ac]
call esi
mov ebx, eax
test ebx, ebx
jns 0x45440d
push 0x597
push 0x63e9b0
push ebx
call fcn.0044db7a
lea ecx, [ebp - 0x30]
call fcn.00413b5a
jmp 0x454518
lea ecx, [ebp - 0x30]
call fcn.00413b5a
xor ebx, ebx
jmp 0x454518
cmp dword [ebp + 8], 0
je 0x454496
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x454492
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x454459
cmp eax, 0x20
je 0x454459
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x454496
push 0x5b2
jmp 0x454034
test edi, edi
jne 0x45445e
int3
push esi
lea ecx, [ebp - 0x60]
call fcn.0040ad69
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xd
push eax
mov ecx, edi
call fcn.00457fdd
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
mov ebx, eax
call fcn.00413b5a
test ebx, ebx
jns 0x454496
push 0x5ad
jmp 0x454034
mov byte [ebp - 0x6c], 1
cmp edi, dword [ebp - 0x48]
je 0x4544d2
push dword [ebp - 0x38]
lea ecx, [ebp - 0x60]
call fcn.0040ad69
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x60]
push edi
push eax
mov byte [ebp - 4], 0xe
call fcn.00453a67
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
mov ebx, eax
call fcn.00413b5a
test ebx, ebx
jns 0x4544d2
mov esi, ebx
mov eax, 0x5ce
jmp 0x45450b
cmp byte [ebp - 0x6c], 0
je 0x454518
push esi
lea ecx, [ebp - 0x60]
call fcn.0040ad69
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x60]
push edi
push eax
mov byte [ebp - 4], 0xf
call fcn.00456599
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
mov ebx, eax
mov esi, eax
call fcn.00413b5a
test ebx, ebx
jns 0x454518
mov eax, 0x5d4
push eax
push 0x63e9b0
push esi
call fcn.0044db7a
int3
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x454533
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x6317ac]
call esi
mov dword [ebp - 4], 0x12
test edi, edi
je 0x45454e
mov ecx, dword [edi]
push edi
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x6317ac]
call esi
mov eax, ebx
call fcn.00429817
ret 0x10