Function at 0x436dab
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x570074]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x40], 0
je 0x436fef
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push 3
mov dword [esp + 0x28], eax
call esi
push 2
mov dword [esp + 0x18], eax
call esi
push 7
mov esi, eax
lea edi, [esp + 0x3c]
pop ecx
xor eax, eax
mov dword [esp + 0x18], esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x1c
push eax
push 1
push dword [ebx + 0x40]
mov dword [esp + 0x48], 0x17
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [esp + 0x40]
xor ecx, ecx
cmp eax, dword [esp + 0x44]
setne cl
xor edi, edi
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
cmovne edi, esi
mov esi, dword [esp + 0x10]
add edi, dword [ebx + 0x78]
mov eax, edi
sub eax, esi
cmp dword [ebx + 0x7c], eax
jle 0x436e6c
mov dword [ebx + 0x7c], eax
xor eax, eax
cmp dword [ebx + 0x7c], eax
jge 0x436e76
mov dword [ebx + 0x7c], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x7c]
push 1
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
push eax
push 2
push dword [ebx + 0x64]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
call dword [sym.imp.USER32.dll_SetScrollInfo]
lea eax, [esp + 0x54]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x40]
movups xmmword [esp + 0x5c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
mov dword [esp + 0xc], eax
cmp esi, edi
jge 0x436ed8
push 2
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_GetScrollPos]
add esi, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
cmp ecx, edi
jge 0x436efc
mov ecx, dword [ebx + 0x74]
mov eax, dword [esp + 0x34]
add ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x2c]
cmp eax, ecx
jl 0x436efc
xor eax, eax
inc eax
jmp 0x436efe
xor eax, eax
mov dword [esp + 0x1c], eax
neg eax
push 5
pop edi
sbb eax, eax
and eax, edi
push eax
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [ebx + 0xc4], al
cmove eax, edi
push eax
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0xc]
xor edi, edi
cmp dword [esp + 0x20], edi
push 1
push dword [ebx + 0x74]
cmovne edi, dword [esp + 0x20]
neg ecx
sub esi, edi
mov dword [esp + 0x14], ecx
push esi
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
push 0
push ecx
push dword [ebx + 0x68]
call esi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push 1
push dword [ebx + 0x74]
sub eax, ecx
push ecx
push 0
push eax
push dword [ebx + 0x6c]
call esi
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp dword [esp + 0x1c], eax
push 1
cmovne eax, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, dword [ebx + 0x74]
push ecx
push eax
push dword [ebx + 0x74]
mov eax, dword [esp + 0x1c]
push eax
push dword [ebx + 0x40]
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
sub eax, edi
sub eax, dword [esp + 0x28]
xor edi, edi
push 1
push ecx
push eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
sub eax, ecx
push eax
push edi
push dword [ebx + 0x64]
call esi
cmp dword [esp + 0x20], edi
je 0x436fd3
cmp byte [ebx + 0xc4], 0
jne 0x436fd3
push 5
pop eax
jmp 0x436fd5
mov eax, edi
push eax
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x105
push edi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d0217
mov esp, ebp
pop ebp
ret