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

Disassembly:
push 0xffffffffffffffff
push 0x4c293a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x91c
mov eax, dword [0x508e4c]
xor eax, esp
push ebx
push ebp
push esi
mov esi, dword [esp + 0x938]
push edi
push 0x400
mov dword [esp + 0x92c], eax
lea eax, [esp + 0x12c]
push eax
push 0xffffffffffffffff
push esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor ebx, ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x934], ebx
jg 0x40f2c0
mov esi, 7
mov ebp, 8
push 0x4c6060
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
call fcn.004a94d1
add esp, 4
push eax
push 0x4c6060
lea ecx, [esp + 0x18]
call fcn.004057c0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x940], 2
call fcn.00446930
mov ecx, eax
call fcn.004480b0
cmp dword [esp + 0x28], ebp
mov byte [esp + 0x934], 4
jb 0x40ee09
mov eax, dword [esp + 0x14]
push eax
call fcn.004a8222
add esp, 4
push str.onDragDrop
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
call fcn.004a94d1
add esp, 4
push eax
push str.onDragDrop
lea ecx, [esp + 0xc0]
call fcn.004057c0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x118]
mov byte [esp + 0x940], 5
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], ebx
mov word [esp + 0x11c], bx
call fcn.004056b0
push str._:__
mov byte [esp + 0x938], 6
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
call fcn.004a94d1
add esp, 4
push eax
push str._:__
lea ecx, [esp + 0xdc]
call fcn.004057c0
mov edi, dword [esp + 0x30]
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0xc0]
push ecx
mov ecx, edi
mov byte [esp + 0x940], 7
call fcn.004447e0
push str.mdm.__dispatchEvent
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
call fcn.004a94d1
add esp, 4
push eax
push str.mdm.__dispatchEvent
lea ecx, [esp + 0xf8]
call fcn.004057c0
push str.DragDropApplicationfiles_z_
mov byte [esp + 0x938], 8
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
call fcn.004a94d1
add esp, 4
push eax
push str.DragDropApplicationfiles_z_
lea ecx, [esp + 0x6c]
call fcn.004057c0
push 0x4c6718
mov byte [esp + 0x938], 9
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.004a94d1
add esp, 4
push eax
push 0x4c6718
lea ecx, [esp + 0x4c]
call fcn.004057c0
push 0x4c5904
mov byte [esp + 0x938], 0xa
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
call fcn.004a94d1
add esp, 4
push eax
push 0x4c5904
lea ecx, [esp + 0x18]
call fcn.004057c0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0x940], 0xb
call fcn.00446930
mov ecx, eax
call fcn.00447f60
cmp dword [esp + 0x28], ebp
jb 0x40efec
mov edx, dword [esp + 0x14]
push edx
call fcn.004a8222
add esp, 4
cmp dword [esp + 0x5c], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
mov byte [esp + 0x934], 9
jb 0x40f014
mov eax, dword [esp + 0x48]
push eax
call fcn.004a8222
add esp, 4
push 0x4c6060
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.004a94d1
add esp, 4
push eax
push 0x4c6060
lea ecx, [esp + 0x4c]
call fcn.004057c0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x940], 0xc
call fcn.00444b00
mov ecx, eax
call fcn.00444e30
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x940], 0xd
call fcn.004056b0
cmp dword [esp + 0x28], ebp
jb 0x40f08e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004a8222
add esp, 4
cmp dword [esp + 0x5c], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
mov byte [esp + 0x934], 9
jb 0x40f0b6
mov edx, dword [esp + 0x48]
push edx
call fcn.004a8222
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x70]
call fcn.00405400
push 0x4c5938
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
call fcn.004a94d1
add esp, 4
push eax
push 0x4c5938
lea ecx, [esp + 0xa4]
call fcn.004057c0
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0xf8]
push eax
mov ecx, edi
mov byte [esp + 0x940], 0xe
call fcn.004447e0
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.SHELL32.dll_DragFinish]
cmp dword [esp + 0xb4], ebp
jb 0x40f147
mov edx, dword [esp + 0xa0]
push edx
call fcn.004a8222
add esp, 4
cmp dword [esp + 0x7c], ebp
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
jb 0x40f170
mov eax, dword [esp + 0x68]
push eax
call fcn.004a8222
add esp, 4
cmp dword [esp + 0x108], ebp
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
jb 0x40f196
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.004a8222
add esp, 4
cmp dword [esp + 0xec], ebp
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
jb 0x40f1c5
mov edx, dword [esp + 0xd8]
push edx
call fcn.004a8222
add esp, 4
cmp dword [esp + 0x124], ebp
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
jb 0x40f1f4
mov eax, dword [esp + 0x110]
push eax
call fcn.004a8222
add esp, 4
cmp dword [esp + 0xd0], ebp
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov word [esp + 0x110], bx
jb 0x40f223
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.004a8222
add esp, 4
cmp dword [esp + 0x98], ebp
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
jb 0x40f252
mov edx, dword [esp + 0x84]
push edx
call fcn.004a8222
add esp, 4
mov eax, dword [esp + 0x38]
pop edi
mov dword [esp + 0x94], esi
pop esi
pop ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
cmp eax, ebx
pop ebx
je 0x40f293
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
call fcn.00406a80
mov edx, dword [esp + 0x38]
push edx
call fcn.004a8222
add esp, 0x14
mov ecx, dword [esp + 0x91c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x918]
xor ecx, esp
call fcn.004a8ea5
add esp, 0x928
ret 4
mov esi, dword [esp + 0x2c]
lea esp, [esp]
push 0x400
lea ecx, [esp + 0x12c]
push ecx
push edi
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea edx, [esp + 0x128]
mov esi, 7
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
call fcn.004a94d1
add esp, 4
push eax
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x18]
call fcn.004057c0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x938], 1
call fcn.0040e960
mov eax, dword [esp + 0x28]
mov ebp, 8
cmp eax, ebp
mov byte [esp + 0x934], bl
jb 0x40f340
mov edx, dword [esp + 0x14]
push edx
call fcn.004a8222
add esp, 4
mov eax, dword [esp + 0x60]
inc edi
cmp edi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
jl 0x40f2b8
jmp 0x40ed9f