Function at 0x45e306
Capabilities:
Copy file
Get file attributes
Open clipboard

Disassembly:
mov eax, dword [0x424bc4]
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [0x424b60]
and eax, 0x20
push edi
mov dword [0x424be0], eax
call fcn.0045c71d
mov ebp, 0x42b400
push ebp
call fcn.00461005
xor ebx, ebx
test eax, eax
jne 0x45e3ba
mov ecx, dword [esi + 0x48]
cmp ecx, ebx
je 0x45e3ba
mov eax, dword [0x424b98]
mov edx, dword [esi + 0x4c]
mov edi, 0x423f60
push edi
add edx, eax
push edx
add ecx, eax
push ecx
push dword [esi + 0x44]
call fcn.00460d00
mov al, byte [0x423f60]
cmp al, bl
je 0x45e3ba
cmp al, 0x22
jne 0x45e379
push 0x22
mov edi, 0x423f61
push edi
call fcn.00460bd9
mov byte [eax], bl
push edi
call sub.KERNEL32.dll_GetExitCodeProcess
lea eax, [eax + edi - 4]
cmp eax, edi
jbe 0x45e3ad
push 0x40740c
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x45e3ad
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
je 0x45e3a7
test al, 0x10
jne 0x45e3ad
push edi
call fcn.00460fe0
push edi
call fcn.00460fb4
push eax
push ebp
call sub.KERNEL32.dll_WaitForSingleObject
push ebp
call fcn.00461005
test eax, eax
jne 0x45e3d0
push dword [esi + 0x118]
push ebp
call fcn.00461280
xor ebp, ebp
inc ebp
test byte [0x424bc4], 0x10
je 0x45e3ef
cmp dword [0x424bc0], ebx
jne 0x45e3ef
call fcn.0045c6fb
mov dword [0x422f58], ebp
push 0x8040
push ebx
push ebx
push ebp
push 0x67
push dword [0x425484]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov dword [0x424c50], eax
cmp dword [esi + 0x50], 0xffffffff
mov edi, 0x424c20
je 0x45e4a2
mov ecx, dword [0x425484]
mov dword [0x424c34], eax
lea eax, [esp + 0x10]
push edi
mov dword [esp + 0x14], 0x624e5f
mov dword [0x424c24], 0x40340b
mov dword [0x424c30], ecx
mov dword [0x424c44], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test ax, ax
je 0x45e588
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push 0x30
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push ebx
push dword [0x425484]
push ebx
push ebx
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x2c]
push dword [esp + 0x30]
push 0x80000000
push ebx
push eax
push 0x80
call dword [sym.imp.USER32.dll_AppendMenuA]
mov dword [0x40a07c], eax
mov eax, dword [0x40a07c]
push ebx
mov dword [0x425480], eax
call fcn.0045e81d
test eax, eax
je 0x45e4be
push 2
pop eax
jmp 0x45e58a
call fcn.0045c71d
cmp dword [0x424c00], ebx
mov dword [0x425480], ebx
jne 0x45e560
push 5
push dword [0x40a07c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebp, 0x40903c
push ebp
call esi
test eax, eax
jne 0x45e501
push ebp
mov word [0x409042], 0x3233
call esi
mov ebp, dword [sym.imp.USER32.dll_EndDialog]
push edi
mov esi, 0x409030
push esi
push ebx
call ebp
test eax, eax
jne 0x45e534
push edi
push esi
push ebx
mov byte [0x409038], bl
call ebp
push edi
mov dword [0x424c44], esi
mov byte [0x409038], 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov eax, dword [0x424c5c]
push ebx
push 0x402cd0
add eax, 0x69
movzx eax, ax
push ebx
push eax
push dword [0x425484]
call dword [sym.imp.USER32.dll_OpenClipboard]
push 5
mov esi, eax
call fcn.0045e81d
mov eax, esi
jmp 0x45e58a
push ebx
call fcn.0045da47
test eax, eax
je 0x45e582
cmp dword [0x424c54], ebx
jne 0x45e4b6
push 2
call fcn.0045e81d
jmp 0x45e4b6
push ebp
call fcn.0045e81d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret