Function at 0x4c3eca
Capabilities:
Get common file path
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
push ebx
push esi
push edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 4], 0
mov dword [0x52da08], 0
mov byte [0x52daa0], 0
push str.MSOB32
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x531af8], ax
xor eax, eax
mov ax, word [0x531af8]
test eax, eax
jne 0x4c3f28
mov dword [ebp - 0x114], 1
jmp 0x4c3f32
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
je 0x4c3f4a
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
push str.MSOL32
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x531afc], ax
xor eax, eax
mov ax, word [0x531afc]
test eax, eax
jne 0x4c3f7a
mov dword [ebp - 0x114], 1
jmp 0x4c3f84
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
je 0x4c3f9c
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
push str.MSOD32
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x531b04], ax
xor eax, eax
mov ax, word [0x531b04]
test eax, eax
jne 0x4c3fcc
mov dword [ebp - 0x114], 1
jmp 0x4c3fd6
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
je 0x4c3fee
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
push 0x531fb4
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x52ce20], ax
xor eax, eax
mov ax, word [0x52ce20]
test eax, eax
jne 0x4c401e
mov dword [ebp - 0x114], 1
jmp 0x4c4028
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
je 0x4c4040
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
push 0x531fc0
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x52cbd4], ax
xor eax, eax
mov ax, word [0x52cbd4]
test eax, eax
jne 0x4c4070
mov dword [ebp - 0x114], 1
jmp 0x4c407a
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
je 0x4c4092
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
push 0x531fd0
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x52cdbc], ax
xor eax, eax
mov ax, word [0x52cdbc]
test eax, eax
jne 0x4c40c2
mov dword [ebp - 0x114], 1
jmp 0x4c40cc
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
je 0x4c40e4
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
push 0x531fe4
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x52cb0c], ax
xor eax, eax
mov ax, word [0x52cdbc]
test eax, eax
jne 0x4c4114
mov dword [ebp - 0x114], 1
jmp 0x4c411e
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
je 0x4c4136
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
push 0x531ff0
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x52cb0e], ax
xor eax, eax
mov ax, word [0x52cdbc]
test eax, eax
jne 0x4c4166
mov dword [ebp - 0x114], 1
jmp 0x4c4170
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
je 0x4c4188
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
push str.StdScale
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x52cbb0], ax
xor eax, eax
mov ax, word [0x52cbb0]
test eax, eax
jne 0x4c41b8
mov dword [ebp - 0x114], 1
jmp 0x4c41c2
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
je 0x4c41da
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
push str.Rich_Text_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov word [0x52cb64], ax
xor eax, eax
mov ax, word [0x52cb64]
test eax, eax
jne 0x4c420a
mov dword [ebp - 0x114], 1
jmp 0x4c4214
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
je 0x4c422c
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
push 0x105
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x10c]
push eax
call fcn.00523694
add esp, 4
movsx eax, byte [ebp + eax - 0x10d]
cmp eax, 0x5c
je 0x4c428f
lea eax, [ebp - 0x10c]
push eax
call fcn.00523694
add esp, 4
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov byte [ebp + eax - 0x10c], 0x5c
mov eax, dword [ebp - 0x110]
mov byte [ebp + eax - 0x10b], 0
push str.MSOClip.232
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x533644]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c4355
xor eax, eax
mov ax, word [0x531af8]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4c4320
xor eax, eax
mov ax, word [0x531afc]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4c4320
xor eax, eax
mov ax, word [0x531b00]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4c4320
xor eax, eax
mov ax, word [0x531b04]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4c4320
mov dword [ebp - 0x114], 1
jmp 0x4c432a
mov dword [ebp - 0x114], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x114], 0
jne 0x4c4349
mov dword [ebp - 4], 1
jmp 0x4c4350
mov dword [ebp - 4], 0
jmp 0x4c435f
mov dword [ebp - 0x114], 1
cmp dword [ebp - 0x114], 0
jne 0x4c438f
lea eax, [ebp - 0x118]
push eax
push 0
push 0x52da00
lea eax, [ebp - 0x10c]
push eax
call fcn.00477c64
add esp, 0x10
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c43cd
push 0
mov eax, dword [0x52da00]
push eax
call fcn.00476fa3
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x4c43cd
mov eax, dword [0x52da00]
push eax
call fcn.00477edb
add esp, 4
cmp dword [ebp - 0x114], 0
je 0x4c463c
cmp dword [ebp - 4], 0
je 0x4c43ea
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0x200
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004e483d
add esp, 0xc
push 0xc8
push 6
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.00477b6f
add esp, 0x10
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x4c4435
jmp 0x4c4650
lea eax, [ebp - 0x118]
push eax
push 0
push 0x52da00
lea eax, [ebp - 0x10c]
push eax
call fcn.00477c64
add esp, 0x10
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x4c446a
jmp 0x4c4650
push 0x65
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c448d
push 0x66
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c44b0
push 0x67
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c44d3
push 0x68
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c44f6
push 0x64
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c4519
push 0x69
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c453c
push 0x6a
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c455f
push 0x6b
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c4582
push 0x6c
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c45a5
push 0x6d
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c45c8
push 0x6e
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4c45eb
push 0x6f
mov eax, dword [0x52da00]
push eax
call fcn.004751da
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x4c463c
mov eax, dword [0x52da00]
push eax
call fcn.00477edb
add esp, 4
push 0x200
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004e483d
add esp, 0xc
jmp 0x4c4650
mov dword [0x52da08], 1
mov dword [0x52da04], 0
mov eax, dword [ebp - 0x114]
jmp 0x4c465b
pop edi
pop esi
pop ebx
leave
ret