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

Disassembly:
push 0xffffffffffffffff
push 0x49868b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
xor eax, eax
push edi
mov esi, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0xe4], eax
call fcn.00464f60
mov ebp, eax
sub eax, dword [esi + 0x8c]
push 0x20000
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov eax, ebp
sub eax, dword [esi + 0x90]
lea ecx, [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x64], ebp
mov dword [esp + 0x4c], eax
call fcn.0047be00
mov edi, dword [esp + 0xf0]
mov ebx, dword [esp + 0xec]
push edi
push ebx
push str.begin_dragdrop__d__d_n
call fcn.00433c50
add esp, 0xc
lea eax, [esp + 0xcc]
push eax
push 0
mov ecx, esi
call fcn.00463770
mov edx, dword [esi + 0x204]
lea ecx, [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, esi
call fcn.00464fe0
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x6c]
add eax, ecx
push 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x50], edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x80], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
jne 0x462675
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Assertion_failed__d
push str.ui_t::_begin_dragdrop
push 0x38c
push str.._srcui_dragdrop.cpp
call fcn.0043a6d0
add esp, 0x14
mov ecx, dword [esi + 0x204]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
add eax, dword [esi + 0x98]
mov edx, dword [esp + 0x3c]
mov ecx, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], edx
call fcn.00464f70
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x70]
push eax
or ebx, 0xffffffff
push edi
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x1c], ecx
mov dword [esp + 0x80], eax
jge 0x4627cb
jmp 0x4626e0
mov ecx, esi
call fcn.00477ee0
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x4627c2
push ecx
mov ecx, esi
call fcn.00478150
test eax, eax
je 0x4627a9
cmp byte [0x4b1684], 0
mov eax, dword [esp + 0x10]
je 0x46271f
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, esi
call fcn.00478b60
jmp 0x462731
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00478a00
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp byte [0x4b1684], cl
push ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
push 0xc20
je 0x462767
push ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
push edx
push edi
mov ecx, esi
call fcn.00464680
jmp 0x462777
lea ecx, [esp + 0x38]
push ecx
push eax
push edx
push edi
call fcn.00461340
add esp, 0x18
mov eax, dword [esi + 0x90]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
lea eax, [eax + ecx + 0xb]
cmp eax, dword [esp + 0x40]
jle 0x462793
mov dword [esp + 0x40], eax
cmp dword [esp + 0x14], 0xffffffff
jne 0x4627a2
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
lea ebx, [eax + ebp]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], 1
add eax, ebp
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jl 0x4626e0
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x4627f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Assertion_failed__d
push str.ui_t::_begin_dragdrop
push 0x403
push str.._srcui_dragdrop.cpp
call fcn.0043a6d0
mov eax, dword [esp + 0x28]
add esp, 0x14
sub dword [esp + 0x4c], eax
push 0x2c
lea ecx, [esp + 0xa4]
sub ebx, eax
push 0
push ecx
mov dword [esp + 0x70], ebx
call fcn.0048a4d0
mov edx, dword [esp + 0x4c]
add esp, 0xc
push 0
push 0
lea eax, [esp + 0x8c]
push eax
push 0
lea ecx, [esp + 0xb0]
push ecx
neg ebx
push edi
mov dword [esp + 0xb8], 0x28
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov word [esp + 0xc4], 1
mov word [esp + 0xc6], 0x20
mov dword [esp + 0xc8], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x78], ebx
jne 0x462898
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Assertion_failed__d
push str.ui_t::_begin_dragdrop
push 0x411
push str.._srcui_dragdrop.cpp
call fcn.0043a6d0
add esp, 0x14
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x8c], eax
call dword [sym.imp.GDI32.dll_GdiFlush]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
push 0
push ecx
push eax
push 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push 0
push eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], ecx
call fcn.004027d0
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x34], ecx
add esp, 0x18
mov ecx, esi
call fcn.00464f70
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x44]
jge 0x462bd4
mov ecx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x48]
sub ebx, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x14], ebx
mov eax, ecx
add ebx, ebp
sub eax, ebp
mov dword [esp + 0x48], eax
mov ecx, esi
call fcn.00477ee0
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x462bd0
push ecx
mov ecx, esi
call fcn.00478150
test eax, eax
je 0x462bb1
cmp byte [0x4b1684], 0
mov eax, dword [esp + 0x10]
je 0x462965
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, esi
call fcn.00478b60
jmp 0x462977
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00478a00
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov ebp, dword [esi + 0x90]
push 1
add ecx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x20], ecx
push edx
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.00478c60
mov ecx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x24]
push ebp
push ebp
add eax, ecx
push eax
push 4
push edi
call fcn.00440910
mov ecx, dword [esp + 0x4c]
xor eax, eax
add esp, 0x20
cmp byte [0x4b1684], al
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea edx, [esp + 0x34]
push 0xc20
je 0x4629ee
push eax
mov eax, dword [esp + 0x2c]
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.00464680
jmp 0x4629fe
mov eax, dword [esp + 0x28]
push edx
push eax
push ecx
push edi
call fcn.00461340
add esp, 0x18
mov edx, dword [esi + 0x90]
sub edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
lea ebp, [edx + eax + 0xb]
call dword [sym.imp.GDI32.dll_GdiFlush]
mov cl, byte [0x4b1760]
push 0xd
mov byte [esp + 0x28], cl
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esp + 0x18], eax
mov dl, byte [esp + 0x1a]
mov byte [esp + 0x1a], al
movzx eax, byte [esp + 0x24]
mov byte [esp + 0x1b], al
mov eax, dword [esi + 0x90]
mov byte [esp + 0x18], dl
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push ebx
push ebp
push edx
add eax, 4
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00402750
add esp, 0x18
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xe
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x90]
lea edx, [eax + 6]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x8c]
add ecx, ebx
add edx, ecx
cmp byte [0x4b1684], 0
push 0
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebp
lea edx, [esp + 0x34]
push 0x820
je 0x462b07
add eax, 4
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x30]
push eax
push ecx
push edi
mov ecx, esi
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebx
call fcn.00464680
jmp 0x462b1b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push edi
call fcn.00461340
add esp, 0x18
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x20c]
jne 0x462b69
mov eax, dword [esi + 0x90]
mov ecx, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
call fcn.00464f70
imul eax, dword [esp + 0x60]
push eax
mov ecx, esi
call fcn.00464fe0
push eax
push 0
lea edx, [esp + 0x3c]
push edx
push edi
call fcn.00446030
add esp, 0x14
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x74]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
call dword [sym.imp.GDI32.dll_GdiFlush]
movzx edx, byte [0x4b1760]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x90]
push edx
push ebx
push ebp
push eax
add ecx, 4
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.004027d0
mov ebp, dword [esp + 0x78]
add esp, 0x18
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], ebp
add dword [esp + 0x10], 1
add eax, ebp
add ebx, ebp
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jl 0x462926
mov ebx, dword [esp + 0x78]
call dword [sym.imp.GDI32.dll_GdiFlush]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push 0
push 0xfe00fe
push 0xff00ff
push 0x7f
push eax
push ecx
push 0
lea edx, [esp + 0x6c]
push 0
push edx
call fcn.00402860
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
push 0x10101
push 0
push eax
push ecx
push 0
lea edx, [esp + 0x88]
push 0
push edx
call fcn.00402900
mov eax, dword [esp + 0xc0]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
add esp, 0x40
push eax
push edi
call ebp
mov ecx, dword [esp + 0x8c]
push ecx
push edi
call ebp
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x7c]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0x4c]
push 0
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
push ebx
mov ecx, esi
call fcn.004621c0
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x28]
mov dword [esp + 0xe4], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret 8