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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b1102
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x616040]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x616040]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x34], edi
cmp dword [edi], 0
je 0x56e5ee
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0xb8], ebx
mov eax, 0x38e38e39
mov ecx, dword [edi + 0x54]
sub ecx, dword [edi + 0x50]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov edi, dword [edi + 0x50]
mov esi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], edi
cmp edi, dword [eax + 0x54]
je 0x56e572
lea ebx, [edi + 0x10]
nop
push dword [ebx - 0x10]
call fcn.0040fef6
mov dword [esp + 0x30], eax
test eax, eax
je 0x56e557
mov ecx, dword [ebx - 8]
mov eax, dword [ebx + 4]
mov esi, dword [edi + 8]
mov edx, esi
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx - 4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
sub eax, dword [edi + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xc]
sub ecx, dword [edi + 0x14]
test byte [ebx + 0x10], 1
jne 0x56e0bf
mov edx, eax
add dword [ebx - 8], edx
test byte [ebx + 0x10], 4
jne 0x56e0ca
mov eax, esi
add dword [ebx], eax
test byte [ebx + 0x10], 2
mov edx, dword [esp + 0x24]
mov eax, edx
jne 0x56e0da
mov eax, ecx
add dword [ebx - 4], eax
test byte [ebx + 0x10], 8
jne 0x56e0e5
mov ecx, edx
add dword [ebx + 4], ecx
lea eax, [ebx - 8]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x56e557
call fcn.0041505f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x56e61e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov byte [esp + 0xb8], 1
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x56e14f
push pe_nt_image_headers32
lea ecx, [esp + 0x28]
call fcn.00402c20
mov esi, dword [esp + 0x24]
push pe_nt_image_headers32
push esi
push dword [ebx - 0x10]
call dword [sym.imp.USER32.dll_GetClassNameW]
push dword [esi - 8]
push esi
call fcn.00528e72
add esp, 8
test eax, eax
js 0x56e614
cmp eax, dword [esi - 8]
jg 0x56e614
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, str.SysTabControl32
mov eax, esi
jmp 0x56e190
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x56e1b6
test dx, dx
je 0x56e1b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x56e1b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x56e190
xor eax, eax
jmp 0x56e1bb
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x56e1ef
lea eax, [esp + 0x24]
push str.32770
push eax
call fcn.00403c30
add esp, 8
test al, al
jne 0x56e1ef
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x20], 0
je 0x56e535
push 4
jmp 0x56e50f
push 0xfffffffffffffff0
push dword [ebx - 0x10]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esp + 0x54]
mov ecx, eax
shr eax, 0x14
and eax, 1
shr ecx, 0x15
and ecx, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
cmp edx, eax
jg 0x56e22b
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x50]
mov edi, dword [ebx]
mov dword [esp + 0x1c], ecx
cmp ecx, edi
jle 0x56e23b
mov edi, ecx
cmp edx, eax
jge 0x56e245
mov eax, edx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x84], edi
sub edi, eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x18], edi
test edi, edi
jle 0x56e365
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x14]
sub ecx, eax
cmp dword [esp + 0x28], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x7c], ecx
je 0x56e2a0
push 0x14
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x7c], ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x40]
call fcn.0040a0b0
cmp dword [esp + 0x2c], 0
je 0x56e34f
mov edx, dword [esp + 0x54]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edx
cmp edx, ecx
jg 0x56e2d0
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
cmp eax, dword [ebx]
jle 0x56e2e2
mov dword [esp + 0x10], eax
jmp 0x56e2e8
mov edi, dword [ebx]
mov dword [esp + 0x10], edi
cmp edx, ecx
jg 0x56e2f0
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx]
cmp eax, ecx
jg 0x56e2fa
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x14]
push 0x15
mov dword [esp + 0xa8], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x18]
add eax, eax
sub ecx, eax
push 0x14
mov dword [esp + 0x9c], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x1c]
add eax, eax
sub ecx, eax
lea eax, [esp + 0x98]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x3c]
push eax
call fcn.0040a0b0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
jmp 0x56e369
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
mov dword [esp + 0x18], edi
cmp eax, edi
jle 0x56e378
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jg 0x56e388
mov dword [esp + 0x14], eax
jl 0x56e38e
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
sub eax, ecx
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x68], ecx
test eax, eax
jle 0x56e495
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], ecx
je 0x56e3e7
push 0x15
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x40]
call fcn.0040a0b0
cmp dword [esp + 0x28], 0
mov ecx, dword [esp + 0x54]
je 0x56e48f
mov edx, dword [ebx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ecx
cmp ecx, edx
jg 0x56e417
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
cmp eax, dword [ebx]
jle 0x56e429
mov dword [esp + 0x28], eax
jmp 0x56e42f
mov edi, dword [ebx]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
cmp ecx, edx
jg 0x56e43b
mov dword [esp + 0x14], edx
mov ecx, dword [ebx]
cmp eax, ecx
jg 0x56e445
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
push 0x15
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x10]
add eax, eax
sub ecx, eax
push 0x14
mov dword [esp + 0x5c], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x14]
add eax, eax
sub ecx, eax
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x3c]
push eax
call fcn.0040a0b0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
jmp 0x56e499
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
cmp ecx, eax
jg 0x56e4a2
mov ecx, eax
mov eax, dword [ebx - 8]
mov dword [esp + 0x10], edx
cmp edx, eax
jg 0x56e4b3
mov dword [esp + 0x10], eax
jl 0x56e4b5
mov edx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], eax
sub eax, edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], ecx
test eax, eax
jle 0x56e503
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x88]
push eax
call fcn.0040a0b0
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x20], 0
je 0x56e535
push 0xc
mov ecx, dword [ebx - 4]
mov eax, dword [ebx + 4]
mov edx, dword [ebx - 8]
sub eax, ecx
push eax
mov eax, dword [ebx]
sub eax, edx
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0
push dword [eax + 0x20]
push dword [esp + 0x54]
call dword [sym.imp.USER32.dll_DeferWindowPos]
add esi, 0xfffffff0
mov byte [esp + 0xb8], 0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56e557
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x34]
add ebx, 0x24
lea eax, [ebx - 0x10]
cmp eax, dword [ecx + 0x54]
jne 0x56e070
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
push esi
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov esi, ebx
cmp ebx, dword [esp + 0x40]
je 0x56e5cc
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
lea esp, [esp]
mov eax, dword [esi]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
push 1
push eax
mov eax, dword [ebx]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
add esi, 0x10
cmp esi, edi
jne 0x56e590
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
cmp edi, dword [eax + 0x54]
je 0x56e5e1
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
test ebx, ebx
je 0x56e5ee
push ebx
call fcn.0040d533
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00527e5c
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00402740
push 0x80004005
call fcn.00402740
int3