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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f7549
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x52ec00]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x486f11
push dword [esi + 0x120]
mov ebx, dword [esi + 0x14]
push edi
call fcn.00477597
cmp dword [esi + 0x1c], 0
je 0x486cd0
lea eax, [esi + 0xac]
test eax, eax
je 0x486c46
add esi, 0xb0
jmp 0x486c48
xor esi, esi
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x120]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
xor eax, eax
lea ecx, [esp + 0x40]
push ecx
push eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
push 0x432
push dword [eax]
mov dword [esp + 0x50], 0x2c
mov dword [esp + 0x54], 0x10
mov dword [esp + 0x74], 0x51853c
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x2d0]
mov ebx, dword [esi + 0x14]
push dword [ebp + 8]
call fcn.00477597
cmp dword [esi + 0x1c], 0
je 0x486d94
cmp dword [esi + 0x2a8], 0
je 0x486d94
lea eax, [esi + 0x25c]
test eax, eax
je 0x486d0a
add esi, 0x260
jmp 0x486d0c
xor esi, esi
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x2d0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
xor eax, eax
lea ecx, [esp + 0x40]
push ecx
push eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
push 0x432
push dword [eax]
mov dword [esp + 0x50], 0x2c
mov dword [esp + 0x54], 0x10
mov dword [esp + 0x74], 0x51be48
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x33c]
cmp eax, 0xffffffff
jne 0x486da8
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x34]
sar eax, 2
xor edi, edi
cmp eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
jle 0x486f11
add esi, 0x28
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x28]
call fcn.0044a99d
mov esi, dword [eax]
test esi, esi
je 0x486efe
mov eax, dword [esi + 0x74]
mov edi, dword [esp + 0x14]
mov ebx, dword [edi + 0x14]
push eax
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.00477597
xor ebx, ebx
cmp dword [edi + 0x1c], ebx
je 0x486efe
cmp dword [esi + 0x4c], ebx
je 0x486efe
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
call fcn.00407c9b
mov dword [esp + 0x78], ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00407c9b
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x486e6b
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x486e6b
push 2
push 0x51163c
lea eax, [esp + 0x20]
call fcn.00407be4
mov eax, dword [esp + 0x1c]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
call fcn.00407be4
mov eax, dword [edi + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebp + 8]
push ebx
push 0x432
push dword [eax]
mov dword [esp + 0x50], 0x2c
mov dword [esp + 0x54], 0x10
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00406ace
or dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00406ace
mov edi, dword [esp + 0x24]
inc edi
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x24], edi
jl 0x486dc1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4