Function at 0x46a9f0
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x50a665
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x490], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4bc]
mov edi, ecx
push str.Preferred_DropEffect
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ecx, dword [edi + 4]
push ecx
mov esi, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x46aac3
lea edx, [esp + 0x38]
push 0x1b0
push edx
call fcn.00433510
mov eax, dword [eax]
mov ecx, dword [edi + 4]
push 0x40
push eax
push ecx
xor eax, eax
call fcn.00488c60
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46aa99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x490]
xor ecx, esp
call fcn.004e3edb
add esp, 0x4a4
ret 4
mov edi, dword [sym.imp.USER32.dll_GetClipboardData]
push 0xf
call edi
mov dword [esp + 0x18], eax
test eax, eax
jne 0x46aadd
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x46aa99
push esi
call edi
test eax, eax
je 0x46aaef
mov eax, dword [eax]
mov dword [esp + 0x24], eax
cmp eax, 2
je 0x46aaf7
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x18]
xor esi, esi
push esi
push esi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, eax
push 0x40e
lea eax, [esp + 0x9a]
xor edx, edx
push esi
push eax
mov dword [esp + 0x44], ebx
mov word [esp + 0xa0], dx
call fcn.004e8fe0
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
call fcn.00474090
mov dword [esp + 0x4b4], esi
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x30], ebp
mov byte [esp + 0x4b4], 1
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x4b4], 2
cmp ebx, esi
jbe 0x46ac77
mov edx, dword [esp + 0x18]
push 0x208
lea ecx, [esp + 0x98]
push ecx
push esi
push edx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
jbe 0x46ac6a
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x98]
call fcn.00401640
lea ecx, [esp + 0x34]
push ecx
lea edi, [esp + 0x40]
mov byte [esp + 0x4b8], 3
call int.0041ca50
mov byte [esp + 0x4b4], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46abf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x94]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46ac00
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.0041e520
push 0
lea edi, [esp + 0x34]
call fcn.00437f60
lea eax, [esp + 0x94]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46ac37
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0041e520
push 1
push 0x516dd0
lea edx, [esp + 0x34]
push edx
call fcn.0041e520
inc esi
cmp esi, ebx
jb 0x46ab85
mov ebp, dword [esp + 0x30]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x46ac9d
mov ecx, esi
lea eax, [esp + 0x30]
call fcn.004014d0
mov ebp, dword [esp + 0x30]
xor eax, eax
mov word [ebp + edi*2], ax
test esi, esi
jl 0x46b23e
cmp esi, dword [ebp - 8]
jg 0x46b23e
xor ecx, ecx
mov dword [ebp - 0xc], esi
mov word [ebp + esi*2], cx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x4b4], 4
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x46ad0a
mov ecx, 0x104
lea eax, [esp + 0x34]
call fcn.004014d0
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x4f1c]
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.004e4d4d
xor esi, esi
add esp, 8
cmp eax, esi
jl 0x46b23e
cmp eax, dword [ebx - 8]
jg 0x46b23e
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x4b8], 5
call fcn.00474090
push edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x4b8], 6
call fcn.0047b590
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov edx, ecx
sub edx, eax
test edx, 0xfffffffc
je 0x46add1
mov esi, eax
cmp eax, ecx
jbe 0x46ad9f
call fcn.004e48f7
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x46aee6
call fcn.004e48f7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46adbc
call fcn.004e48f7
mov eax, esi
lea edi, [esp + 0x28]
call fcn.00404930
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x20]
xor esi, esi
cmp dword [esp + 0x38], esi
ja 0x46aeed
cmp eax, esi
je 0x46adf7
mov edi, dword [esp + 0x64]
call fcn.0041d590
mov eax, dword [esp + 0x60]
push eax
call fcn.004e3ed0
add esp, 4
xor esi, esi
mov ecx, dword [esp + 0x54]
push ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.004e3ed0
mov byte [esp + 0x4b8], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46ae38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4b4], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ae5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b4], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ae84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4b4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46aea8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x46aec8
mov edi, dword [esp + 0x4c]
call fcn.0041d590
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004e3ed0
add esp, 4
xor esi, esi
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.004e3ed0
add esp, 4
jmp 0x46aa99
mov eax, dword [eax]
jmp 0x46adb2
mov ecx, dword [edi + 0x4c98]
cmp ecx, esi
jne 0x46b248
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], esi
lea eax, [esp + 0x34]
jle 0x46af0c
lea eax, [esp + 0x28]
mov eax, dword [eax]
sub eax, 0x10
call fcn.004048c0
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x4b4], 7
cmp dword [esp + 0x1c], 0
je 0x46af41
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x18]
call fcn.00401600
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
cmp dword [esi - 0xc], 0
jg 0x46b060
lea ecx, [esp + 0x38]
push 0x1b1
push ecx
call fcn.00433510
mov eax, dword [eax]
mov edx, dword [edi + 4]
push 0x40
push eax
push edx
xor eax, eax
call fcn.00488c60
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46af8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x4b4], 6
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46afb1
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea esi, [esp + 0x54]
call fcn.0041d600
mov byte [esp + 0x4b4], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46afe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b4], 2
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b006
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b4], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b02e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4b4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b052
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x3c]
call fcn.0041d600
jmp 0x46aa99
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4b4], 8
cmp dword [esp + 0x24], 1
mov eax, str.Copy
je 0x46b090
mov eax, str.Cutting
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
push ecx
sar edx, 2
push edx
push eax
push esi
push str.Paste_target
lea edi, [esp + 0x30]
call fcn.00404890
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov word [esp + 0xa4], ax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x38]
dec eax
add esp, 0x14
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
cmp dword [ebp - 4], 1
jle 0x46b11b
mov edx, dword [ebp - 0xc]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00401410
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x7c], ebp
cmp dword [esi - 4], 1
jle 0x46b137
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00401410
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x84], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x46b23e
cmp eax, dword [ebp - 8]
jg 0x46b23e
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov word [ebp + eax*2], cx
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x46b23e
cmp eax, dword [esi - 8]
jg 0x46b23e
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov byte [esp + 0x4b4], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b1c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x4b4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b1e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x60]
xor esi, esi
cmp eax, esi
je 0x46b204
mov edi, dword [esp + 0x64]
call fcn.0041d590
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004e3ed0
add esp, 4
mov edx, dword [esp + 0x54]
push edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.004e3ed0
mov byte [esp + 0x4b8], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x46ae2c
push 0x80070057
call fcn.00401540
cmp ecx, 1
jne 0x46b1e8
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 0xc], 0
jg 0x46b262
mov eax, dword [esp + 0x20]
add eax, 0x51e0
jmp 0x46b266
lea eax, [esp + 0x28]
mov eax, dword [eax]
sub eax, 0x10
call fcn.004048c0
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov bl, 9
mov byte [esp + 0x4b4], bl
cmp dword [esp + 0x1c], 0
je 0x46b298
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x18]
call fcn.00401600
mov esi, dword [esp + 0x18]
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4b4], 0xa
cmp dword [esp + 0x24], 1
mov eax, str.Copy
je 0x46b2c8
mov eax, str.Cutting
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
push ecx
sar edx, 2
push edx
push eax
push esi
push str.Paste_target
lea edi, [esp + 0x30]
call fcn.00404890
mov eax, dword [esp + 0x34]
add esp, 0x14
cmp dword [eax + 0x51e4], 0
je 0x46b500
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
test ecx, 0xfffffffc
je 0x46b500
lea edx, [esp + 0x70]
push 0x186
push edx
mov dword [esp + 0x40], 0
call fcn.00433510
mov edi, eax
lea esi, [esp + 0x74]
mov byte [esp + 0x4bc], 0xb
call fcn.00401140
push edi
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x4c8], 0xc
call fcn.0041d700
add esp, 0x14
mov byte [esp + 0x4b4], 0xd
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x38]
call fcn.0046f3b0
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call fcn.004016f0
mov ecx, esi
call fcn.004016f0
lea ecx, [esp + 0x70]
mov byte [esp + 0x4b4], 0xa
call fcn.004016f0
test bl, bl
je 0x46b3de
lea ecx, [esp + 0x1c]
call fcn.004016f0
lea ecx, [esp + 0x18]
call fcn.004016f0
lea esi, [esp + 0x54]
call fcn.0041d600
lea ecx, [esp + 0x28]
call fcn.004016f0
lea ecx, [esp + 0x34]
call fcn.004016f0
lea ecx, [esp + 0x2c]
call fcn.004016f0
lea ecx, [esp + 0x30]
call fcn.004016f0
lea esi, [esp + 0x3c]
call fcn.0041d600
jmp 0x46aa99
mov ebx, dword [esp + 0x20]
lea ebp, [ebx + 0x5314]
mov esi, ebp
call fcn.0044d3b0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [ebx + 0x531c]
push edx
mov dword [ebx + 0x5318], 0
mov dword [ebp], 4
call fcn.004105d0
lea edi, [ebx + 0x5334]
lea eax, [esp + 0x18]
call fcn.00404930
cmp dword [ebx + 0x53dc], 0xffffffff
jne 0x46b4bb
cmp dword [ebx + 0x51e4], 0
je 0x46b4bb
lea esi, [esp + 0x24]
call fcn.004048a0
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x4b8], 0xe
mov eax, dword [ebx + 0x51e4]
push 0xffff
mov edx, esi
mov dword [esp + 0x28], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xb0]
call eax
test eax, eax
je 0x46b4aa
cmp dword [esp + 0x20], 0
je 0x46b4aa
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call fcn.00427ad0
mov edi, eax
call fcn.00427b40
sub eax, 0xd698
neg eax
sbb eax, eax
and eax, 0x2751
add eax, 0xd698
mov dword [ebx + 0x53dc], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x4b4], 0xa
call fcn.004016f0
cmp dword [esp + 0x38], 0
mov ecx, dword [ebx + 0x53dc]
mov dword [ebx + 0x5358], ecx
je 0x46b4d8
push ebp
mov ecx, ebx
call fcn.0045ef20
jmp 0x46b4e1
push 1
push ebp
push ebx
call fcn.0045e970
lea ecx, [esp + 0x1c]
call fcn.004016f0
lea ecx, [esp + 0x18]
call fcn.004016f0
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
jmp 0x46b1e4
mov byte [esp + 0x4b4], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46b527
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x4b4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b54b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x54]
call fcn.0041d600
mov byte [esp + 0x4b4], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b57c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b4], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
jmp 0x46afed