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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49dd7b
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x154]
test eax, eax
je 0x467a25
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x467a25
mov ebx, dword [esp + 0xc4]
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], ebx
call fcn.00494eab
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [esp + 0xb8], 0
mov ecx, dword [edx + 4]
mov edx, dword [edx]
mov esi, dword [eax]
mov ebp, dword [eax + 4]
sub edx, esi
mov esi, dword [esp + 0xc0]
sub ecx, ebp
mov dword [esp + 0x18], edx
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x18]
sub ecx, edx
mov edx, dword [esi + 0x14]
sub edx, ebp
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], eax
add eax, ecx
mov dword [esp + 0x80], eax
lea eax, [esp + 0x74]
lea ecx, [esp + 0x34]
add ebp, edx
push eax
push ecx
mov dword [esp + 0x84], ebp
call fcn.0045cb90
add esp, 8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x34]
push edx
call fcn.00494e42
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
mov dword [esp + 0x60], ecx
push edx
mov ecx, edi
mov dword [esp + 0x60], eax
call fcn.00465d00
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], eax
call fcn.00494e42
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov dword [esp + 0x64], eax
xor ebp, ebp
lea eax, [esp + 0x58]
push ebp
mov dword [esp + 0x6c], ecx
push eax
push 0x271b
mov ecx, esi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
call dword [edx + 0x14]
test eax, eax
je 0x467a42
lea ecx, [esp + 0x34]
mov dword [esp + 0xb8], 0xffffffff
call fcn.00494f1d
xor eax, eax
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 8
call fcn.00453cc0
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0048fd69
mov edx, dword [ebx + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x74], eax
mov ebx, dword [edx]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov ebp, dword [edx + 4]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x78], ecx
sub eax, ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x24], ebx
sub ecx, edx
lea edx, [esp + 0x50]
mov dword [esp + 0x50], ecx
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], eax
call fcn.00494dd9
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0048fd69
cmp eax, edi
jne 0x467d50
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x467d50
push 0
push 0
lea eax, [esp + 0x8c]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x467d43
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call fcn.00466f30
mov edx, 1
cmp eax, edx
je 0x467d2d
mov eax, dword [esp + 0x88]
cmp eax, 0x100
jne 0x467b1e
cmp dword [esp + 0x8c], 0x1b
je 0x467d50
jmp 0x467b29
cmp eax, 0x204
je 0x467d50
test edi, edi
jne 0x467b31
xor ecx, ecx
jmp 0x467b34
mov ecx, dword [edi + 0x1c]
cmp dword [esp + 0x84], ecx
je 0x467b50
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x467d2d
sub eax, 0x200
je 0x467b7c
sub eax, 2
je 0x467b6f
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x467d2d
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], edx
jmp 0x467d2d
mov eax, dword [esp + 0x20]
test eax, eax
je 0x467ba2
lea ecx, [esp + 0x24]
push esi
push ecx
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, edi
call fcn.00466d00
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov edx, dword [eax]
sub ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 4]
lea eax, [esp + 0x6c]
sub edx, ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x74], edx
call fcn.00494e42
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
sub ecx, ebx
sub edx, ebp
add eax, ebx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x1c], edx
mov dword [esp + 0xa8], eax
lea edx, [esp + 0xa0]
lea eax, [esp + 0x34]
add ecx, ebp
push edx
push eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb4], ecx
call fcn.0045cb90
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x18], edx
call fcn.00494e42
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x34]
mov dword [esp + 0x5c], ecx
push eax
mov ecx, edi
mov dword [esp + 0x64], edx
call fcn.00465d00
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], edx
call fcn.00494e42
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x58]
push ecx
push edx
push 0x271d
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [edi + 0x154]
mov dword [eax + 8], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
sub eax, ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], eax
sub ecx, edx
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00494dd9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [ebx + eax]
lea eax, [edx + ebp]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x24], ecx
je 0x467d2d
lea ecx, [esp + 0x24]
push esi
push ecx
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, edi
call fcn.00466d00
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0048fd69
cmp eax, edi
je 0x467abc
jmp 0x467d50
mov eax, dword [esp + 0x8c]
push eax
call fcn.0049913f
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x467d7c
lea ecx, [esp + 0x24]
push esi
push ecx
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, edi
call fcn.00466d00
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
mov edi, dword [esp + 0x4c]
mov edx, dword [esi]
lea eax, [esp + 0x58]
mov ecx, esi
push eax
push edi
push 0x271c
call dword [edx + 0x14]
lea ecx, [esp + 0x34]
mov dword [esp + 0xb8], 0xffffffff
call fcn.00494f1d
mov eax, edi
jmp 0x467a27