Function at 0x48dab0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ee90
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
push ebx
lea eax, [esi + 0x69c]
push eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp eax, 0xffffffff
je 0x48db0b
push eax
call edi
mov dword [esi + 0x10], 0xffffffff
mov eax, dword [esi + 0x67c]
cmp eax, ebx
je 0x48db1e
push eax
call edi
mov dword [esi + 0x67c], ebx
mov eax, dword [esi + 0x680]
cmp eax, ebx
je 0x48db31
push eax
call edi
mov dword [esi + 0x680], ebx
lea edi, [esi + 0x21c]
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48db50
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.00402460
push 4
push str..dt_
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.00402340
xor edx, edx
mov eax, edi
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48db90
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402460
push 5
push str..cfg_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402340
mov ebx, dword [ebp + 8]
cmp ebx, 9
jne 0x48dce5
cmp word [esi + 0x62c], 0
lea ebx, [esi + 0x62c]
je 0x48dc12
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x48dbe4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0044d200
add esp, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x68], 1
jb 0x48dc00
mov eax, dword [eax]
push ebx
push eax
call fcn.004bb2ef
add esp, 8
test eax, eax
je 0x48dc12
mov bl, 1
jmp 0x48dc14
xor bl, bl
test byte [ebp - 0x68], 1
je 0x48dc2c
cmp dword [ebp - 0x50], 8
jb 0x48dc2c
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0x2c]
test bl, bl
je 0x48dc63
cmp dword [ebp - 0x18], 8
jae 0x48dc3c
lea eax, [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push eax
call edi
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x48dc51
lea eax, [ebp - 0x48]
push eax
call edi
mov dword [ebp + 8], 0xa
mov ebx, dword [ebp + 8]
jmp 0x48dd31
cmp dword [ebp - 0x18], 8
jae 0x48dc6c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x48dc7f
lea eax, [ebp - 0x48]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [0x59504c]
jne 0x48dc9a
mov eax, 1
mov edx, dword [esi + 0x670]
fild dword [esi + 0x670]
test edx, edx
jns 0x48dcb0
fadd dword [0x55af64]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
test eax, eax
jns 0x48dcc0
fadd dword [0x55af64]
fdivp st(1)
mov ebx, dword [ebp + 8]
fnstcw word [ebp - 0x66]
movzx eax, word [ebp - 0x66]
or eax, 0xc00
mov dword [ebp - 0x6c], eax
fldcw word [ebp - 0x6c]
fistp qword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
fldcw word [ebp - 0x66]
jmp 0x48dd31
test ebx, ebx
je 0x48dd3f
cmp dword [esi + 0x674], 0x400
jb 0x48dd0d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x48dd01
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0048d7c0
test eax, eax
jne 0x48dd31
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x48dd19
lea eax, [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push eax
call edi
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x48dd2e
lea eax, [ebp - 0x48]
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x48dd3f
mov ecx, dword [ebp - 0x6c]
push ecx
push ebx
call eax
mov edx, dword [esi + 4]
push edx
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x48dd62
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x48dd87
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b9008
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret 4