Function at 0x48c255
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad7a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x138c
call sub.ntdll.dll__chkstk
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x724], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x61c]
call fcn.0048fafd
mov dword [ebp - 4], 0
push 0x258
lea ecx, [ebp - 0x1378]
call fcn.00416da0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1378]
push eax
call fcn.0048e8ff
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048d2e3
add esp, 4
test eax, eax
je 0x48c30a
mov dword [ebp - 0x138c], 6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1378]
call fcn.00416e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x61c]
call fcn.0048fb14
mov eax, dword [ebp - 0x138c]
jmp 0x48c8ad
mov ecx, dword [ebp + 8]
call fcn.004176f0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x137c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004171d0
and eax, 0xff
test eax, eax
je 0x48c357
mov ecx, dword [ebp - 0x137c]
cmp dword [ecx + 0x168], 0
jne 0x48c355
mov edx, dword [ebp - 0x137c]
cmp dword [edx + 0x170], 0
je 0x48c355
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x48c312
cmp dword [ebp - 0x14], 0
jne 0x48c393
mov dword [ebp - 0x1390], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1378]
call fcn.00416e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x61c]
call fcn.0048fb14
mov eax, dword [ebp - 0x1390]
jmp 0x48c8ad
call fcn.00430947
test eax, eax
je 0x48c3d2
mov dword [ebp - 0x1394], 6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1378]
call fcn.00416e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x61c]
call fcn.0048fb14
mov eax, dword [ebp - 0x1394]
jmp 0x48c8ad
mov ecx, dword [ebp + 8]
call fcn.004176f0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x137c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004171d0
and eax, 0xff
test eax, eax
je 0x48c87c
mov eax, dword [ebp - 0x137c]
cmp dword [eax + 0x168], 0
jne 0x48c418
mov ecx, dword [ebp - 0x137c]
cmp dword [ecx + 0x170], 0
jne 0x48c41a
jmp 0x48c3da
mov edx, dword [ebp - 0x137c]
mov dword [edx + 0x16c], 0
mov eax, dword [ebp - 0x137c]
push eax
push 0x104
lea ecx, [ebp - 0x3e0]
push ecx
call fcn.00415480
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x1378]
call fcn.0048f3e0
and eax, 0xff
test eax, eax
jne 0x48c47c
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 4
jmp 0x48c3da
push 0x5441d8
mov edx, dword [ebp - 0x137c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x48c4ea
push str.win32k.sys
mov eax, dword [ebp - 0x137c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x48c4ea
push str.Ntdll.dll
mov ecx, dword [ebp - 0x137c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x48c4ea
push 0x5441fc
mov edx, dword [ebp - 0x137c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x48c4ea
push 0x54420c
mov eax, dword [ebp - 0x137c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x48c50b
call fcn.0048c212
test eax, eax
je 0x48c50b
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 4
jmp 0x48c3da
push 0x5c
mov edx, dword [ebp - 0x137c]
push edx
call dword [sym.imp.ntdll.dll_strrchr]
add esp, 8
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x48c531
jmp 0x48c3da
mov eax, dword [ebp - 0x134]
add eax, 1
mov dword [ebp - 0x134], eax
push 0x544268
push 0x104
lea ecx, [ebp - 0x4e4]
push ecx
call fcn.00409100
mov edx, dword [ebp - 0x134]
push edx
push 0x104
lea eax, [ebp - 0x4e4]
push eax
call fcn.00408000
push 0x54426c
push 0x104
lea ecx, [ebp - 0x4e4]
push ecx
call fcn.00408000
lea edx, [ebp - 0x4e4]
push edx
call dword [0x54b4b8]
mov dword [ebp - 0x724], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4e8], 0xea60
mov eax, 1
test eax, eax
je 0x48c630
mov ecx, dword [ebp - 0x4e8]
push ecx
lea edx, [ebp - 0x4e4]
push edx
mov eax, dword [ebp - 0x137c]
mov ecx, dword [eax + 0x170]
mov edx, dword [ecx]
push edx
call fcn.004905f1
add esp, 0xc
mov dword [ebp - 0x614], eax
cmp dword [ebp - 0x614], 0
je 0x48c630
cmp dword [ebp - 0x724], 3
jge 0x48c61c
mov eax, dword [ebp - 0x724]
add eax, 1
mov dword [ebp - 0x724], eax
mov ecx, dword [ebp - 0x4e8]
shl ecx, 1
mov dword [ebp - 0x4e8], ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x48c5ac
lea edx, [ebp - 0x4e4]
push edx
call dword [0x54b4b8]
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
je 0x48c648
lea eax, [ebp - 0x4e4]
push eax
call dword [0x54b4b8]
jmp 0x48c3da
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 4
push 0
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x4e4]
push eax
call fcn.0042e663
add esp, 0xc
test eax, eax
jne 0x48c689
lea ecx, [ebp - 0x4e4]
push ecx
call dword [0x54b4b8]
jmp 0x48c3da
lea edx, [ebp - 0x610]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.0048cca6
add esp, 8
lea ecx, [ebp - 0x610]
push ecx
mov edx, dword [ebp - 0x137c]
mov eax, dword [edx + 0x170]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x48c6d2
lea ecx, [ebp - 0x4e4]
push ecx
call dword [0x54b4b8]
jmp 0x48c3da
lea edx, [ebp - 0x120]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [ebp - 0x134]
push eax
lea ecx, [ebp - 0x120]
push ecx
push 0x544308
push 0x104
lea edx, [ebp - 0x720]
push edx
call fcn.0040a230
add esp, 0x14
lea eax, [ebp - 0x720]
push eax
call fcn.0042f17a
add esp, 4
test eax, eax
je 0x48c790
mov ecx, 1
test ecx, ecx
je 0x48c790
call dword [sym.imp.MSVCRT.dll_rand]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x720]
push eax
push str._s._d
push 0x104
lea ecx, [ebp - 0x5ec]
push ecx
call fcn.0040a230
add esp, 0x14
lea edx, [ebp - 0x5ec]
push edx
call fcn.0042f17a
add esp, 4
test eax, eax
je 0x48c769
jmp 0x48c71e
push 1
lea eax, [ebp - 0x5ec]
push eax
lea ecx, [ebp - 0x720]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 4
push 0
lea edx, [ebp - 0x5ec]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x4e4]
push ecx
lea ecx, [ebp - 0x61c]
call fcn.0048fe5a
test eax, eax
je 0x48c7bc
lea edx, [ebp - 0x4e4]
push edx
call dword [0x54b4b8]
jmp 0x48c7ce
lea eax, [ebp - 0x4e4]
push eax
call dword [0x54b4b8]
jmp 0x48c3da
lea ecx, [ebp - 0x720]
push ecx
call fcn.0042f17a
add esp, 4
test eax, eax
jne 0x48c7f3
lea edx, [ebp - 0x4e4]
push edx
call dword [0x54b4b8]
jmp 0x48c3da
mov eax, dword [ebp - 0x137c]
push eax
call fcn.0042d8df
add esp, 4
mov dword [ebp - 0x1384], eax
lea ecx, [ebp - 0x720]
push ecx
call fcn.0042d8df
add esp, 4
mov dword [ebp - 0x1380], eax
mov edx, dword [ebp - 0x1380]
sub edx, dword [ebp - 0x1384]
mov dword [ebp - 0x1388], edx
cmp dword [ebp - 0x1388], 0
jge 0x48c847
mov eax, dword [ebp - 0x1388]
imul eax, eax, 0xffffffff
mov dword [ebp - 0x1388], eax
fild dword [ebp - 0x1388]
fidiv dword [ebp - 0x1384]
fcomp qword [0x4b7ca8]
lea ecx, [ebp - 0x720]
push ecx
push 0x104
mov edx, dword [ebp - 0x137c]
add edx, 0x198
push edx
call fcn.00415480
jmp 0x48c3da
mov dword [ebp - 0x1398], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1378]
call fcn.00416e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x61c]
call fcn.0048fb14
mov eax, dword [ebp - 0x1398]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret