Function at 0x4110e0
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd02b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x55b18c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], edi
cmp dword [edi + 0x68], 0x10
lea esi, [edi + 0x54]
mov ecx, esi
jb 0x41111f
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x64]
push 0x533398
mov dword [ebp - 0x60], eax
call fcn.004151d0
xorps xmm0, xmm0
test al, al
je 0x41137b
mov byte [edi + 0x20], 1
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x94], xmm0
cmp eax, 3
jb 0x411555
add eax, 0xfffffffd
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41117e
mov eax, dword [esi]
push ecx
add eax, 3
lea ecx, [ebp - 0x94]
push eax
call fcn.00417660
mov dword [ebp - 4], 0
lea ecx, [edi + 0x24]
cmp dword [edi + 0x38], 0x10
jb 0x4111a1
mov ecx, dword [edi + 0x24]
push dword [edi + 0x34]
push ecx
push 0
lea ecx, [ebp - 0x94]
call fcn.004188b0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov byte [ebp - 4], 2
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x80]
cmp ecx, 0x10
jb 0x411224
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41121a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41155a
push ecx
push edx
call fcn.004d25e8
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x411270
push 0xa
call edi
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x411242
mov ecx, dword [ebp - 0x5c]
mov eax, dword [esi + 0x10]
add ecx, 0x24
mov dword [ebp - 0x5c], eax
mov eax, closesocket
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, dword [ebp - 0x5c]
jb 0x41155f
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x411299
mov eax, dword [ecx]
cmp dword [esi + 0x14], 0x10
jb 0x4112a1
mov esi, dword [esi]
push dword [ebp - 0x5c]
push esi
push edx
push eax
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
call fcn.00418720
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
nop dword [eax]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call esi
test eax, eax
jne 0x4112e6
push 0xa
call edi
jmp 0x4112c0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.004b96d0
test al, al
jne 0x411564
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x411332
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411328
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41158e
push ecx
push edx
call fcn.004d25e8
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x41153a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411530
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41158e
jmp 0x411530
push 3
push 0x533398
lea ecx, [ebp - 0xac]
mov byte [edi + 0x20], 0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
call fcn.00417660
lea eax, [edi + 0x24]
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4113c1
mov eax, dword [eax]
push ecx
push eax
push 0
lea ecx, [ebp - 0xac]
call fcn.004188b0
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x7c]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
mov byte [ebp - 4], 4
call fcn.00413f10
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x41147f
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411475
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411593
push ecx
push edx
call fcn.004d25e8
add esp, 8
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0x10
jb 0x4114cb
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4114c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411593
push ecx
push edx
call fcn.004d25e8
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop word [eax + eax]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41150a
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
push 0xa
call esi
jmp 0x4114e0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x41153a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411530
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411598
push ecx
push edx
call fcn.004d25e8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d20a0
mov esp, ebp
pop ebp
ret
call fcn.004158e0
call fcn.004e5df6
call fcn.00409ec0
mov eax, dword [0x56539c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x411576
push eax
call esi
mov eax, dword [0x5653a0]
test eax, eax
je 0x411582
push eax
call esi
call fcn.0040e520
push 0
call fcn.004e51ba
call fcn.004e5df6
call fcn.004e5df6
call fcn.004e5df6
int3