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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x577253
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5d52e0]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x5d52e0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x24], ebx
cmp dword [ebx], edi
je 0x564870
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0xb0], edi
mov ecx, dword [ebx + 0x5c]
sub ecx, dword [ebx + 0x58]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov ecx, dword [ebx + 0x58]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [ebx + 0x5c]
je 0x564802
mov esi, ecx
add esi, 0x10
lea ebx, [ebx]
mov eax, dword [esi - 0x10]
push eax
call fcn.004126d5
mov dword [esp + 0x28], eax
test eax, eax
je 0x5647e9
mov edx, dword [esi - 8]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi - 4]
mov edi, dword [ebx + 8]
lea ecx, [esi - 8]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
sub eax, dword [ebx + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebx + 0x14]
test byte [esi + 0x10], 1
mov ebx, edi
jne 0x5643f8
mov ebx, eax
add dword [ecx], ebx
test byte [esi + 0x10], 4
jne 0x564402
mov eax, edi
add dword [esi], eax
test byte [esi + 0x10], 2
mov eax, dword [esp + 0x10]
jne 0x564410
mov eax, edx
add dword [esi - 4], eax
test byte [esi + 0x10], 8
jne 0x56441d
mov edx, dword [esp + 0x10]
add dword [esi + 4], edx
push ecx
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x5647e9
call fcn.0040c84f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x564896
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov byte [esp + 0xb0], 1
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x100
or eax, ecx
jge 0x564486
push 0x100
lea ecx, [esp + 0x14]
call fcn.004019b0
mov edi, dword [esp + 0x10]
mov ecx, dword [esi - 0x10]
push 0x100
push edi
push ecx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.004ff818
add esp, 8
test eax, eax
js 0x5648a0
cmp eax, dword [edi - 8]
jg 0x5648a0
mov dword [edi - 0xc], eax
xor edx, edx
mov word [edi + eax*2], dx
mov ecx, 0x5ab17c
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5644ea
test dx, dx
je 0x5644e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5644ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x5644c4
xor eax, eax
jmp 0x5644ef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x56453f
lea eax, [esp + 0x10]
push str.32770
push eax
call fcn.00406fe0
add esp, 8
test al, al
jne 0x56453f
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5647c1
mov eax, dword [esi - 4]
mov edi, dword [esi + 4]
mov ecx, dword [esi - 8]
push 4
sub edi, eax
push edi
mov edi, dword [esi]
sub edi, ecx
push edi
push eax
push ecx
push 0
push edx
mov edx, dword [esp + 0x34]
push edx
jmp 0x5647bb
mov eax, dword [esi - 0x10]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esi + 4]
mov ebx, eax
shr eax, 0x14
shr ebx, 0x15
and eax, 1
and ebx, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], ebx
mov eax, ecx
cmp ecx, edi
jg 0x564570
mov eax, edi
mov edx, dword [esi]
cmp dword [esp + 0x48], edx
jle 0x56457c
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
cmp ecx, edi
jge 0x564586
mov edi, ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x14]
sub eax, edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edx
test eax, eax
jle 0x564653
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub edi, eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x74], edi
je 0x5645c9
push 0x14
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [esp + 0x74], eax
lea eax, [esp + 0x70]
lea edi, [esp + 0x2c]
call fcn.00409580
test ebx, ebx
je 0x56464f
mov eax, dword [esp + 0x4c]
mov ebx, dword [esi + 4]
mov edx, eax
cmp eax, ebx
jg 0x5645e9
mov edx, ebx
mov edi, dword [esp + 0x48]
mov ecx, dword [esi]
mov eax, edi
cmp edi, ecx
jg 0x5645f7
mov eax, ecx
cmp dword [esp + 0x4c], ebx
jle 0x564601
mov ebx, dword [esp + 0x4c]
cmp edi, ecx
jg 0x564607
mov edi, ecx
push 0x15
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
sub edi, eax
push 0x14
mov dword [esp + 0x94], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
sub ebx, eax
lea eax, [esp + 0x90]
lea edi, [esp + 0x2c]
mov dword [esp + 0x94], ebx
call fcn.00409580
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jg 0x564666
mov dword [esp + 0x14], eax
mov edi, dword [esi]
mov eax, edx
cmp edx, edi
jg 0x564674
mov eax, edi
jge 0x564674
mov edi, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x14]
sub eax, edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x6c], edx
test eax, eax
jle 0x56472e
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub edi, eax
mov dword [esp + 0x60], edi
test ebx, ebx
je 0x5646b4
push 0x15
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [esp + 0x60], eax
lea eax, [esp + 0x60]
lea edi, [esp + 0x2c]
call fcn.00409580
cmp dword [esp + 0x20], 0
je 0x56472a
mov eax, dword [esp + 0x4c]
mov ebx, dword [esi + 4]
mov edx, eax
cmp eax, ebx
jg 0x5646d7
mov edx, ebx
mov edi, dword [esp + 0x48]
mov ecx, dword [esi]
mov eax, edi
cmp edi, ecx
jg 0x5646e5
mov eax, ecx
cmp dword [esp + 0x4c], ebx
jle 0x5646ef
mov ebx, dword [esp + 0x4c]
cmp edi, ecx
jg 0x5646f5
mov edi, ecx
push 0x15
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
sub edi, eax
push 0x14
mov dword [esp + 0x54], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
sub ebx, eax
lea eax, [esp + 0x50]
lea edi, [esp + 0x2c]
mov dword [esp + 0x54], ebx
call fcn.00409580
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x40]
cmp ecx, eax
jg 0x56473b
mov ecx, eax
mov eax, dword [esi - 8]
mov edi, edx
cmp edx, eax
jg 0x56474a
mov edi, eax
jge 0x56474a
mov eax, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x8c], ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edi
test ecx, ecx
jle 0x564793
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, edi
mov dword [esp + 0x88], eax
lea eax, [esp + 0x80]
lea edi, [esp + 0x2c]
call fcn.00409580
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x20]
test edx, edx
je 0x5647c1
mov eax, dword [esi - 4]
mov edi, dword [esi + 4]
mov ecx, dword [esi - 8]
push 0xc
sub edi, eax
push edi
mov edi, dword [esi]
sub edi, ecx
push edi
push eax
mov eax, dword [esp + 0x28]
push ecx
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov byte [esp + 0xb0], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5647e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x24]
add esi, 0x24
lea ecx, [esi - 0x10]
cmp ecx, dword [edx + 0x5c]
jne 0x5643a0
mov edi, dword [esp + 0x30]
mov ebx, edx
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x56484a
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov eax, dword [ebx]
push 1
lea edx, [esp + 0x54]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x20]
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
add esi, 0x10
cmp esi, edi
jne 0x564815
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebx + 0x5c]
je 0x56485f
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x564870
push eax
call fcn.0040c6ec
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004ff57c
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004010a0
push 0x80070057
call fcn.004010a0
int3