Function at 0x4c5368
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff40
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov esi, eax
mov byte [0x65d708], 1
mov eax, esi
mov edx, dword [0x440c58]
call fcn.004046f4
test al, al
je 0x4c53b3
push 0
push 0x40000
mov eax, dword [0x6604e8]
mov eax, dword [eax]
push eax
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4c53b5
xor ebx, ebx
test ebx, ebx
je 0x4c53d1
cmp dword [ebx + 0x268], 0
je 0x4c53d1
call fcn.0051ac84
test al, al
je 0x4c53d1
mov byte [ebp - 0x71], 1
jmp 0x4c53d5
mov byte [ebp - 0x71], 0
call fcn.0051ac84
test al, al
je 0x4c5cda
mov eax, esi
mov edx, dword [0x440c58]
call fcn.004046f4
test al, al
je 0x4c5cda
cmp dword [ebx + 0x268], 0
je 0x4c543a
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x4c541a
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebx + 0xcc], eax
jmp 0x4c543a
xor edx, edx
xor eax, eax
call fcn.00524110
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.004e2bbc
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
pop edx
call fcn.00524110
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00436458
call fcn.00431904
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004c2cb4
cmp dword [ebp - 0x1c], 0
je 0x4c5fb7
cmp dword [ebx + 0x268], 0
jne 0x4c54c5
push 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00407d30
lea edx, [ebp - 0xc0]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.0051417c
mov eax, dword [ebp - 0x1c]
call fcn.00436458
call fcn.00431d0c
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x78], 0x11b
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x88]
xor edx, edx
xor eax, eax
call fcn.00407d4c
cmp dword [ebp - 0x10], 0
jle 0x4c5519
mov byte [ebp - 0x52], 0
jmp 0x4c5520
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0
mov byte [ebp - 0x51], 1
mov eax, dword [ebx + 0x268]
test eax, eax
je 0x4c5a3b
cmp dword [eax + 0x18], 0
jne 0x4c5545
call fcn.004efda8
mov eax, dword [ebx + 0x268]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x3c], ecx
cmp dword [eax + 0x30], 0
je 0x4c5580
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x30]
push eax
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x268]
call fcn.004efda8
cmp byte [ebx + 0x208], 0
je 0x4c55be
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.004e8380
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x6c], eax
jmp 0x4c56bf
mov eax, dword [ebx + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4c5673
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc4]
movzx edi, word [eax + 0x2e]
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc4]
cmp di, word [eax + 0x2c]
je 0x4c5673
mov eax, dword [ebx + 0x24c]
call fcn.00465948
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004d4dac
push eax
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.004e8380
mov edi, dword [ebp - 0xbc]
mov eax, dword [ebx + 0x268]
call fcn.004d4e90
add edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004d4e14
sub edi, eax
pop eax
sub edi, eax
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc4]
movsx eax, word [eax + 0x2c]
add edi, eax
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc4]
movsx eax, word [eax + 0x2e]
sub edi, eax
mov dword [ebp - 0x6c], edi
jmp 0x4c56bf
mov eax, dword [ebx + 0x24c]
call fcn.00465948
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004d4dac
push eax
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.004e8380
mov edi, dword [ebp - 0xbc]
mov eax, dword [ebx + 0x268]
call fcn.004d4e90
add edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004d4e14
sub edi, eax
pop eax
sub edi, eax
mov dword [ebp - 0x6c], edi
mov eax, dword [ebx + 0x24c]
call fcn.00465948
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004d4dac
push eax
mov eax, dword [ebx + 0x268]
call fcn.004d4eb0
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.004e8380
add edi, dword [ebp - 0xc0]
mov dword [ebp - 0x70], edi
lea eax, [ebp - 0xb0]
push eax
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0xb0]
sub edx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4dc
mov edx, dword [ebp - 0xac]
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a518
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x80]
call fcn.0045cf04
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x7c]
call fcn.0045cf38
push 3
mov eax, dword [ebx + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x70]
push eax
push edi
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x64], eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00436458
call fcn.00431e40
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
mov eax, dword [0x6600e0]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
call fcn.00524110
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00407d30
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00436458
call fcn.00431e40
xor ecx, ecx
pop edx
call fcn.0051ebf8
cmp dword [ebp - 0x10], 0
jle 0x4c595f
push ebp
call fcn.004c4fc4
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4c5958
push ebp
call fcn.004c5118
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00436458
call fcn.00431e40
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
mov eax, dword [0x6600e0]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x8c]
call fcn.00465948
mov dword [ebp - 0x9c], eax
movzx eax, byte [ebp - 0x52]
mov edx, dword [ebp - 0xc]
sub edx, eax
lea eax, [edx + edx*2]
test eax, eax
jge 0x4c58eb
xor eax, eax
mov dword [ebp - 0x94], eax
jmp 0x4c58fd
movzx eax, byte [ebp - 0x52]
mov edx, dword [ebp - 0xc]
sub edx, eax
lea eax, [edx + edx*2]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xff
jle 0x4c5915
mov dword [ebp - 0x98], 0xff
jmp 0x4c5921
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
push 0
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x9c]
call fcn.004d3ce0
push ebp
call fcn.004c530c
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x4c594f
push 0xc
call sub.kernel32.dll_Sleep_1
cmp edi, dword [ebp - 0x10]
jle 0x4c5877
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x64]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x65d708], 0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x328], 0
je 0x4c5989
movzx edx, byte [ebp - 0xc]
call fcn.0044a448
push 0
push 1
push 0xb
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004efc40
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x78]
or eax, 4
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x70]
push eax
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004eebf0
lea eax, [ebp - 0x90]
call fcn.00411188
lea eax, [ebp - 0x8c]
call fcn.00411188
jmp 0x4c5cc5
lea eax, [ebp - 0xb0]
push eax
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x440fd4]
call fcn.00443fa0
mov edi, eax
mov dword [0x65d704], edi
mov dword [edi + 0xc], 0xffffff9e
xor edx, edx
mov eax, edi
call fcn.00445fdc
mov edx, dword [esi + 0x40]
mov eax, dword [0x65d704]
call fcn.0045ce9c
mov edx, dword [esi + 0x44]
mov eax, dword [0x65d704]
call fcn.0045ced0
mov edx, dword [esi + 0x48]
mov eax, dword [0x65d704]
call fcn.0045cf04
mov edx, dword [esi + 0x4c]
mov eax, dword [0x65d704]
call fcn.0045cf38
push 0xffffffffffffffec
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4c5ad1
mov dl, 3
mov eax, dword [0x65d704]
call fcn.004463fc
or edi, 0xffffffff
jmp 0x4c5ae6
push 3
mov eax, dword [ebx + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x78]
and eax, 0xfffffffd
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [0x65d704]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [0x65d704]
mov eax, dword [eax + 0x40]
push eax
push edi
mov eax, dword [0x65d704]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x64], eax
push 0xffffffffffffffec
mov eax, dword [0x65d704]
call fcn.00465948
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x65d704]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00436458
call fcn.00431e40
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x65d704]
call fcn.00465948
push eax
mov eax, dword [0x6600e0]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [0x65d704]
call fcn.00465948
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
call fcn.00524110
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00407d30
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00436458
call fcn.00431e40
xor ecx, ecx
pop edx
call fcn.0051ebf8
cmp dword [ebp - 0x10], 0
jle 0x4c5c68
push ebp
call fcn.004c4fc4
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4c5c61
push ebp
call fcn.004c5118
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00436458
call fcn.00431e40
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x65d704]
call fcn.00465948
push eax
mov eax, dword [0x6600e0]
mov eax, dword [eax]
call eax
push ebp
call fcn.004c530c
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x4c5c5c
push 0xc
call sub.kernel32.dll_Sleep_1
cmp edi, dword [ebp - 0x10]
jle 0x4c5c02
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x64]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x65d708], 0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x328], 0
je 0x4c5c92
movzx edx, byte [ebp - 0xc]
call fcn.0044a448
push 0
push 1
push 0xb
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x65d704
call fcn.00411188
lea eax, [ebp - 0x58]
call fcn.00411188
lea eax, [ebp - 0x1c]
call fcn.00411188
jmp 0x4c5fb7
cmp dword [0x65d704], 0
jne 0x4c5cea
mov eax, esi
call fcn.004c4eac
cmp dword [0x65d704], 0
je 0x4c5fb7
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.00524110
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00436458
call fcn.00431904
mov eax, dword [ebp - 0x1c]
call fcn.00436458
call fcn.00431e40
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x60], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004c2cb4
cmp dword [ebp - 0x1c], 0
je 0x4c5fb7
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00436458
call fcn.00431e40
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x1c]
call fcn.00436458
call fcn.00431d0c
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.00524110
mov dword [ebp - 0x5c], eax
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x71], 0
jne 0x4c5dc1
test ebx, ebx
je 0x4c5dc1
mov edi, ebx
mov eax, edi
call fcn.004d588c
cmp dword [0x65d704], 0
je 0x4c5fb7
push 0
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004d5cd4
push eax
mov eax, dword [0x65d704]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [0x65d704]
call fcn.00465948
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x10], 0
jle 0x4c5e9d
mov eax, 0xff
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
mov ebx, 0xff
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4c5e9d
test ebx, ebx
jge 0x4c5e08
xor eax, eax
mov dword [ebp - 0xa0], eax
jmp 0x4c5e0e
mov dword [ebp - 0xa0], ebx
push 0
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x65d718
lea eax, [ebp - 0x5c]
call fcn.00523e88
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x660564]
cmp dword [eax], 0
je 0x4c5e7e
push 0
push 0x30000
mov eax, dword [0x6604e8]
mov eax, dword [eax]
push eax
mov eax, dword [0x660564]
mov eax, dword [eax]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
inc edi
sub ebx, dword [ebp - 0x68]
cmp edi, dword [ebp - 0x10]
jg 0x4c5e9d
cmp dword [ebp - 0x10], 0
jle 0x4c5e94
push 0xc
call sub.kernel32.dll_Sleep_1
cmp edi, dword [ebp - 0x10]
jle 0x4c5dfa
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x660564]
cmp dword [eax], 0
je 0x4c5ef4
push 0
push 0x30000
mov eax, dword [0x6604e8]
mov eax, dword [eax]
push eax
mov eax, dword [0x660564]
mov eax, dword [eax]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov byte [0x65d708], 0
cmp byte [esi + 0x57], 0
je 0x4c5f7f
push 0
push 1
push 0xb
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x6602c0]
cmp dword [eax], 6
jl 0x4c5f34
push 0x585
push 0
push 0
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x440c58]
call fcn.004046f4
test al, al
je 0x4c5f60
push 0xffffffffffffffec
mov eax, esi
call fcn.00465948
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4c5f7f
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x65d704]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x65d704]
call fcn.00465948
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x65d704
call fcn.00411188
lea eax, [ebp - 0x5c]
call fcn.00411188
mov eax, 0x65d718
call fcn.00411188
lea eax, [ebp - 0x1c]
call fcn.00411188
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4