Function at 0x10049fd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10087465
mov eax, dword fs:[0]
push eax
sub esp, 0x6c0
mov eax, dword [0x100a5c90]
xor eax, esp
mov dword [esp + 0x6b8], eax
push ebx
push esi
push edi
mov eax, dword [0x100a5c90]
xor eax, esp
push eax
lea eax, [esp + 0x6d0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebx
call dword [0x100ac898]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x78]
push edx
mov eax, 0xf
mov word [esp + 0x68], ax
mov eax, dword [ebx]
mov esi, 1
lea edx, [esp + 0x68]
xor edi, edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x1004a0b3
cmp dword [0x100aa2b4], edi
jne 0x1004a09e
push 0x40
call fcn.10067232
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x6d8], edi
cmp eax, edi
je 0x1004a08c
push eax
call fcn.10052de0
jmp 0x1004a08e
xor eax, eax
mov dword [esp + 0x6d8], 0xffffffff
mov dword [0x100aa2b4], eax
call fcn.10053f80
test eax, eax
je 0x1004a0b3
mov dword [ebx], edi
mov eax, 0x80070057
jmp 0x1004a4da
mov eax, dword [0x100a6d3c]
cmp eax, edi
je 0x1004a4d6
cmp eax, esi
je 0x1004a0df
call fcn.1000f210
xor ecx, ecx
cmp eax, 2
sete cl
cmp ecx, edi
je 0x1004a328
mov dword [0x100a6d3c], esi
call fcn.10001170
lea ecx, [eax + 0x194]
mov eax, dword [ecx + 0x10]
push str.acad
mov edi, 4
call fcn.10004240
test eax, eax
jne 0x1004a2c4
mov edx, 0xf
mov word [esp + 0x3c], dx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x44], eax
mov eax, dword [ebx]
lea edx, [esp + 0x40]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x50], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x1004a2c4
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push 0
push 0
mov edi, eax
push 0xffffffffffffffff
push edi
call ebx
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x1004a2a9
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x4c6]
push eax
mov word [esp + 0x4c8], dx
call fcn.1006b580
add esp, 0xc
push 0x104
lea ecx, [esp + 0x4c0]
push ecx
push esi
push edi
call ebx
lea edx, [esp + 0x4bc]
push edx
mov eax, str..png
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a333
lea eax, [esp + 0x4bc]
push eax
mov eax, str..jpg
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a333
lea ecx, [esp + 0x4bc]
push ecx
mov eax, str..bmp
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a333
lea edx, [esp + 0x4bc]
push edx
mov eax, str..tif
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a333
lea eax, [esp + 0x4bc]
push eax
mov eax, str..tiff
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a333
lea ecx, [esp + 0x4bc]
push ecx
mov eax, str..gif
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a333
lea edx, [esp + 0x4bc]
push edx
mov eax, str..img
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a333
lea eax, [esp + 0x4bc]
push eax
mov eax, str..jpeg
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a333
lea ecx, [esp + 0x4bc]
push ecx
mov eax, str..dxf
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a333
inc esi
cmp esi, dword [esp + 0x18]
jl 0x1004a168
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov esi, 1
mov ebx, dword [0x100a6d3c]
test ebx, ebx
je 0x1004a4d6
cmp ebx, esi
je 0x1004a2f5
call fcn.1000f210
xor edx, edx
cmp eax, 2
sete dl
mov eax, edx
test eax, eax
je 0x1004a3e9
mov ebx, esi
mov dword [0x100a6d3c], ebx
mov esi, dword [0x100aa1c0]
test esi, esi
jne 0x1004a362
push 0x1e8
call fcn.10067232
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x6d8], 1
test eax, eax
je 0x1004a347
mov ecx, eax
call fcn.10011d60
jmp 0x1004a349
mov dword [0x100a6d3c], edi
jmp 0x1004a4d6
mov edx, dword [esp + 0x14]
mov dword [edx], 0
mov eax, 0x80070057
jmp 0x1004a4da
xor eax, eax
mov dword [esp + 0x6d8], 0xffffffff
mov ebx, dword [0x100a6d3c]
mov esi, eax
mov dword [0x100aa1c0], esi
mov eax, dword [esi + 0x1a4]
lea ecx, [esi + 0x194]
push str.photoshop
mov edi, 9
call fcn.10004240
test eax, eax
jne 0x1004a38c
call dword [sym.imp.ole32.dll_OleFlushClipboard]
jmp 0x1004a4d6
test ebx, ebx
je 0x1004a4d6
cmp ebx, 1
je 0x1004a3bc
call fcn.1000f210
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
test eax, eax
je 0x1004a3e9
mov esi, dword [0x100aa1c0]
mov dword [0x100a6d3c], 1
test esi, esi
jne 0x1004a40d
push 0x1e8
call fcn.10067232
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x6d8], 2
test eax, eax
je 0x1004a3f8
mov ecx, eax
call fcn.10011d60
jmp 0x1004a3fa
mov dword [0x100a6d3c], 0
jmp 0x1004a4d6
xor eax, eax
mov esi, eax
mov dword [esp + 0x6d8], 0xffffffff
mov dword [0x100aa1c0], esi
mov eax, dword [esi + 0x1a4]
lea ecx, [esi + 0x194]
push 0x10093310
mov edi, 3
call fcn.10004240
test eax, eax
je 0x1004a45b
call fcn.10001170
call fcn.10012c80
test eax, eax
jne 0x1004a45b
call fcn.10001170
lea ecx, [eax + 0x194]
mov eax, dword [ecx + 0x10]
push 0x10093318
mov edi, 2
call fcn.10004240
test eax, eax
jne 0x1004a4d6
mov edx, 0xf
mov word [esp + 0x50], dx
mov eax, 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x54]
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], 0xffffffff
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x1004a4d6
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push ebx
mov esi, eax
push 0xffffffffffffffff
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [esp + 0x10], eax
test eax, eax
jg 0x1004a504
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6b8]
xor ecx, esp
call fcn.10066b1b
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x18]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2be]
push eax
mov word [esp + 0x2c0], dx
call fcn.1006b580
add esp, 0xc
push 0x104
lea ecx, [esp + 0x2b8]
push ecx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea edx, [esp + 0x2b4]
push edx
mov eax, str..png
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a6c3
lea eax, [esp + 0x2b4]
push eax
mov eax, str..jpg
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a6c3
lea ecx, [esp + 0x2b4]
push ecx
mov eax, str..bmp
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a6c3
lea edx, [esp + 0x2b4]
push edx
mov eax, str..tif
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a6c3
lea eax, [esp + 0x2b4]
push eax
mov eax, str..tiff
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a6c3
lea ecx, [esp + 0x2b4]
push ecx
mov eax, str..gif
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a6c3
lea edx, [esp + 0x2b4]
push edx
mov eax, str..img
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a6c3
lea eax, [esp + 0x2b4]
push eax
mov eax, str..jpeg
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a6c3
lea ecx, [esp + 0x2b4]
push ecx
mov eax, str..dxf
call fcn.100263b0
add esp, 4
test eax, eax
jne 0x1004a6c3
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x2b4]
call fcn.1002b1b0
test eax, eax
je 0x1004a69a
lea edx, [esp + 0x84]
push edx
call fcn.10034300
mov ecx, esi
lea edx, [esp + 0x84]
mov dword [esp + 0x6d8], 3
call fcn.10034cf0
lea ecx, [esp + 0x84]
call fcn.10034ee0
mov esi, ecx
test eax, eax
jne 0x1004a6aa
mov dword [esp + 0x6d8], 0xffffffff
call fcn.10034420
inc ebx
cmp ebx, dword [esp + 0x10]
jl 0x1004a500
jmp 0x1004a4c0
mov eax, dword [esp + 0x14]
mov dword [eax], 0
call fcn.10034420
mov eax, 0x80070057
jmp 0x1004a4da
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
mov eax, 0x80070057
jmp 0x1004a4da