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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0xc], eax
push edi
xor edi, edi
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x7b0]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x56a41d
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov dl, byte [esi + 0x80c]
xor cl, cl
xor eax, eax
test dl, dl
je 0x56a43b
cmp byte [esi + 0x1256], al
setne al
lea eax, [eax*8 + 0x18]
mov dword [esi + 0x830], eax
mov eax, dword [esi + 0x15a0]
mov byte [eax], dl
cmp byte [esi + 0x80d], 0
je 0x56a47a
cmp byte [esi + 0x80e], 0
je 0x56a478
push 0
push 0
push 0x1304
push dword [esi + 0x804]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
setg cl
jmp 0x56a47a
mov cl, 1
mov eax, dword [esi + 0x15a0]
mov byte [eax + 0x14], cl
test cl, cl
je 0x56a4b3
cmp byte [esi + 0x80f], 0
je 0x56a4b3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x830]
sub eax, ebx
push 0x14
push 0x18
push eax
add ecx, edi
push ecx
push ebx
push 0
push dword [esi + 0x804]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
push eax
push 1
push 0x1328
push dword [esi + 0x804]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x15a0]
sub ecx, 4
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x15a0]
movzx eax, byte [esi + 0x1390]
mov byte [ecx + 0x50], al
lea ecx, [esi + 0x13a4]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [esi + 0x15a0]
mov dword [ecx + 0x40], eax
mov ecx, dword [esi + 0x15a0]
movzx eax, byte [esi + 0x13e0]
mov byte [ecx + 0x3c], al
mov ecx, dword [esi + 0x15a0]
movzx eax, byte [esi + 0x142c]
mov byte [ecx + 0x64], al
mov ecx, dword [esi + 0x15a0]
movzx eax, byte [esi + 0x148c]
mov byte [ecx + 0x78], al
mov ecx, dword [esi + 0x15a0]
movzx eax, byte [esi + 0x1528]
mov byte [ecx + 0x8c], al
lea eax, [esp + 0x44]
push eax
push dword [esi + 0x7fc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x15a0]
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x48]
sub ecx, 2
mov dword [eax + 0xa4], ecx
mov ecx, dword [esi + 0x15a0]
movzx eax, byte [esi + 0x810]
mov byte [ecx + 0xa0], al
mov eax, dword [esp + 0x10]
sub eax, edi
mov edx, eax
mov dword [esp + 0x10], eax
test edx, edx
jg 0x56a5b2
mov edx, 1
mov ecx, dword [esi + 0x15a0]
mov eax, ecx
mov edi, dword [esi + 0x15a4]
mov dword [esp + 0x14], ecx
cmp eax, edi
je 0x56a5dd
cmp byte [eax], 0
je 0x56a5d6
cmp byte [eax + 8], 0
jne 0x56a5d6
sub edx, dword [eax + 4]
add eax, 0x14
cmp eax, edi
jne 0x56a5c8
test edx, edx
jg 0x56a660
mov eax, dword [esp + 0x10]
xor edi, edi
mov edx, dword [esi + 0x15a4]
mov ecx, dword [esp + 0x14]
sub edx, ecx
mov dword [esp + 0x10], eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x56a65c
xor eax, eax
lea esp, [esp]
cmp edi, 2
je 0x56a61d
mov ecx, dword [esp + 0x14]
mov byte [eax + ecx], 0
mov ebx, dword [esi + 0x15a0]
add eax, 0x14
mov ecx, dword [esi + 0x15a4]
inc edi
mov dword [esp + 0x18], eax
sub ecx, ebx
mov eax, 0x66666667
mov dword [esp + 0x1c], ebx
imul ecx
mov dword [esp + 0x14], ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
mov eax, dword [esp + 0x18]
jb 0x56a610
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push 0xa
mov dword [ecx + 0x2c], edx
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov edi, dword [esi + 0x15a0]
mov ecx, eax
mov eax, dword [esi + 0x15a4]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x56a6f9
mov esi, edx
cmp byte [edi], 0
je 0x56a6b4
mov eax, dword [edi + 4]
test ecx, ecx
je 0x56a6b0
push 0x54
push eax
mov eax, dword [esp + 0x34]
sub eax, ebx
push eax
push esi
push ebx
push 0
push dword [edi + 0x10]
push ecx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ecx, eax
mov eax, dword [edi + 4]
add esi, eax
jmp 0x56a6e8
lea eax, [edx - 0x29]
add edx, 0xffffffd8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
sub eax, ebx
test ecx, ecx
je 0x56a6e8
sub edx, dword [esp + 0x14]
sub eax, ebx
push 0x94
push edx
push eax
push dword [esp + 0x20]
push ebx
push 0
push dword [edi + 0x10]
push ecx
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ecx, eax
mov edx, dword [esp + 0x28]
add edi, 0x14
cmp edi, dword [esp + 0x18]
jne 0x56a687
mov esi, dword [esp + 0x20]
test ecx, ecx
je 0x56a704
push ecx
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov eax, dword [esi + 0x15a0]
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esi + 0x830], eax
mov eax, dword [esi + 0x15a0]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x834], eax
mov eax, dword [esi + 0x15a0]
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x83c], eax
mov eax, dword [esi + 0x15a0]
mov eax, dword [eax + 0xa4]
mov dword [esi + 0x838], eax
mov eax, dword [esi]
call dword [eax + 0x154]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret