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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c436b
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 0x47d045
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x47d045
mov ebx, dword [esp + 0xc4]
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], ebx
call fcn.004b7f23
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.004728d0
add esp, 8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x34]
push edx
call fcn.004b7eba
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.0047b510
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.004b7eba
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 0x47d062
lea ecx, [esp + 0x34]
mov dword [esp + 0xb8], 0xffffffff
call fcn.004b7f95
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.004699e0
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004b2d04
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.004b7e51
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004b2d04
cmp eax, edi
jne 0x47d370
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x47d370
push 0
push 0
lea eax, [esp + 0x8c]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x47d363
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call fcn.0047c550
mov edx, 1
cmp eax, edx
je 0x47d34d
mov eax, dword [esp + 0x88]
cmp eax, 0x100
jne 0x47d13e
cmp dword [esp + 0x8c], 0x1b
je 0x47d370
jmp 0x47d149
cmp eax, 0x204
je 0x47d370
test edi, edi
jne 0x47d151
xor ecx, ecx
jmp 0x47d154
mov ecx, dword [edi + 0x1c]
cmp dword [esp + 0x84], ecx
je 0x47d170
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x47d34d
sub eax, 0x200
je 0x47d19c
sub eax, 2
je 0x47d18f
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x47d34d
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], edx
jmp 0x47d34d
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47d1c2
lea ecx, [esp + 0x24]
push esi
push ecx
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, edi
call fcn.0047c320
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.004b7eba
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.004728d0
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.004b7eba
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.0047b510
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.004b7eba
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.004b7e51
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 0x47d34d
lea ecx, [esp + 0x24]
push esi
push ecx
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, edi
call fcn.0047c320
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004b2d04
cmp eax, edi
je 0x47d0dc
jmp 0x47d370
mov eax, dword [esp + 0x8c]
push eax
call fcn.004be500
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47d39c
lea ecx, [esp + 0x24]
push esi
push ecx
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, edi
call fcn.0047c320
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.004b7f95
mov eax, edi
jmp 0x47d047