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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b8c23
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x61dc40]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
push dword [esi + 0x14]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x53c137
mov ebx, dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
je 0x53c137
push dword [esi + 0x140]
push ebx
mov ebx, dword [esi + 0x14]
call fcn.00525bd3
cmp dword [esi + 0x20], 0
je 0x53bee2
lea eax, [esi + 0xbc]
test eax, eax
je 0x53be58
add esi, 0xc0
jmp 0x53be5a
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 + 0x140]
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], 0x5ef5d4
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x448]
mov ebx, dword [esi + 0x14]
push dword [ebp + 8]
call fcn.00525bd3
cmp dword [esi + 0x20], 0
je 0x53bfa6
cmp dword [esi + 0x410], 0
je 0x53bfa6
lea eax, [esi + 0x3c4]
test eax, eax
je 0x53bf1c
add esi, 0x3c8
jmp 0x53bf1e
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 + 0x448]
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], 0x5fcdfc
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x550]
cmp eax, 0xffffffff
jne 0x53bfba
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x38]
sar eax, 2
xor edi, edi
cmp eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
jle 0x53c137
add esi, 0x2c
mov dword [esp + 0x24], esi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp edi, eax
jae 0x53c137
call fcn.004750c1
mov edi, dword [eax]
test edi, edi
je 0x53c124
mov eax, dword [edi + 0x84]
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 0x14]
push eax
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.00525bd3
xor ebx, ebx
cmp dword [esi + 0x20], ebx
je 0x53c120
cmp dword [edi + 0x4c], ebx
je 0x53c120
lea eax, [edi + 4]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
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]
push dword [edi + 0x1c]
lea eax, [esp + 0x1c]
push eax
call fcn.00407b16
mov dword [esp + 0x78], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00407b16
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x53c08d
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x53c08d
push 2
push 0x5df2dc
lea eax, [esp + 0x20]
call fcn.0040a5cb
mov eax, dword [esp + 0x1c]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
call fcn.0040a5cb
mov eax, dword [esi + 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.00407b6b
or dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00407b6b
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
inc edi
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x28], edi
jl 0x53bfd3
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