Function at 0x5060c8
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x674fb4
call fcn.006313fc
sub esp, 0x870
push edi
mov edi, ecx
cmp byte [edi], 0
jne 0x5060e7
mov al, 1
jmp 0x506529
push ebx
push ebp
xor ebp, ebp
push esi
cmp dword [edi + 8], ebp
jne 0x5061c8
lea ecx, [edi + 0xac]
call fcn.0053bc49
fld qword [0x6969a0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5061c8
mov ebx, dword [esp + 0x894]
cmp byte [ebx], 6
je 0x506508
or dword [ebx + 0xc], 0xffffffff
mov byte [ebx], 3
call fcn.0049009b
push eax
push 3
lea ecx, [esp + 0x20]
call fcn.0048f892
add edi, 0x90
push 8
pop esi
mov dword [esp + 0x888], esi
cmp dword [edi + 0x14], esi
jb 0x506152
mov edi, dword [edi]
push dword [ebx + 0xc]
lea ecx, [esp + 0x1c]
push str.error
call fcn.004626fb
push edi
push str.transcript
lea ecx, [esp + 0x20]
call fcn.004626fb
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x5c]
call fcn.0048f84b
lea ecx, [esp + 0x18]
mov byte [esp + 0x888], 0xa
call fcn.0048f8e2
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004916a8
push eax
lea ecx, [ebx + 0x34]
call fcn.0044dbe6
push ebp
push 1
lea ecx, [esp + 0x70]
call fcn.0042341c
lea eax, [esp + 0x58]
push eax
call fcn.00491509
lea ecx, [esp + 0x58]
jmp 0x5064fb
push ebp
push dword [edi + 8]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ecx, edi
test eax, eax
jne 0x50650c
mov ebx, dword [esp + 0x894]
push ebx
call fcn.00505d17
push dword [edi + 0xa8]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
or dword [edi + 0xa8], 0xffffffff
lea eax, [esp + 0x14]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0xc], eax
push dword [edi + 8]
call esi
mov dword [edi + 8], ebp
push 8
pop esi
cmp dword [ebx + 0xc], ebp
jne 0x50635b
lea eax, [edi + 0x60]
cmp dword [eax + 0x14], esi
jb 0x506231
mov eax, dword [eax]
lea ecx, [edi + 0x48]
cmp dword [ecx + 0x14], esi
jb 0x50623b
mov ecx, dword [ecx]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x506256
mov byte [ebx], 6
mov dword [ebx + 8], 0x3e8
jmp 0x506335
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x400
lea ecx, [esp + 0x84]
mov dword [esp + 0x14], eax
push ecx
push eax
mov byte [ebx], 3
mov dword [ebx + 0xc], eax
call fcn.0045fd99
call fcn.0049009b
push eax
push 1
lea ecx, [esp + 0x38]
call fcn.0048f892
mov dword [esp + 0x888], ebp
lea ebp, [edi + 0x90]
cmp dword [ebp + 0x14], esi
jb 0x50629f
mov ebp, dword [ebp]
lea eax, [esp + 0x80]
push eax
push 0x69e03c
lea ecx, [esp + 0x38]
call fcn.004626fb
push dword [esp + 0x10]
lea ecx, [esp + 0x34]
push str.error
call fcn.004626fb
push ebp
push str.transcript
lea ecx, [esp + 0x38]
call fcn.004626fb
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
call fcn.0048f84b
lea ecx, [esp + 0x30]
mov byte [esp + 0x888], 2
call fcn.0048f8e2
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004916a8
push eax
lea ecx, [ebx + 0x34]
call fcn.0044dbe6
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0042341c
lea eax, [esp + 0x48]
push eax
call fcn.00491509
or dword [esp + 0x888], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.0048f8e2
cmp byte [0x75fda0], 0
je 0x506508
add edi, 0x90
cmp dword [edi + 0x14], esi
jb 0x50634f
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x506508
lea eax, [edi + 0x48]
mov byte [ebx], 3
cmp dword [eax + 0x14], esi
jb 0x506368
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [esp + 0x30]
push eax
lea ecx, [edi + 0xac]
call fcn.0050593f
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x88c], 3
push eax
call fcn.0043d0d2
lea ebp, [ebx + 0x34]
push eax
mov ecx, ebp
call fcn.0044dbe6
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0042341c
or dword [esp + 0x888], 0xffffffff
lea ecx, [esp + 0x30]
push 0
push 1
call fcn.0040a0e9
call fcn.0049009b
push eax
push 4
lea ecx, [esp + 0x38]
call fcn.0048f892
add edi, 0x90
mov dword [esp + 0x888], 4
cmp dword [edi + 0x14], esi
jb 0x5063f1
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x5063f5
mov dword [esp + 0x10], edi
cmp dword [ebp + 0x14], esi
jb 0x5063ff
mov eax, dword [ebp]
jmp 0x506401
mov eax, ebp
push eax
push 0x69e03c
lea ecx, [esp + 0x38]
call fcn.004626fb
push dword [ebx + 0xc]
lea ecx, [esp + 0x34]
push str.error
call fcn.004626fb
push dword [esp + 0x10]
lea ecx, [esp + 0x34]
push str.transcript
call fcn.004626fb
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
call fcn.0048f84b
lea ecx, [esp + 0x30]
mov byte [esp + 0x888], 6
call fcn.0048f8e2
cmp dword [ebx + 0x44], 0
jne 0x5064c9
call fcn.0049009b
push eax
push 2
lea ecx, [esp + 0x20]
call fcn.0048f892
mov byte [esp + 0x888], 7
cmp dword [edi + 0x14], esi
jb 0x506478
mov edi, dword [edi]
push dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0x6ac034
call fcn.004626fb
push dword [ebx + 0xc]
lea ecx, [esp + 0x1c]
push str.error
call fcn.004626fb
push edi
push str.transcript
lea ecx, [esp + 0x20]
call fcn.004626fb
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.0048f962
lea ecx, [esp + 0x18]
mov byte [esp + 0x888], 6
call fcn.0048f8e2
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004916a8
push eax
mov ecx, ebp
call fcn.0044dbe6
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0042341c
lea eax, [esp + 0x48]
push eax
call fcn.00491509
lea ecx, [esp + 0x48]
or dword [esp + 0x888], 0xffffffff
call fcn.0048f8e2
xor al, al
jmp 0x506526
mov esi, dword [esp + 0x894]
push esi
mov byte [esi], 1
call fcn.00505d17
cmp dword [edi + 0x14], ebp
je 0x506524
mov byte [esi], 2
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x874]
pop edi
mov dword fs:[0], ecx
leave
ret 4