Function at 0x409880
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e7dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
mov eax, dword [0x47f1f0]
mov dword [ebp - 0x14], eax
push edi
mov dword [ebp - 0x48c], ecx
mov ax, word [0x466ab8]
mov word [ebp - 0x21c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x474]
push ecx
mov ecx, dword [ebp - 0x48c]
add ecx, 0xb4
mov edx, dword [ebp - 0x48c]
mov eax, dword [edx + 0xb4]
call dword [eax + 0x20]
mov dword [ebp - 4], 0
push str..WHD
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x470], eax
lea ecx, [ebp - 0x474]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x470]
mov word [ebp + ecx*2 - 0x21c], 0
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x470]
shl edx, 1
push edx
lea ecx, [ebp - 0x474]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x48c]
add ecx, 0xb4
mov edx, dword [ebp - 0x48c]
mov eax, dword [edx + 0xb4]
call dword [eax + 0x54]
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 9
push 0
push 0
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x474]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
test eax, eax
jne 0x4099c7
mov byte [ebp - 0x485], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x474]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, byte [ebp - 0x485]
jmp 0x409b1f
mov eax, dword [ebp - 0x48c]
movzx ecx, word [eax + 0x70]
test ecx, ecx
je 0x4099f8
lea edx, [ebp - 0x21c]
push edx
push str._s__VERYSILENT
push 0x104
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
jmp 0x409a19
lea ecx, [ebp - 0x21c]
push ecx
push 0x466ae8
push 0x104
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
push 0x44
push 0
lea eax, [ebp - 0x46c]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
mov dword [ebp - 0x46c], 0x44
mov word [ebp - 0x43c], 0xa
mov ecx, dword [ebp - 0x48c]
add ecx, 0xa74
push ecx
lea edx, [ebp - 0x46c]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x409a9a
mov byte [ebp - 0x486], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x474]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, byte [ebp - 0x486]
jmp 0x409b1f
mov ecx, dword [ebp - 0x48c]
cmp dword [ecx + 0x20], 0
jne 0x409aeb
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x484]
call fcn.004083a0
push 0
push 0x64
mov edx, dword [ebp - 0x48c]
mov eax, dword [edx + 0xa70]
push eax
lea ecx, [ebp - 0x484]
push ecx
push 0x40000000
push 0
push 0
mov edx, dword [ebp - 0x48c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48c]
call dword [eax + 0x5c]
push 0
push 0x64
push 0xc8
mov ecx, dword [ebp - 0x48c]
call fcn.0040b9a0
mov byte [ebp - 0x487], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x474]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, byte [ebp - 0x487]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0045d93d
pop edi
mov esp, ebp
pop ebp
ret