Function at 0x1002aa50
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xba0
lea ecx, [ebp - 0x4c4]
call fcn.1007410b
lea ecx, [ebp - 0x4d4]
call fcn.1007410b
mov dword [ebp - 0xb94], 0
mov dword [ebp - 0xb90], 0
lea eax, [ebp - 0xb90]
push eax
call fcn.1001cd40
add esp, 4
lea ecx, [ebp - 0xb94]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.Comdata.dll_lwlGetJwsVer
add esp, 8
cmp dword [ebp - 0xb94], 0
jne 0x1002aac9
lea ecx, [ebp - 0x4d4]
call fcn.10074160
lea ecx, [ebp - 0x4c4]
call fcn.10074160
jmp 0x1002adee
mov eax, dword [ebp - 0xb94]
cmp eax, dword [ebp - 0xb90]
jne 0x1002aaf2
lea ecx, [ebp - 0x4d4]
call fcn.10074160
lea ecx, [ebp - 0x4c4]
call fcn.10074160
jmp 0x1002adee
push 0x4b0
push 0
lea ecx, [ebp - 0x4b4]
push ecx
call fcn.100665d0
add esp, 0xc
push 0x4b0
push 0
lea edx, [ebp - 0x984]
push edx
call fcn.100665d0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.10066fa0
add esp, 4
mov dword [ebp - 0xa8c], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xa88]
push edx
call fcn.10066ab0
add esp, 8
mov eax, dword [ebp - 0xa8c]
mov byte [ebp + eax - 0xa89], 0x54
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xb98]
call fcn.10073da5
push 0
push 0x1008635c
lea ecx, [ebp - 0xb98]
call fcn.10072434
mov dword [ebp - 0x988], eax
cmp dword [ebp - 0x988], 0
jle 0x1002abb1
mov edx, dword [ebp - 0x988]
push edx
lea eax, [ebp - 0xba0]
push eax
lea ecx, [ebp - 0xb98]
call fcn.100723ae
push eax
lea ecx, [ebp - 0xb98]
call fcn.10073e24
lea ecx, [ebp - 0xba0]
call fcn.10073d37
lea ecx, [ebp - 0xb98]
call fcn.1000f820
push eax
lea ecx, [ebp - 0xb8c]
push ecx
call fcn.10066ab0
add esp, 8
mov edx, dword [ebp - 0xb94]
push edx
push str.__d.bak
lea eax, [ebp - 0xb98]
push eax
call fcn.10072767
add esp, 0xc
lea ecx, [ebp - 0xb98]
call fcn.1000f820
push eax
lea ecx, [ebp - 0xb8c]
push ecx
call fcn.10066ac0
add esp, 8
push 0
lea edx, [ebp - 0xb8c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x4c4]
call fcn.1007421d
test eax, eax
je 0x1002adcd
push 0
push 0x1002
lea edx, [ebp - 0xa88]
push edx
lea ecx, [ebp - 0x4d4]
call fcn.1007421d
cmp eax, 1
jne 0x1002ad98
push 0
lea eax, [ebp - 0xb94]
push eax
lea ecx, [ebp - 0x4b4]
push ecx
lea edx, [ebp - 0x4c4]
push edx
push 0
call fcn.1002adf2
add esp, 0x14
lea eax, [ebp - 0xb90]
push eax
lea ecx, [ebp - 0x984]
push ecx
lea edx, [ebp - 0x4d4]
push edx
push 1
call fcn.1001e261
add esp, 0x10
mov dword [ebp - 0xb9c], 0
jmp 0x1002acad
mov eax, dword [ebp - 0xb9c]
add eax, 1
mov dword [ebp - 0xb9c], eax
mov ecx, dword [0x1008a5f8]
mov edx, dword [ebp - 0xb9c]
cmp edx, dword [ecx]
jge 0x1002ad26
mov eax, dword [ebp - 0xb9c]
mov ecx, dword [ebp + eax*4 - 0x324]
mov dword [ebp - 4], ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0xb94]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x4c4]
push ecx
push 0
call fcn.1002e605
add esp, 0x1c
lea edx, [ebp - 0xb90]
push edx
lea eax, [ebp - 0x988]
push eax
lea ecx, [ebp - 0x4d4]
push ecx
push 1
call fcn.100225a9
add esp, 0x10
mov edx, dword [ebp - 0xb9c]
mov eax, dword [ebp - 0x988]
mov dword [ebp + edx*4 - 0x7f4], eax
jmp 0x1002ac9e
lea ecx, [ebp - 0x4d4]
call fcn.100743ee
mov ecx, dword [ebp - 0xb9c]
mov dword [ebp + ecx*4 - 0x7f4], eax
lea ecx, [ebp - 0x4d4]
call fcn.10028cd0
push 0x4b0
lea edx, [ebp - 0x984]
push edx
lea ecx, [ebp - 0x4d4]
call fcn.10074374
mov eax, dword [0x1008a618]
mov ecx, dword [eax]
mov edx, dword [ebp + ecx*4 - 0x7f8]
mov dword [ebp - 4], edx
lea eax, [ebp - 0xb90]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x4d4]
push edx
push 0
call fcn.100225a9
add esp, 0x10
lea ecx, [ebp - 0x4d4]
call fcn.10074438
lea ecx, [ebp - 0x4c4]
call fcn.10074438
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 - 0xa88]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0xa88]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xb98]
call fcn.10073d37
lea ecx, [ebp - 0x4d4]
call fcn.10074160
lea ecx, [ebp - 0x4c4]
call fcn.10074160
mov esp, ebp
pop ebp
ret