Function at 0x4efb10
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb8d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push 1
mov dword [ebp - 0x24], edi
call fcn.004eeb70
test eax, eax
je 0x4efe25
lea ecx, [ebp - 0x38]
call fcn.00595172
lea eax, [edi + 0x10]
push str..tmp
lea ecx, [ebp - 0x18]
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.00593970
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00593d4b
mov edx, dword [ebp - 0x18]
push 0
push 0x1021
push edx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.005951e7
push 0
push 0x1000
lea eax, [ebp - 0x38]
push 0
push eax
lea ecx, [ebp - 0x88]
call fcn.00597946
mov ecx, dword [0x639698]
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
lea edx, [esi + 4]
push edx
call fcn.00593450
mov bl, 6
mov byte [ebp - 4], bl
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.00597ec2
test eax, eax
je 0x4efcfe
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4efcca
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0058aa67
test eax, eax
jl 0x4efcca
lea ecx, [ebp - 0x128]
call fcn.00500050
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x128]
push 0xffffffffffffffff
push edx
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.004f1e10
test eax, eax
je 0x4efcbc
mov ecx, dword [ebp - 0x118]
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x4efcbc
fld qword [esi + 8]
fcomp qword [ebp - 0x120]
fnstsw ax
test ah, 0x40
je 0x4efcbc
cmp dword [esi + 0x10], ecx
jne 0x4efcbc
fld qword [esi + 8]
fcomp qword [ebp - 0x120]
fnstsw ax
test ah, 0x40
je 0x4efcbc
mov ecx, dword [ebp - 0x124]
mov eax, dword [esi + 4]
push ecx
push eax
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x4efcbc
mov edx, dword [ebp - 0xcc]
mov eax, dword [esi + 0x5c]
push edx
push eax
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x4efcbc
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
je 0x4efca2
add esi, 0xa0
lea ecx, [ebp - 0x20]
lea eax, [esi + 4]
push eax
call fcn.00593814
mov eax, dword [edi + 0x34]
lea ecx, [ebp - 0x128]
dec eax
mov byte [ebp - 4], bl
mov dword [edi + 0x34], eax
call fcn.00500180
jmp 0x4efbc5
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], bl
call fcn.00500180
lea ecx, [ebp - 0x14]
push 0x62619c
lea edx, [ebp + 8]
push ecx
push edx
call fcn.00593970
mov eax, dword [eax]
lea ecx, [ebp - 0x88]
push eax
mov byte [ebp - 4], 8
call fcn.00597df3
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.005936db
jmp 0x4efbc5
lea ecx, [ebp - 0x88]
call fcn.00597aaa
lea ecx, [ebp - 0x38]
call fcn.00595517
mov ecx, edi
call fcn.004eecc0
lea esi, [edi + 0x10]
push str..bak
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00593970
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
push edx
push eax
call edi
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
push esi
push eax
call edi
lea ecx, [ebp - 0x1c]
call fcn.005936db
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.005936db
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.005936db
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00597a22
mov dword [ebp - 4], 1
call fcn.00593d89
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005936db
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.005951a4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8