Function at 0x461450
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x522e06
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x597f54]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov eax, dword [esp + 0x294]
mov ecx, dword [esp + 0x29c]
mov edx, dword [esp + 0x2a0]
mov esi, dword [esp + 0x298]
mov edi, vtable.CPnxCharBuf.0
push 0x104
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], edi
call fcn.004b1a5e
mov ebp, eax
mov dword [esp + 0x44], ebp
mov byte [ebp], 0
push 0x80
mov dword [esp + 0x294], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x3c], edi
call fcn.004b1a5e
mov ebx, eax
add esp, 8
mov dword [esp + 0x38], ebx
mov byte [ebx], 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x28c], 1
call fcn.0045fe90
call fcn.004092a3
push eax
lea ecx, [esp + 0x48]
call fcn.0045ff10
mov eax, dword [str.E_Transcript_File__.ptx_.ptx]
mov ecx, ebx
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, 1
test dl, dl
jne 0x461527
cmp byte [esp + 0x2a4], dl
je 0x46156f
mov eax, dword [str.E_Transcript_File__.exe_.exe]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x461543
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x461553
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov edi, ebx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x461574
mov ax, word [0x534c28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ebp
push str.E_Transcript
push 0x460170
push 0
push str..ptx
push ebx
mov word [edi], ax
mov edi, dword [esp + 0x40]
push edi
push ecx
push esi
push edx
call fcn.00461000
add esp, 0x28
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4616e2
call fcn.004092c1
mov edx, dword [eax]
mov edx, dword [edx + 8]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call edx
push 0x2e
push ebp
call fcn.004e3860
add esp, 8
test eax, eax
je 0x4615f7
push str..exe
push eax
call fcn.004e99b5
add esp, 8
test eax, eax
jne 0x4615f7
mov byte [esp + 0x17], 1
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp byte [esp + 0x17], 0
jne 0x46167a
cmp byte [esp + 0x2a4], 0
je 0x46167a
push 0x2e
push ebp
call fcn.004e3860
add esp, 8
test eax, eax
je 0x46163c
mov ecx, dword [str..ptx]
mov dword [eax], ecx
mov dl, byte [0x52f108]
mov byte [eax + 4], dl
push 1
lea eax, [esp + 0x180]
push eax
push edi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
push ebp
mov dword [esp + 0x48], 0
call fcn.004092c1
mov ecx, eax
call fcn.0044d160
test eax, eax
jne 0x46169c
mov ecx, dword [esp + 0x18]
push eax
push eax
mov eax, dword [str.Could_not_save_transcript_file.]
push eax
push ecx
jmp 0x461696
push 0
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x46169c
mov edx, dword [str.Could_not_save_transcript_file.]
push eax
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x5c
push ebp
call fcn.004e3860
mov edx, 0x59b0b8
add esp, 8
mov byte [eax], 0
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4616c7
call fcn.004092a3
push eax
lea ecx, [esp + 0x48]
call fcn.00460060
push ebx
call fcn.004b1a59
push ebp
call fcn.004b1a59
add esp, 8
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.004e2867
add esp, 0x27c
ret