Function at 0x4394e3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x57d074]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x40], 0
je 0x439722
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 + 0x24], 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 + 0x1c], 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]
mov edi, dword [esp + 0x10]
setne cl
mov dword [esp + 0x24], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x44]
mov eax, dword [ebx + 0x7c]
cmovne ecx, esi
mov esi, dword [ebx + 0x78]
add esi, ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
sub ecx, edi
cmp eax, ecx
jle 0x4395ae
mov dword [ebx + 0x7c], ecx
mov eax, ecx
test eax, eax
jns 0x4395b8
and dword [ebx + 0x7c], 0
xor eax, eax
and dword [esp + 0x40], 0
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], edi
mov dword [esp + 0x54], esi
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 edi, esi
jge 0x439614
push 2
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov dword [esp + 0xc], eax
add edi, eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
cmp ecx, esi
jge 0x439638
mov ecx, dword [ebx + 0x74]
mov eax, dword [esp + 0x34]
add ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x2c]
cmp eax, ecx
jl 0x439638
xor eax, eax
inc eax
jmp 0x43963a
xor eax, eax
mov dword [esp + 0x10], eax
neg eax
push 5
pop esi
sbb eax, eax
and eax, esi
push eax
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [ebx + 0xc4], al
cmove eax, esi
push eax
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0xc]
mov eax, edi
sub eax, dword [esp + 0x18]
neg ecx
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [ebx + 0x74]
mov dword [esp + 0x14], ecx
push eax
push 0
push ecx
push dword [ebx + 0x68]
call esi
mov ecx, dword [esp + 0x1c]
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 + 0x20]
xor eax, eax
cmp dword [esp + 0x10], eax
push 1
cmovne eax, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, dword [ebx + 0x74]
push ecx
push edi
push dword [ebx + 0x74]
push eax
push dword [ebx + 0x40]
call esi
mov eax, dword [esp + 0x30]
xor edi, edi
sub eax, dword [esp + 0x18]
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
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 + 0x24], edi
je 0x439706
cmp byte [ebx + 0xc4], 0
jne 0x439706
push 5
pop eax
jmp 0x439708
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.004da696
mov esp, ebp
pop ebp
ret