Function at 0x418cdd
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x455d8b
call fcn.004324bc
sub esp, 0xa8
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
and dword [ebp - 0x40], 0
push ecx
mov dword [ebp - 0x38], 1
mov ebx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.00447ffc
push ebx
call fcn.0040b60c
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
call fcn.0040b47f
and dword [ebp - 4], 0
add esp, 4
mov ebx, esp
mov dword [ebp - 0x28], esp
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00447ffc
push ebx
call fcn.0040b60c
pop ecx
pop ecx
call fcn.0040b31f
pop ecx
push 1
lea ecx, [ebp - 0xb4]
call fcn.0043f827
push dword [0x45f4ac]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
push 2
push dword [ebp - 0x10]
call fcn.0043f919
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xb0]
cmp dword [eax + 0x4c], 0xffffffff
jne 0x418d92
and dword [ebp - 0x38], 0
jmp 0x4190fe
and dword [ebp - 0x1c], 0
cmp dword [esi + 0xc], 0
jle 0x4190cc
mov ebx, 0x40f115
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x30], 0
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 8]
shl edi, 2
mov ecx, dword [edi + eax]
call fcn.004032d8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov eax, dword [esi + 8]
mov ecx, dword [edi + eax]
call fcn.00424b72
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
mov eax, dword [esi + 8]
mov ecx, dword [edi + eax]
call fcn.00414e09
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
push eax
mov eax, dword [esi + 8]
mov ecx, dword [edi + eax]
call fcn.00414d47
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
mov eax, dword [esi + 8]
mov ecx, dword [edi + eax]
call fcn.004032f3
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
push eax
mov eax, dword [esi + 8]
mov ecx, dword [edi + eax]
call fcn.0041a0ac
mov eax, dword [esi + 8]
and dword [ebp - 0x20], 0
add eax, edi
mov byte [ebp - 4], 7
mov ecx, dword [eax]
cmp dword [ecx + 0xc], 0
jle 0x419046
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov ecx, dword [eax + ecx*4]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x24], ecx
call fcn.00424834
lea eax, [ebp - 0x2c]
push 0x46f230
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 8
call fcn.004484d0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0044846a
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.00448287
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.00414a29
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x14], ecx
je 0x418ebc
call fcn.00413b3d
mov ecx, dword [ebp - 0x14]
test eax, eax
mov ecx, dword [ecx + 0x3c]
jne 0x418eb2
test ecx, ecx
jne 0x418eb2
mov eax, dword [ebp - 0x24]
and dword [eax + 0x10], ecx
jmp 0x418ebc
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x10], 1
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x54]
push eax
call fcn.004248eb
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 0xc
jne 0x418fe7
push 1
pop eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push 0x46f4b0
push eax
call fcn.00448544
push 0x46f4b4
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
push eax
call fcn.004484d0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call fcn.00448287
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xb4]
call fcn.0043ffc7
push ebx
push 0xa
mov ecx, eax
call fcn.00440283
mov ecx, eax
call fcn.0040f106
push dword [ebp - 0x18]
lea ecx, [ebp - 0xb4]
push str.CSWFile_
call fcn.0043ffc7
mov ecx, eax
call fcn.0043ffc7
push ebx
push 0xa
mov ecx, eax
call fcn.00440283
mov ecx, eax
call fcn.0040f106
push dword [ebp - 0x48]
lea ecx, [ebp - 0xb4]
push str.BoxDest_
call fcn.0043ffc7
mov ecx, eax
call fcn.0043ffc7
push ebx
push 0xa
mov ecx, eax
call fcn.00440283
mov ecx, eax
call fcn.0040f106
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xb4]
push str.BoxSharedDest_
call fcn.0043ffc7
mov ecx, eax
call fcn.0043ffc7
push ebx
push 0xa
mov ecx, eax
call fcn.00440283
mov ecx, eax
call fcn.0040f106
push dword [ebp - 0x44]
lea ecx, [ebp - 0xb4]
push str.SetupPath_
call fcn.0043ffc7
mov ecx, eax
call fcn.0043ffc7
push ebx
push 0xa
mov ecx, eax
call fcn.00440283
mov ecx, eax
call fcn.0040f106
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3c]
call fcn.00448287
push dword [ebp - 0x54]
lea ecx, [ebp - 0xb4]
call fcn.0043ffc7
push ebx
push 0xa
mov ecx, eax
call fcn.00440283
mov ecx, eax
call fcn.0040f106
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
call fcn.00448287
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.00448287
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00448287
mov eax, dword [esi + 8]
inc dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
add eax, edi
mov ecx, dword [eax]
cmp edx, dword [ecx + 0xc]
jl 0x418e38
cmp dword [ebp - 0x30], 0
jne 0x419072
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
lea eax, [ebp - 0x18]
mov edi, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00447ffc
push edi
call fcn.0040b60c
pop ecx
pop ecx
call fcn.0040c18a
pop ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.00448287
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00448287
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00448287
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00448287
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00448287
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00448287
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [esi + 0xc]
jl 0x418da5
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xb4]
call fcn.0043fde5
cmp dword [ebp - 0x40], 0
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jne 0x4190e9
call esi
jmp 0x4190f9
call esi
mov edi, dword [edi]
push 0
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push dword [ebp - 0x10]
call esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.0043f8d8
lea ecx, [ebp - 0xac]
call fcn.0043f7ae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00448287
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4