Function at 0x1001de69
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b326
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xba8
lea ecx, [ebp - 0x4d0]
call fcn.1007410b
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.1007410b
mov byte [ebp - 4], 1
mov dword [ebp - 0xba0], 0
mov dword [ebp - 0xb9c], 0
lea eax, [ebp - 0xb9c]
push eax
call fcn.1001cd40
add esp, 4
lea ecx, [ebp - 0xba0]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.Comdata.dll_lwlGetJwsVer
add esp, 8
cmp dword [ebp - 0xba0], 0
jne 0x1001df0d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.10074160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.10074160
jmp 0x1001e253
mov eax, dword [ebp - 0xba0]
cmp eax, dword [ebp - 0xb9c]
jne 0x1001df41
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.10074160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.10074160
jmp 0x1001e253
mov ecx, dword [ebp + 8]
push ecx
call fcn.10066fa0
add esp, 4
mov dword [ebp - 0xa98], eax
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xa94]
push eax
call fcn.10066ab0
add esp, 8
mov ecx, dword [ebp - 0xa98]
mov byte [ebp + ecx - 0xa95], 0x54
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xba4]
call fcn.10073da5
mov byte [ebp - 4], 2
push 0
push 0x10086274
lea ecx, [ebp - 0xba4]
call fcn.10072434
mov dword [ebp - 0x994], eax
mov eax, dword [ebp - 0x994]
push eax
lea ecx, [ebp - 0xbac]
push ecx
lea ecx, [ebp - 0xba4]
call fcn.100723ae
mov dword [ebp - 0xbb0], eax
mov edx, dword [ebp - 0xbb0]
mov dword [ebp - 0xbb4], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xbb4]
push eax
lea ecx, [ebp - 0xba4]
call fcn.10073e24
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbac]
call fcn.10073d37
lea ecx, [ebp - 0xba4]
call fcn.1000f820
push eax
lea ecx, [ebp - 0xb98]
push ecx
call fcn.10066ab0
add esp, 8
mov edx, dword [ebp - 0xba0]
push edx
push 0x10086278
lea eax, [ebp - 0xba4]
push eax
call fcn.10072767
add esp, 0xc
lea ecx, [ebp - 0xba4]
call fcn.1000f820
push eax
lea ecx, [ebp - 0xb98]
push ecx
call fcn.10066ac0
add esp, 8
push 0
lea edx, [ebp - 0xa94]
push edx
call fcn.1006714c
add esp, 8
cmp eax, 0xffffffff
je 0x1001e063
lea eax, [ebp - 0xa94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x4d0]
call fcn.1007421d
test eax, eax
je 0x1001e223
push 0
push 0x1002
lea edx, [ebp - 0xa94]
push edx
lea ecx, [ebp - 0x4e0]
call fcn.1007421d
cmp eax, 1
jne 0x1001e1db
lea eax, [ebp - 0xba0]
push eax
lea ecx, [ebp - 0x4c0]
push ecx
lea edx, [ebp - 0x4d0]
push edx
push 0
call fcn.1001e261
add esp, 0x10
lea eax, [ebp - 0xb9c]
push eax
lea ecx, [ebp - 0x990]
push ecx
lea edx, [ebp - 0x4e0]
push edx
push 1
call fcn.1001e261
add esp, 0x10
mov dword [ebp - 0xba8], 0
jmp 0x1001e0f9
mov eax, dword [ebp - 0xba8]
add eax, 1
mov dword [ebp - 0xba8], eax
mov ecx, dword [0x1008a5f8]
mov edx, dword [ebp - 0xba8]
cmp edx, dword [ecx]
jge 0x1001e169
mov eax, dword [ebp - 0xba8]
mov ecx, dword [ebp + eax*4 - 0x330]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0xba0]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x4d0]
push ecx
push 0
call fcn.100225a9
add esp, 0x10
lea edx, [ebp - 0xb9c]
push edx
lea eax, [ebp - 0x994]
push eax
lea ecx, [ebp - 0x4e0]
push ecx
push 1
call fcn.100225a9
add esp, 0x10
mov edx, dword [ebp - 0xba8]
mov eax, dword [ebp - 0x994]
mov dword [ebp + edx*4 - 0x800], eax
jmp 0x1001e0ea
lea ecx, [ebp - 0x4e0]
call fcn.100743ee
mov ecx, dword [ebp - 0xba8]
mov dword [ebp + ecx*4 - 0x800], eax
lea ecx, [ebp - 0x4e0]
call fcn.10028cd0
push 0x4b0
lea edx, [ebp - 0x990]
push edx
lea ecx, [ebp - 0x4e0]
call fcn.10074374
mov eax, dword [0x1008a618]
mov ecx, dword [eax]
mov edx, dword [ebp + ecx*4 - 0x804]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0xb9c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x4e0]
push edx
push 0
call fcn.100225a9
add esp, 0x10
lea ecx, [ebp - 0x4e0]
call fcn.10074438
lea ecx, [ebp - 0x4d0]
call fcn.10074438
lea eax, [ebp - 0xb98]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0xb98]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xa94]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xba4]
call fcn.10073d37
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.10074160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.10074160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret