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

Disassembly:
push 0xffffffffffffffff
push 0x4c285a
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 0x40e800
mov esi, 7
mov ebp, 8
push 0x4c6048
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
call fcn.004a9141
add esp, 4
push eax
push 0x4c6048
lea ecx, [esp + 0x18]
call fcn.00405640
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.00446b90
mov ecx, eax
call fcn.00448310
cmp dword [esp + 0x28], ebp
mov byte [esp + 0x934], 4
jb 0x40e349
mov eax, dword [esp + 0x14]
push eax
call fcn.004a7e92
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.004a9141
add esp, 4
push eax
push str.onDragDrop
lea ecx, [esp + 0xc0]
call fcn.00405640
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.00405530
push str._:__
mov byte [esp + 0x938], 6
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
call fcn.004a9141
add esp, 4
push eax
push str._:__
lea ecx, [esp + 0xdc]
call fcn.00405640
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.00444310
push str.mdm.__dispatchEvent
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
call fcn.004a9141
add esp, 4
push eax
push str.mdm.__dispatchEvent
lea ecx, [esp + 0xf8]
call fcn.00405640
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.004a9141
add esp, 4
push eax
push str.DragDropApplicationfiles_z_
lea ecx, [esp + 0x6c]
call fcn.00405640
push 0x4c6704
mov byte [esp + 0x938], 9
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.004a9141
add esp, 4
push eax
push 0x4c6704
lea ecx, [esp + 0x4c]
call fcn.00405640
push 0x4c58e8
mov byte [esp + 0x938], 0xa
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
call fcn.004a9141
add esp, 4
push eax
push 0x4c58e8
lea ecx, [esp + 0x18]
call fcn.00405640
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.00446b90
mov ecx, eax
call fcn.004481c0
cmp dword [esp + 0x28], ebp
jb 0x40e52c
mov edx, dword [esp + 0x14]
push edx
call fcn.004a7e92
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 0x40e554
mov eax, dword [esp + 0x48]
push eax
call fcn.004a7e92
add esp, 4
push 0x4c6048
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.004a9141
add esp, 4
push eax
push 0x4c6048
lea ecx, [esp + 0x4c]
call fcn.00405640
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.00444630
mov ecx, eax
call fcn.00444960
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x940], 0xd
call fcn.00405530
cmp dword [esp + 0x28], ebp
jb 0x40e5ce
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004a7e92
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 0x40e5f6
mov edx, dword [esp + 0x48]
push edx
call fcn.004a7e92
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x70]
call fcn.004052b0
push 0x4c591c
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
call fcn.004a9141
add esp, 4
push eax
push 0x4c591c
lea ecx, [esp + 0xa4]
call fcn.00405640
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.00444310
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.SHELL32.dll_DragFinish]
cmp dword [esp + 0xb4], ebp
jb 0x40e687
mov edx, dword [esp + 0xa0]
push edx
call fcn.004a7e92
add esp, 4
cmp dword [esp + 0x7c], ebp
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
jb 0x40e6b0
mov eax, dword [esp + 0x68]
push eax
call fcn.004a7e92
add esp, 4
cmp dword [esp + 0x108], ebp
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
jb 0x40e6d6
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.004a7e92
add esp, 4
cmp dword [esp + 0xec], ebp
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
jb 0x40e705
mov edx, dword [esp + 0xd8]
push edx
call fcn.004a7e92
add esp, 4
cmp dword [esp + 0x124], ebp
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
jb 0x40e734
mov eax, dword [esp + 0x110]
push eax
call fcn.004a7e92
add esp, 4
cmp dword [esp + 0xd0], ebp
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov word [esp + 0x110], bx
jb 0x40e763
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.004a7e92
add esp, 4
cmp dword [esp + 0x98], ebp
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
jb 0x40e792
mov edx, dword [esp + 0x84]
push edx
call fcn.004a7e92
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 0x40e7d3
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
call fcn.00405c50
mov edx, dword [esp + 0x38]
push edx
call fcn.004a7e92
add esp, 0x14
mov ecx, dword [esp + 0x91c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x918]
xor ecx, esp
call fcn.004a8b15
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.004a9141
add esp, 4
push eax
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x18]
call fcn.00405640
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x938], 1
call fcn.0040dc30
mov eax, dword [esp + 0x28]
mov ebp, 8
cmp eax, ebp
mov byte [esp + 0x934], bl
jb 0x40e880
mov edx, dword [esp + 0x14]
push edx
call fcn.004a7e92
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 0x40e7f8
jmp 0x40e2df