Function at 0x603524
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.004069ac
xor eax, eax
push ebp
push 0x6037f3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x6037b9
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42bc60]
call fcn.00437668
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x6037a8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x603810
call fcn.00406e98
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00601f9c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00602c14
test al, al
je 0x603770
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
or eax, 0xffffffff
call fcn.004045e8
lea ecx, [ebp - 0x30]
mov edx, 8
call fcn.00412a98
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x603840
call fcn.004139e4
mov eax, dword [ebp - 8]
call fcn.00412fcc
test al, al
jne 0x6035b8
xor edx, edx
push ebp
push 0x603764
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xff00
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42bc60]
call fcn.00437668
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x603753
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0060314c
test al, al
je 0x6036fd
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x14], edx
call fcn.00404e10
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x18], edx
call fcn.00404e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax]
call fcn.00601400
test al, al
je 0x6036bf
lea eax, [ebp - 0xc]
mov ecx, 0x603858
mov edx, dword [ebp - 4]
call fcn.00406e98
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov edx, 0x603874
call fcn.00406e98
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.00601f9c
push 0
mov eax, dword [ebp - 0xc]
call fcn.00406a50
push eax
mov eax, dword [ebp - 4]
call fcn.00406a50
push eax
call sub.KERNEL32.DLL_CopyFileW
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00603490
test al, al
je 0x6036e0
mov edx, 0x60389c
mov eax, dword [ebp - 0x10]
call fcn.00601f9c
jmp 0x603732
mov edx, 0x6038e8
mov eax, dword [ebp - 0x10]
call fcn.00601f9c
mov eax, dword [ebp - 8]
call fcn.00406a50
push eax
call sub.KERNEL32.DLL_DeleteFileW
jmp 0x603732
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x14], edx
call fcn.00404e10
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x18], edx
call fcn.00404e10
mov eax, dword [ebp - 8]
call fcn.00406a50
push eax
call sub.KERNEL32.DLL_DeleteFileW
mov edx, 0x603970
mov eax, dword [ebp - 0x10]
call fcn.00601f9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60375a
cmp dword [ebp - 0x18], 0
je 0x603752
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x18], edx
call fcn.00404e10
ret
mov edx, 0x6039e4
mov eax, dword [ebp - 0x10]
call fcn.00601f9c
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00601f9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6037af
cmp dword [ebp - 0x14], 0
je 0x6037a7
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x14], edx
call fcn.00404e10
ret