Function at 0x48d824
Capabilities:
Check os version
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x11e0
call sub.ntdll.dll__chkstk
push 1
lea ecx, [ebp - 0x1144]
call fcn.00416cc0
mov dword [ebp - 4], 0
mov dword [ebp - 0x11e4], 0
lea ecx, [ebp - 0x11e0]
call fcn.0048ebdd
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c4], 0xea60
mov dword [ebp - 0x10], 0
push 0x104
lea eax, [ebp - 0x4f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x11d8], 0x94
lea ecx, [ebp - 0x11d8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x48d91e
cmp dword [ebp - 0x11d4], 5
jne 0x48d8e5
cmp dword [ebp - 0x11d0], 0
jne 0x48d8e5
lea edx, [ebp - 0x4f0]
push edx
push 0x53b50c
push 0x104
lea eax, [ebp - 0x1b8]
push eax
call fcn.0040a150
add esp, 0x10
jmp 0x48d91c
cmp dword [ebp - 0x11d4], 5
jne 0x48d910
lea ecx, [ebp - 0x4f0]
push ecx
push 0x53b518
push 0x104
lea edx, [ebp - 0x1b8]
push edx
call fcn.0040a150
add esp, 0x10
jmp 0x48d91c
mov dword [ebp - 0x10], 6
jmp 0x48dbde
jmp 0x48d92a
mov dword [ebp - 0x10], 6
jmp 0x48dbde
mov dword [ebp - 0x11e8], 0
lea eax, [ebp - 0x11e8]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
lea ecx, [ebp - 0x1144]
call fcn.00416dd0
lea edx, [ebp - 0x1144]
push edx
call fcn.0048b9e9
add esp, 4
lea eax, [ebp - 0x1144]
push eax
call fcn.0048bbad
add esp, 4
test eax, eax
je 0x48d97b
mov dword [ebp - 0x10], 6
jmp 0x48dbde
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1b8]
push edx
lea ecx, [ebp - 0x1144]
call fcn.0048e510
and eax, 0xff
test eax, eax
jne 0x48d9a6
mov dword [ebp - 0x10], 6
jmp 0x48dbde
cmp dword [ebp - 0x50], 0
je 0x48d9b8
mov dword [ebp - 0x10], 6
jmp 0x48dbde
cmp dword [ebp - 0x48], 0
jne 0x48d9ca
mov dword [ebp - 0x10], 6
jmp 0x48dbde
push 0x5c
lea eax, [ebp - 0x1b8]
push eax
call dword [sym.imp.ntdll.dll_strrchr]
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x48d9f1
mov dword [ebp - 0x10], 6
jmp 0x48dbde
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
push 0x53b528
push 0x104
lea edx, [ebp - 0x2bc]
push edx
call fcn.00409000
mov eax, dword [ebp - 0x28]
push eax
push 0x104
lea ecx, [ebp - 0x2bc]
push ecx
call fcn.00407f00
push 0x53b52c
push 0x104
lea edx, [ebp - 0x2bc]
push edx
call fcn.00407f00
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 1
test ecx, ecx
je 0x48dabb
mov edx, dword [ebp - 0x3c4]
push edx
lea eax, [ebp - 0x2bc]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
push edx
call fcn.0048f6cc
add esp, 0xc
mov dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3c8], 0
je 0x48dabb
cmp dword [ebp - 0x11e4], 3
jge 0x48daaf
mov eax, dword [ebp - 0x11e4]
add eax, 1
mov dword [ebp - 0x11e4], eax
mov ecx, dword [ebp - 0x3c4]
shl ecx, 1
mov dword [ebp - 0x3c4], ecx
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x48da48
mov dword [ebp - 0x10], 6
jmp 0x48dbde
push 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x2bc]
push eax
call fcn.0042a9c3
add esp, 0xc
test eax, eax
jne 0x48dae0
mov dword [ebp - 0x10], 6
jmp 0x48dbde
lea ecx, [ebp - 0x3ec]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0048d7a4
add esp, 8
lea eax, [ebp - 0x3ec]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x48db17
mov dword [ebp - 0x10], 6
jmp 0x48dbde
mov edx, dword [ebp - 0x28]
push edx
push str.._s
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.0040a150
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042b4af
add esp, 4
test eax, eax
je 0x48dbad
mov edx, 1
test edx, edx
je 0x48dbad
call dword [sym.imp.MSVCRT.dll_rand]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.._s._d
push 0x104
lea edx, [ebp - 0x3c0]
push edx
call fcn.0040a150
add esp, 0x14
lea eax, [ebp - 0x3c0]
push eax
call fcn.0042b4af
add esp, 4
test eax, eax
je 0x48db89
jmp 0x48db41
push 1
lea ecx, [ebp - 0x3c0]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 4
push 0
lea eax, [ebp - 0x3c0]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x53b544
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x11e0]
call fcn.0048ef3a
test eax, eax
je 0x48dbd7
lea edx, [ebp - 0x2bc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x48dbde
mov dword [ebp - 0x10], 6
lea eax, [ebp - 0x1144]
push eax
call fcn.0048dc2b
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x11ec], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11e0]
call fcn.0048ebf4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1144]
call fcn.00416d50
mov eax, dword [ebp - 0x11ec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret